Arreglado error plural acabado en n

parent 5f565c1e
Pipeline #2084 passed with stage
in 1 minute and 32 seconds
......@@ -1716,8 +1716,10 @@ public class MorphologyRules extends simplenlg.morphology.MorphologyRules {
if (NumberAgreement.PLURAL.equals(number)) {
if(lastChar.equals('l')) {
morphology = baseForm.substring(0, baseForm.length() - 1) + "is";
} else if (lastChar.equals('n')) {
morphology = baseForm + "s";
} else {
morphology = morphology + "es";
morphology = baseForm + "es";
}
} else {
if(lastChar.equals('l')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment