by e-dt · 5y ago · 0 comments
This library provides (misleadingly) a function claiming to create a list of syllables from a word, which does not actually do that and instead splits the word up by all possible hyphenation points - and not every syllable break gets or indeed should get a hyphenation point. (For example, you do not want to break up prefixes or suffixes during hyphenation.)
[0] https://github.com/turtlesoupy/this-word-does-not-exist/blob...
[1] https://github.com/dr-leo/PyHyphen/blob/master/src/hyphen/hy...
This is a really interesting explanation of something that I kind of understand, but want to have a deeper understanding of. Any good references you can think of offhand?