# Best and Easiest NER model for building a emotion recognition chatbot

**URL:** <https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578>\
**Category:** Rasa Open Source\
**Created:** [July 9, 2021, 8:12pm UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578 "2021-07-09T20:12:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharvil77](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sharvil77/32/15043_2.png) [@Sharvil77](https://forum.rasa.com/u/Sharvil77)\
**Post date:** [July 9, 2021, 8:12pm UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578/1 "2021-07-09T20:12:49Z")

</div>

We’re trying to build a chatbot for mental health. Planning to train the bot to understand the user’s feeling using NER. Which is the easiest way to do this?

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [July 14, 2021, 11:44am UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578/2 "2021-07-14T11:44:37Z")

</div>

When you’re trying to detect “the feeling” … is that more like an intent or more like an entity? It sounds like you’re more interested in detecting a sentiment while the entity is typically used to detect a substring of interest. Things like dates, times, emailadresses, etc.

---

<div class="post-metadata">

**Author:** ![Sharvil77](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sharvil77/32/15043_2.png) [@Sharvil77](https://forum.rasa.com/u/Sharvil77)\
**Post date:** [July 14, 2021, 11:54am UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578/3 "2021-07-14T11:54:30Z")

</div>

Ok understood. We wanted to keep a track of the user’s emotions, as they are using the bot everyday, that’s why I tried using entities. Just wanted to ask, is there any pretrained NER model (like spacy) for that?

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [July 14, 2021, 6:34pm UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578/4 "2021-07-14T18:34:27Z")

</div>

There are pretrained sentiment models out there, but I must stress, these are _not_ entity models. They are more like classifiers, which, Rasa does not natively support. You’d have to write your own custom component for that.

---

<div class="post-metadata">

**Author:** ![Sharvil77](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sharvil77/32/15043_2.png) [@Sharvil77](https://forum.rasa.com/u/Sharvil77)\
**Post date:** [July 14, 2021, 7:49pm UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578/5 "2021-07-14T19:49:03Z")

</div>

Got it. Thanks for helping.

---

<div class="post-metadata">

**Author:** ![schwasa](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/schwasa/32/21237_2.png) [@schwasa](https://forum.rasa.com/u/schwasa)\
**Post date:** [August 13, 2022, 12:50pm UTC](https://forum.rasa.com/t/best-and-easiest-ner-model-for-building-a-emotion-recognition-chatbot/45578/6 "2022-08-13T12:50:33Z")

</div>

Hi. I am having a similar problem and i am looking for a solution. Did you eventually find a way for emoiton recognition with rasa?
