RosaeNLG / rosaenlg

RosaeNLG is a Natural Language Generation library for node.js and browser rendering, based on the Pug template engine.
https://rosaenlg.org
Apache License 2.0
91 stars 21 forks source link

[BUG] french adjective possessive doesn't adapt to next word #180

Closed blegaut closed 1 year ago

blegaut commented 1 year ago

Describe the bug Rosae generates ma intuition instead of mon intuition

To Reproduce | #[+value('intuition', {det:'POSSESSIVE', personOwner: 1})]

Expected behavior Even if intuition is FEMININE, the text should be 'mon' for euphonic reason.

Code | #[+value('intuition', {det:'POSSESSIVE', personOwner: 1})]

Context:

Additional context I'll do a PR soon

ludans commented 1 year ago

Thanks @blegaut for spotting and correcting the bug and adding new cases Will be shipped in > 4.0.0