<commit_before># Latin hyphenation tests

This directory gathers some interesting tests for an hyphenation algorithm.

## Word lists

The file [listwords.txt](listwords.txt) is a list of words come from multiple sources listing difficult hyphenations.

The files `proofreading-x-y.txt` are lists of hyphenated words reviewed by <NAME>, Solesmes Abbey and Flavigny Abbey.

The file [orberg.txt](orberg.txt) contains a list of etymological hyphenation points given in Hans Ørberg's method. It does not mark all hyphenation points though.

## Automatic testing

The script `test.py` can automatically test the patterns in the `patterns` folder against the list of words in this folder. It uses [pyphen](http://pyphen.org/) to do so. Note that `pyphen` requires the patterns in the `libhyphen` format, so you must build them before running the tests.<commit_msg>Update readme for accented words<commit_after># Latin hyphenation tests

This directory gathers some interesting tests for an hyphenation algorithm.

## Word lists

The file [listwords.txt](listwords.txt) is a list of words come from multiple sources listing difficult hyphenations.

The files `proofreading-x-y.txt` are lists of hyphenated words reviewed by <NAME>, Solesmes Abbey and Flavigny Abbey. According to current usage in Catholic Church books, only words of more than two syllables carry the accent in the dedicated files.

The file [orberg.txt](orberg.txt) contains a list of etymological hyphenation points given in Hans Ørberg's method. It does not mark all hyphenation points though.

## Automatic testing

The script `test.py` can automatically test the patterns in the `patterns` folder against the list of words in this folder. It uses [pyphen](http://pyphen.org/) to do so. Note that `pyphen` requires the patterns in the `libhyphen` format, so you must build them before running the tests.
{'fraction_non_alphanumeric': 0.06106052490626674, 'fraction_numerical': 0.0, 'mean_word_length': 4.8742138364779874, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4844444', 'n_tokens_mistral': 508, 'n_tokens_neox': 492, 'n_words': 259}