padatious icon indicating copy to clipboard operation
padatious copied to clipboard

Entity matching more than it should

Open penrods opened this issue 7 years ago • 2 comments

For an intent file like this: (Start|Set) (a|) 5 minute timer (called|for) {name}. The phrase: "start a 5 minute timer called lasagna" Return the entity "name" as "called lasagna".

However it does correctly parse: "set a 5 minute timer called lasagna" Returning the entity "name" as "lasagna".

penrods avatar Feb 20 '18 05:02 penrods

Can you check if this is still an issue? It should be fixed since perfect matches are now guaranteed.

MatthewScholefield avatar Aug 13 '18 21:08 MatthewScholefield

Having problems that look like this in https://github.com/traverseda/mycroft-skill-unitconversion

Are you saying there should be guaranteed perfect matches on entities?

I've also had it fail to return values that weren't optional. For example, how many miles is 4 shouldn't work, if I understand the intent parsing correctly.

I think what is 4 plus 4 definitely shouldn't work.

traverseda avatar Jul 12 '19 21:07 traverseda