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

force PERSON mode #3

Closed lopezjuanma96 closed 1 year ago

lopezjuanma96 commented 1 year ago

because our users won't use words perfectly, we will add a query parameter to force the PERSON of the verb to a certain conjugation and every other subject would be direct obj

lopezjuanma96 commented 1 year ago

added another check to see if the person is included in the children of the verb, so that then it runs normal processing of the sentence. If not, the sentence "yo" + "abuelo" + "ir a" + "casa" would have been transformed into "yo y abuelo voy a casa"