# CRFEntityExtractor fails to retrieve simple entities from German

**URL:** <https://forum.rasa.com/t/crfentityextractor-fails-to-retrieve-simple-entities-from-german/17132>\
**Category:** Rasa Open Source\
**Created:** [September 23, 2019, 6:49pm UTC](https://forum.rasa.com/t/crfentityextractor-fails-to-retrieve-simple-entities-from-german/17132 "2019-09-23T18:49:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapkovski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chapkovski/32/4497_2.png) [@chapkovski](https://forum.rasa.com/u/chapkovski)\
**Post date:** [September 23, 2019, 6:49pm UTC](https://forum.rasa.com/t/crfentityextractor-fails-to-retrieve-simple-entities-from-german/17132/1 "2019-09-23T18:49:35Z")

</div>

I have a small dataset for training, with some very simple entities to retrieve. For instance:

```auto
## intent:MY_INTENT
[ich](pronomen) [möchte](fordern) [eine](menge) schwarzer kaffee.
[ich](pronomen) [möchte](fordern) diese dinge.

```

Rasa detects all the intents entirely correctly. But it fails to recognize single entities. For instance if you request `ich` the `entities` response will be empty. The same with `möchte`:

```auto
{
  "intent": {
    "name": "MY_INTENT",
    "confidence": 0.9752551317214966
  },
  "entities": [],
  "intent_ranking": [
    {
      "name": "MY_INTENT",
      "confidence": 0.9752551317214966
    },
  ],
  "text": "ich möchte"
}

```

The weirdest thing is that if I feed there the whole sentence, for instance `ich möchte eine kaffee` then Rasa captures all or most of the entities. What am I doing wrong?

```auto
ich möchte eine personalmutation  
{
  "intent": {
    "name": "MY_INTENT",
    "confidence": 0.999994158744812
  },
  "entities": [
    {
      "start": 0,
      "end": 3,
      "value": "ich",
      "entity": "pronomen",
      "confidence": 0.8411681473886646,
      "extractor": "CRFEntityExtractor"
    },
    {
      "start": 4,
      "end": 10,
      "value": "möchte",
      "entity": "fordern",
      "confidence": 0.8246471681888136,
      "extractor": "CRFEntityExtractor"
    },
    {
      "start": 11,
      "end": 15,
      "value": "eine",
      "entity": "menge",
      "confidence": 0.832780777509731,
      "extractor": "CRFEntityExtractor"
    }
  ],

  "text": "ich möchte eine kaffee"
}

```

---

<div class="post-metadata">

**Author:** ![IgNoRaNt23](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ignorant23/32/8029_2.png) [@IgNoRaNt23](https://forum.rasa.com/u/IgNoRaNt23)\
**Post date:** [September 24, 2019, 5:14am UTC](https://forum.rasa.com/t/crfentityextractor-fails-to-retrieve-simple-entities-from-german/17132/2 "2019-09-24T05:14:32Z")

</div>

Get more training examples.

btw it’s “Ich moechte eine **n** schwarze **n** Kaffe” in german
