<commit_before>#!/bin/sh
./unmunch en-GB.dic en-GB.aff > en_GB.txt
java -cp languagetool.jar org.languagetool.tools.SpellDictionaryBuilder -i en_GB.txt  -info en_GB.info -freq en_gb_wordlist.xml  -o en_GB_spell.dict<commit_msg>[en] update script for build en-GB spellchecker dictionary<commit_after>#!/bin/sh
./unmunch en-GB.dic en-GB.aff  >  en_GB1.txt
cat en_GB1.txt | java -cp languagetool.jar:languagetool-dev-3.5-SNAPSHOT.jar org.languagetool.dev.WordTokenizer en | sort -u > en_GB.txt
java -cp languagetool.jar org.languagetool.tools.SpellDictionaryBuilder -i en_GB.txt -info en_GB.info -freq en_gb_wordlist.xml  -o en_GB_spell.dict
{'fraction_non_alphanumeric': 0.11912225705329153, 'fraction_numerical': 0.006269592476489028, 'mean_word_length': 4.415254237288136, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2567855', 'n_tokens_mistral': 268, 'n_tokens_neox': 269, 'n_words': 50}