Kozea / Pyphen

Hy-phen-ation made easy
https://courtbouillon.org/pyphen
Other
198 stars 24 forks source link

Why the English word 'Howdy' is not hyphenated? #27

Closed santho3110 closed 1 year ago

santho3110 commented 4 years ago

It would be helpful if some one explains how this works.

hyphenated_word = hyphen_dict.inserted("howdy") print(hyphenated_word)

howdy

liZe commented 4 years ago

Hello!

It would be helpful if some one explains how this works.

I’m not sure to understand your question.

If you want to understand how hyphenation works in English, I’m not sure that I can help you. The Syllabification article on Wikipedia gives interesting pointers to understand how it works (spoiler: you have to use a dictionary).

If you’re expecting this word to be hyphenated, then the problem is in the dictionary, not in Pyphen. An online hunspell-based tool also gives no hyphenation. You can try to report a bug in LibreOffice/dictionaries, that’s where Pyphen dictionaries come from.