I’m trying to use rasa nlu along with OpenWeatherMap to create a weather bot. Thus, I’d need rasa to return location entities. I’m using SpacyEntityExtractor with the trf model as DietClassifier is having trouble correctly identifying locations, and I don’t have the time to enter every city in every country into a dictionary.
The issue I’m facing is similar to this: The extractor recognizes and properly extracts “China” in “what is the weather in China”, but not “china” in “what is the weather in china”
I know that Spacy extracts entities based on contextual clues, such as capitalization, but it is probably annoying for users to use proper punctuation in online messaging. Does anyone have a solution or a workaround?
Edit: It’s worth mentioning that I’ve tried using the truecaser package as well, but it couldn’t recognize lesser known cities.