# Entities with punctuation and space are not recognized

**URL:** <https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754>\
**Category:** Rasa Open Source\
**Created:** [March 1, 2021, 8:26pm UTC](https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754 "2021-03-01T20:26:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhzape](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jhzape](https://forum.rasa.com/u/jhzape)\
**Post date:** [March 1, 2021, 8:26pm UTC](https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754/1 "2021-03-01T20:26:44Z")

</div>

Hello,

I have an intent which contains space and punctuations as entity. ![Screenshot from 2021-03-01 21-17-40](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/917190e411e13b2cc2f239d6bffd2f20dccf3af1.png)

 ![Screenshot from 2021-03-01 21-18-13](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/b97774cac0e489f74abd3e0e7485a9477b128cf1.png)During training, there is user warning saying " Issue found while processing ‘’: Intent ‘input\_UID’ has no examples." And during testing, the entity value cannot be correctly recognized. Can you please help?@koaning

---

<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:** [March 2, 2021, 12:27pm UTC](https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754/2 "2021-03-02T12:27:43Z")

</div>

Could you share the traceback of the warning? If you’re running this locally you should see it appear if you run `rasa train` from the command line. Also, could you share the Rasa version via `rasa --version`?

---

<div class="post-metadata">

**Author:** ![jhzape](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jhzape](https://forum.rasa.com/u/jhzape)\
**Post date:** [March 2, 2021, 2:02pm UTC](https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754/3 "2021-03-02T14:02:28Z")

</div>

Thanks for the reply. Here attached the user warning together with version record.

 ![Screenshot from 2021-03-02 14-58-36](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/55b4e25a9b66dc6fa7f7c9bd0704a373978aa79f.png) ![Screenshot from 2021-03-02 14-59-47](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/d1b12cf1235787a772fc77f41846157471172aac.png)Besides, I saw an answer to a similar question where Spacy tokenizer should replace white space. Therefore, I would like to also attach config file.[config.yml](https://forum.rasa.com/uploads/short-url/w7yXPDeGV4H28yYA7hPkjKX3Sqq.yml) (1.3 KB)

---

<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:** [March 3, 2021, 8:51am UTC](https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754/4 "2021-03-03T08:51:29Z")

</div>

In the future, please attach any tracebacks/code examples as markdown in the text. That way it’s possible for me to copy and paste the code. Doing it with screenshots involves a lot of manual work on our end, especially because the yellow text doens’t contrast nicely with a white background.

I think I’ve found an issue. You’re using the `RegexFeaturizer`. This attaches machine learning features but it doesn’t directly detect entities. What you’re probably interested in instead is the [RegexEntityExtractor](https://rasa.com/docs/rasa/components#regexentityextractor) component. There’s a youtube video [here](https://www.youtube.com/watch?v=m45u2-I3OFs&t=60s) where you can see an example of the RegexEntityExtractor being used in a pipeline.

The main issue you see from Rasa X though is likely due to the fact that you have intents with no examples (as you can confirm from the yellow logs).

---

<div class="post-metadata">

**Author:** ![jhzape](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jhzape](https://forum.rasa.com/u/jhzape)\
**Post date:** [March 3, 2021, 9:28am UTC](https://forum.rasa.com/t/entities-with-punctuation-and-space-are-not-recognized/40754/5 "2021-03-03T09:28:37Z")

</div>

@koaning I appreciate your suggestion on how to post code formally. Besides, **RegexEntityExtractor** is exactly what I want and the UID can be correctly extracted now. I know you are an expert in customizing pipeline from both advanced workshop and forum. Thanks a lot.
