Fix number and gender for reflexive verbs.

parent 41701243
......@@ -219,6 +219,10 @@ class VerbPhraseHelper extends simplenlg.syntax.VerbPhraseHelper {
|| modalPast) {
frontVG = addHave(frontVG, vgComponents, modal, tenseValue);
}
if (frontVG != null) {
frontVG.setFeature(Feature.NUMBER, determineNumber(phrase.getParent(), phrase));
frontVG.setFeature(LexicalFeature.GENDER, determineGender(phrase.getParent(), phrase));
}
frontVG = pushIfModal(actualModal != null, phrase, frontVG, vgComponents);
pushModal(actualModal, phrase, vgComponents);
......
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