Currently the Syllabification enactor makes use of the Hypher library to separate words into their syllables. Hypher makes use of language pattern files to do that splitting of the words based on language and locale. We've forked the repo with these patterns so that we can pull them in from NPM ( https://github.com/fluid-project/hyphenation-patterns ). We should explore creating our own set of pattern files in the Hypher format based on the pattern files from CTAN. ( https://ctan.org/pkg/hyph-utf8 https://github.com/hyphenation/tex-hyphen/tree/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex ). This would provide us with the following:
- more supported langauges
- updated patterns
- more open license
- "." replaced by "_"
- things in \patterns are transformed into a patterns object that is keyed by length with the value all of the patterns of that length concatenated into a single string
- things in \hyphenation being placed in a comma separated string in the exceptions property.
- replacing "-" with "\u2027"
- adding the other structures for adding the pattern to the Hypher namespace.