wit-ai / wit

Natural Language Interface for apps and devices
https://wit.ai/
931 stars 91 forks source link

Bug - Wit number entity doesn't recognize "zero" as a number? #2708

Open callenshaw opened 6 months ago

callenshaw commented 6 months ago

Do you want to request a feature, report a bug, or ask a question about wit? Bug

What is the current behavior? I cannot get any intent to properly recognize "zero" as a number entity

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. I've created a "VolumeIntent" which expects utterances like "volume fifty percent" and even "volume 100". I've manually added "volume 0 percent", "volume 0", "volume zero", etc. and tagged the number as a wit:number entity.

However when using it, the transcription for "volume zero" is always misinterpreted as "volume oh". If I say "volume zzzero percent" it still just gives "volume oh%" as my text, and doesn't give me the entity "0" that I'm looking for. No other numbers seem to exhibit this behavior, but I did notice that saying "volume one zero zero" does give me text of "volume 100" and a 100 number entity, but saying "volume one zero" only gives me a "1" number entity - and text of "volume 1 oh".

What is the expected behavior? It should understand the word "zero" as a number entity with value of 0

If applicable, what is the App ID where you are experiencing this issue? If you do not provide this, we cannot help. 477974037518448