Kozea / Pyphen

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

Hyphenation error on german word "einen" #26

Open mikebarkmin opened 4 years ago

mikebarkmin commented 4 years ago

"einen" should return "ei-nen". I have also tried to manually add it to the dictionary by inserting a line "ei1nen" after the pattern for "ei1ne" Line 11739 But the pattern is not used.

Here is the test code:

import pyphen
dic = pyphen(filename="my.dic")
dic.inserted("einen")

P.S.: "eine" is correctly inserted and results in "ei-ne".