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 80 forks source link

lowercase vs uppercase hyphenation word list #71

Closed SvenJuergens closed 1 year ago

SvenJuergens commented 1 year ago

solve https://github.com/vanderlee/phpSyllable/issues/70

alexander-nitsche commented 1 year ago

This patch would always return words in lowercase, even for incoming words in uppercase. It also lacks a test. I would close it in favor of https://github.com/alexander-nitsche/vanderlee.phpSyllable/pull/45, which basically takes your idea.