Closed koenvervloesem closed 5 years ago
Hi @koenvervloesem ,
This is indeed an issue with the builtin entity parser not capturing the +
, I've created an issue in the corresponding repository.
Thanks for reporting.
@koenvervloesem
This should be fixed in snips-nlu>=0.20.0
What's the issue? While for a
snips/number
slot with value "-100" or "minus 100" therawValue
has the correct value, for "+100" or "plus 100" it hasn't: the +/plus is missing.This happens consistently, as I discovered in my app Pick something random.
Use Cases Impacted In some cases, the + is important for clarity. For instance, when you're talking about temperature ranges, such as "from -40 to +75 degrees".
How to reproduce Install the app Pick something random.
Parse a sentence:
Expected behavior I would expect "rawValue" to be "+100" and "start" 31 for the max slot in this example:
Version and Environment Snips Flow 1.1.2 (0.62.3), Raspbian 9.8, assistant with Pick something random installed.