openhab / org.openhab.ui.habot

A chatbot for openHAB using machine-learning natural language processing from OpenNLP
Eclipse Public License 1.0
65 stars 31 forks source link

Extended training data create-rule (de) #8

Closed stritti closed 6 years ago

stritti commented 6 years ago

Added missing German training data for 'create-rule'

Signed-off-by: Stephan Strittmatter <stephan.strittmatter@gmail.com> (github: stritti)

ghys commented 6 years ago

Thanks @stritti 😁 Now I'll have no excuse to not do the FR ;)

For the record: there are some days and relative times in the training data because I intend to find a way to parse them and pre-populate the form if it succeeds (for instance recognize "in 2 hours" or "in 90 minutes" or "Mondays at 10:00"). See #2 but I won't use that after all, despite working very well in English, it's a lot of bulk and hard to modify for other languages. I'll make a more limited parser with a series of regexes per language instead.