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

PERSON incorrect #5

Closed lopezjuanma96 closed 2 years ago

lopezjuanma96 commented 2 years ago

{ "words": ["mama", "papá", "bailar", "cantar"], "types": ["SUBJ", "SUBJ", "VERB", "VERB"], "language": "es", "props": { "0": { "gender": "ella" } } }

generated

{

"sentence": [ { "words": [ "mama", "y", "papá" ], "types": [ "SUBJ", "CON", "SUBJ" ], "composed": true, "type": "SUBJ", "children": [], "meta": { "PERSON": "ellas" }, "props": { "0": { "gender": "ella" } }, "position": 0, "headless": false }, { "words": [ "bailar", "y", "cantar" ], "types": [ "VERB", "CON", "VERB" ], "composed": true, "type": "VERB", "children": [ { "position": 0, "type": "SUBJ" } ], "meta": { "PERSON": "ellas", "TIME": "presente" }, "props": {}, "position": 1, "headless": true } ] }

why is PERSON "ellas"?