I am working on a chatbot. My goal is to make our bot to be case insensitive. I am using rasa 2.8.1 version. The entities extracted are case sensitive. I also added case_sensitive: False to WhitespaceTokenizer. And later experiment with adding case_sensitive: False to RegexFeaturizer also. But it seems to be not working in case of entity extraction.
For example , I type the word “android” and our entity extractor identifies it properly as download_platform:android. {“entity”: “download_platform”, “value”: “android”}
But When I type “Android” or “anDroiD”, the entity extractor recognize the word as
download_platform: Android and download_platform: anDroiD respectively.
Is there any way to make the entity extraction case insensitive?
Thank you so much for the reply.
adding synonyms will be fine for making the first letter capital.
- synonym: android
examples: |
- Android
But, if a user type capital letters in the middle with correct spelling adding all the possible ways is difficult. We are doing this for a banking domain and it has so many products in each section. I will check up with clean-up the user response in a form field validate method which I haven’t experimented.