# Compressor for

Compressor converts standard TeX hyphenation patterns to a special format used by hyphenator.js and adds some meta-information automatically. Just fill in the language, leftmin, rightmin and the patterns (overwrite the examples!) and click 'Convert!'.

Copy the output and paste it in the appropriate pattern file ('patterns/lang.js').
The script loads the version of Hyphenator.js that resides in the same directory as this page.

Paste TeX-styled patterns:

hy3ph he2n hena4 hen5at 1na n2at 1tio 2io o2n
Copy Hyphenator.js pattern files:

Copy the output and paste it in the appropriate pattern file ('patterns/<lang>.js').