-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
It would be amazing if this could support dictionaries with variable penalties for hyphenation, like in Hunspell-like dictionaries.
For example, hyph_pl_PL.dic might include entries like:
.nie8ch9że.
where . I believe mean word boundaries (as there might be more generic rulesand digits mean the penalties, thusniechżewith the minimum value of 8 might be hyphenated asnie-ch-żeand 9 asniech-że` only.
One could also implement a weighted approach, with the library trying to find the lowest penalty hyphenation along with the best alignment of the text.
Metadata
Metadata
Assignees
Labels
No labels