OTTAA-Project / Realiser

Repository for OTTAA's realiser algorithm, previously known as NLG, used for the OTTAA Labs option on the app.
GNU General Public License v3.0
0 stars 0 forks source link

[Bug]: Force PERSON/GENDER does not affect ADJ #20

Open lopezjuanma96 opened 1 year ago

lopezjuanma96 commented 1 year ago

Contact Details

No response

What happened?

A bug happened!

Writing "mamá abuelo estar aburrido" with force PERSON realises to "yo" generates "mamá y abuelo estoy aburridos", since ADJ is not forced to ADJ, only VERBS, same with "mamá estar aburrido" realises to "mamá estoy aburrida" even if gender is "él".

Version

6.7.x (Production)

Where are you seeing the problem on?

No response

Relevant log output

No response

Code of Conduct

lopezjuanma96 commented 1 year ago

implemented a quickfix, now if there is a forced PERSON or GENDER, ADJ will also be forced unless their parent SUBJ or NOUN is contiguous to it, in which case it will follow that parent