Problem with getNumberOfSyllables
LokiMidgard opened this issue · 0 comments
LokiMidgard commented
Following code seems to be wrong:
As soon as an german word contains an ck
it will always count as two syllables. for example au-gen-blick-lich-er
will be counted as 2 while I think it should be 5.
Previously this rule was only used when CompoundParts was smaller then 2 but the if/else was commented out and now everytime ck
is part of an word it returns 2.