# CrfEntityExtractor

**URL:** <https://forum.rasa.com/t/crfentityextractor/12342>\
**Category:** Rasa Open Source\
**Created:** [July 2, 2019, 6:19am UTC](https://forum.rasa.com/t/crfentityextractor/12342 "2019-07-02T06:19:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@shubham](https://forum.rasa.com/u/shubham)\
**Post date:** [July 2, 2019, 6:19am UTC](https://forum.rasa.com/t/crfentityextractor/12342/1 "2019-07-02T06:19:57Z")

</div>

how to use CrfEntityExtractor for particular entity to Extract?

1. how can I mention it in my .config file or do I need to mention it in .md data file?

@akelad @GauravGaikwad94 @JulianGerhard@Juste @juste_petr

---

<div class="post-metadata">

**Author:** ![JulianGerhard](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliangerhard/32/3781_2.png) [@JulianGerhard](https://forum.rasa.com/u/JulianGerhard)\
**Post date:** [July 2, 2019, 6:29am UTC](https://forum.rasa.com/t/crfentityextractor/12342/2 "2019-07-02T06:29:28Z")

</div>

Hi @shubham

sounds like a “normal” entity extraction task. The CrfEntitiyExtractor is the correct pipeline element for achieving that.

Entities that need to be extracted have to be defined in nlu.md (or at least in the training data) like documented here:

> **[NLU Training Data](https://rasa.com/docs/rasa/nlu-training-data/)**
>
> Read more about how to format training data with Rasa NLU for open source natural language processing.

If you want to take a look upon the different possibilities with other extractors, read about them here:

> **[NLU Training Data](https://rasa.com/docs/rasa/nlu-training-data/)**
>
> Read more about how to format training data with Rasa NLU for open source natural language processing.

Mostly or for example for predefined and thus reusable entities.

A minimal sample for a particular entity is provided in the documentation:

```
## intent:check_balance
- what is my balance <!-- no entity -->
- how much do I have on my [savings](source_account) <!-- entity "source_account" has value "savings" -->
- how much do I have on my [savings account](source_account:savings) <!-- synonyms, method 1-->
- Could I pay in [yen](currency)? <!-- entity matched by lookup table -->

```

Tell me, if you got problems with that!

Regards
