Open tapeinosyne opened 8 years ago
You probably already realize this, but just in case: fixing issue #1 will require an API change. A hyphenation opportunity needs to come with information on how the word changes (e.g. zucker -> zukker) due to hyphenation. Alternatively, perhaps each opportunity should be described as a pair of string slices containing the part before and after hyphenation point (e.g. ("zuk", "ker")).
Tentatively: