ProjectAliceSkills
ProjectAliceSkills copied to clipboard
grammar mistakes in answers
in the skill Alice Satellite there is for example the training example ```what is the temperature {outside:=>Room}`` the answer is: "It is currently {1} degrees in the {0}", This has two problems:
- when the room is for example outside, the answer sentence should be it is currently 5 degrees outside and not is is currently 5 degrees in the outside
- when the temperature is a singular (1 degree or -1 degree) the answer should include degree instead of degrees
The same issue probably appears in other places aswell. So there should be another option to the current random.talk function to set language specific behavior and pluralise functions to get the grammar stuff right.
Might make sence to use: https://docs.python.org/3/library/gettext.html, since it is highly different between languages when the singular and when the plural is used
Be carefull with alice satellite. Many things, like the temperature, are gone. Telemetry module is due to overtake it all
ok
This can be handled using https://github.com/project-alice-assistant/ProjectAlice/pull/133 in the future