Handing different forms of word in rasa


I have created a chatbot using rasa and using the pipeline as given for restaurant demo bot. However, i have seen that rasa is unable to handle different forms of the same word like rate or rates, prices or price.

also I noticed it is unable to handle synonyms like rates or price or charges unless we define them explicitly in NLU file. Is there any way or different pipeline to handle synonyms in entities without specifying them in nlu files.

1 Like

Check this tutorial:

Thanks Gheova, for solution, it worked.

i have one other issue… of synonym. The pipeline is currently using name: “EntitySynonymMapper”

However, I think, using this i have to explicitly specify synonyms in my nlu.md file. Is there any automatic way so that i need not specify synonyms and it will automatically learn the synonyms?

1 Like