You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Collection<String> parts = getCompoundParts(content);
// if (parts.size() >= 2) {
// return parts.size();
// }
// else {
if (content.contains("ck")) {
return2;
}
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.
The text was updated successfully, but these errors were encountered:
Following code seems to be wrong:
eagle-aig/OpenNlp-Parser/src/main/java/lu/list/itis/dkd/assess/opennlp/syllibification/GermanSyllabification.java
Lines 263 to 270 in 1fda886
As soon as an german word contains an
ck
it will always count as two syllables. for exampleau-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.The text was updated successfully, but these errors were encountered: