vanderlee / phpSyllable

PHP Syllable splitter/counter and Hyphenator for text and HTML. Multi-language, customisable, cached and fast!
http://vanderlee.github.io/phpSyllable/
117 stars 34 forks source link

Word does not syllablise correctly #43

Closed Antix-Development closed 1 year ago

Antix-Development commented 1 year ago

abortion gets presented as abor-tion when I was expecting a-bor-tion.

vanderlee commented 1 year ago

phpSyllable depends on third party resources to define the patterns used to detect syllables. You can find and contact the maintainers at https://www.tug.org/tex-hyphen/ for any specific patterns that are incorrect/missing/exceptional. As a general rule, though, these patterns were defined with accuracy over completeness in mind and there are plenty of missing syllable breaks, as long as there are no excessive/incorrect breaks.