-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spaces ignored in sentence matching #92
Comments
This is manifesting in HA now, despite passing in the tests with the current "pt" sentence: hassil's
HA is using the later. |
Similar issue that I was asked to add here from Discord I am playing with JLo's MA AI automation to enable a random song to be be played given a starting track and also enabling playback to a specified speaker but I have run into a problem where the parser doesn't seem to be following the sentence structure. For a start here is the modified blueprint
When I typed in this: To be clear if I type |
Spaces are being ignored when matching words. For example:
Sentence:
adiciona <item> a [minha ]lista
Test input:
adiciona batatas à minha lista
Current
item
match:batatas à minh
Expected match: nothing (notice that it has an 'à' and not 'a' in the test input)
The following sentence also results in the same match:
adiciona <item> (a|à) [minha ]lista
But this will work as expected:
adiciona <item> (à|a) [minha ]lista
The text was updated successfully, but these errors were encountered: