eleow / shopBot

AudioPhil, the shopbot for headphones 🎧
MIT License
2 stars 0 forks source link

Chatbot should be robust in handling of typos #8

Closed eleow closed 4 years ago

eleow commented 4 years ago

Typos in questions from the user will limit the ability of the chatbot to respond with answers that are actually helpful.

One possible way we can tackle this is to do the following for each user input

(see article for more details)

Of course, the common alternative is to simply have a list of synonyms (also containing misspelled words) for each word that we think is important to us. This feature is supported by both DialogFlow and rasa out-of-the-box, but will not scale up.

Shashankwer commented 4 years ago

Just a thought. Instead of searching through all the dictionary items which might span across the different domain we can limit to words in our domain search. Also issues with incorrect words will mostly arise in intent classification/detection so based on those keywords search can be limited

eleow commented 4 years ago

Used synonyms generated by @Shashankwer , the system was more robust to typos. Details in the Project Report