# Handing different forms of word in rasa

**URL:** <https://forum.rasa.com/t/handing-different-forms-of-word-in-rasa/14589>\
**Category:** Rasa Open Source\
**Created:** [August 21, 2019, 5:10am UTC](https://forum.rasa.com/t/handing-different-forms-of-word-in-rasa/14589 "2019-08-21T05:10:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akanksha](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@akanksha](https://forum.rasa.com/u/akanksha)\
**Post date:** [August 21, 2019, 5:10am UTC](https://forum.rasa.com/t/handing-different-forms-of-word-in-rasa/14589/1 "2019-08-21T05:10:56Z")

</div>

Hi,

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.

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [August 21, 2019, 6:59pm UTC](https://forum.rasa.com/t/handing-different-forms-of-word-in-rasa/14589/2 "2019-08-21T18:59:22Z")

</div>

Check this tutorial:

> **[Building Rasa NLU custom component for lemmatization with spaCy](https://medium.com/@tatiana.parshina/building-rasa-nlu-custom-component-for-lemmatization-with-spacy-e2e6a9562c34)**
>
> In this post, we will implement a Rasa NLU custom component with lemmatization using the spaCy library for Natural Language Processing…

---

<div class="post-metadata">

**Author:** ![akanksha](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@akanksha](https://forum.rasa.com/u/akanksha)\
**Post date:** [August 22, 2019, 5:46am UTC](https://forum.rasa.com/t/handing-different-forms-of-word-in-rasa/14589/3 "2019-08-22T05:46:19Z")

</div>

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?
