<commit_before>#!/bin/bash
DIR="`dirname $0`/"
xgettext --files-from="$DIR"POTFILES.in --directory="$DIR".. --output="$DIR"messages.pot
echo "messages.pot generated in $DIR"<commit_msg>now update-messages create a po template file, and fills the en file with it's cintents<commit_after>#!/bin/bash
DIR="`dirname $0`/"
xgettext --files-from="$DIR"POTFILES.in --directory="$DIR".. --output="$DIR"messages.pot
echo "messages.pot generated in $DIR"
rm -rf "$DIR"en/LC_MESSAGES/hangupsbot.po
msgen messages.pot --directory="$DIR" -o en/LC_MESSAGES/hangupsbot.po
echo "and completed the en file"
{'fraction_non_alphanumeric': 0.17826825127334464, 'fraction_numerical': 0.003395585738539898, 'mean_word_length': 5.344086021505376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7615982', 'n_tokens_mistral': 212, 'n_tokens_neox': 199, 'n_words': 51}