Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wit.ai recognizes numbers as location

We are facing the issue that wit.ai recognizes almost every number as a location. Sometimes even as a DateTime, but almost never as a number. We tried to teach it that 1 is a number, 2 is a number, etc., but it doesn't seem to pick that up, see the screenshot below:

enter image description here

Are we doing something wrong?

like image 501
larsbeck Avatar asked Mar 01 '26 06:03

larsbeck


1 Answers

I tried a new bot app and just added one sentence with wit/number entity in the sample database and It works okay for me as you can see:

enter image description here

Maybe your problem is with other samples which make the tagging problem confusing for the algorithm behind wit.ai (probably a CRF or RNN based model). I suggest you to add many more samples with wit/number entity in them and check if it works.

like image 67
Iman Mirzadeh Avatar answered Mar 04 '26 03:03

Iman Mirzadeh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!