# Entity extraction from text

**URL:** <https://forum.rasa.com/t/entity-extraction-from-text/21877>\
**Category:** Rasa Open Source\
**Created:** [November 29, 2019, 10:41am UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877 "2019-11-29T10:41:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harithak](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Harithak](https://forum.rasa.com/u/Harithak)\
**Post date:** [November 29, 2019, 10:41am UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877/1 "2019-11-29T10:41:04Z")

</div>

I want to know the maximum number of entity values that can be extracted from the Text using Rasa NLU model

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [November 29, 2019, 5:53pm UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877/2 "2019-11-29T17:53:40Z")

</div>

Welcome to the forum! There’s no actual maximum on the number of entities or the values an entity can have. There are multiple entity extractors that have been integrated with Rasa. Each have their own characteristics depending on your use case. You can read about them [here](https://rasa.com/docs/rasa/nlu/entity-extraction/).

---

<div class="post-metadata">

**Author:** ![Harithak](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Harithak](https://forum.rasa.com/u/Harithak)\
**Post date:** [December 3, 2019, 3:21am UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877/3 "2019-12-03T03:21:55Z")

</div>

Thank you Greg Stephens. But I am getting only four values from the text .I have used CRF Entity Extractor . My OS is Ubuntu 18.04. I have used Rasa with Docker.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [December 3, 2019, 5:35am UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877/4 "2019-12-03T05:35:02Z")

</div>

Please post your intent definition and the `domain.yml` fragment with the entity definitions.

---

<div class="post-metadata">

**Author:** ![Harithak](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Harithak](https://forum.rasa.com/u/Harithak)\
**Post date:** [December 3, 2019, 5:45am UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877/5 "2019-12-03T05:45:09Z")

</div>

language: “en”

pipeline:

- name: “SpacyNLP”
- name: “SpacyTokenizer”
- name: “RegexFeaturizer”
- name: “SpacyFeaturizer”
- name: “CRFEntityExtractor”
- name: “EntitySynonymMapper”
- name: “SklearnIntentClassifier”
- name: “DucklingHTTPExtractor” url: “[http://duckling:8000](http://duckling:8000)”

The training data format I have used is json as per the documentation in the rasa official site.

---

<div class="post-metadata">

**Author:** ![Harithak](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Harithak](https://forum.rasa.com/u/Harithak)\
**Post date:** [December 5, 2019, 3:45am UTC](https://forum.rasa.com/t/entity-extraction-from-text/21877/6 "2019-12-05T03:45:46Z")

</div>

The model of the dataset I have used is

{ “rasa\_nlu\_data”: { “common\_examples”: [{ “text”: “EPFO site UPS not pinging. IP 10.174.11.164. test POE switch is down. Need to check the backhaul/power and poe switch.”, “intent”: “0”, “entities”: [ { “start”: 0, “end”: 13, “value”: “EPFO site UPS”, “entity”: “UPS” }, { “start”: 14, “end”: 25, “value”: “not pinging”, “entity”: “problem” }, { “start”: 27, “end”: 43, “value”: “IP 10.174.11.164”, “entity”: “IP” }, { “start”: 50, “end”: 60, “value”: “POE switch”, “entity”: “Switch” }, { “start”: 64, “end”: 68, “value”: “down”, “entity”: “problem” }, { “start”: 88, “end”: 102, “value”: “backhaul/power”, “entity”: “Switch” }] } ] } }
