# Seeds for text classification appearing multiple times

**URL:** <https://support.prodi.gy/t/seeds-for-text-classification-appearing-multiple-times/1710>\
**Category:** Uncategorized\
**Tags:** usage, textcat\
**Created:** [June 26, 2019, 7:48pm UTC](https://support.prodi.gy/t/seeds-for-text-classification-appearing-multiple-times/1710 "2019-06-26T19:48:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [June 27, 2019, 7:21am UTC](https://support.prodi.gy/t/seeds-for-text-classification-appearing-multiple-times/1710/2 "2019-06-27T07:21:18Z")

</div>

Hi! This is currently expected behaviour because the pattern matcher just yields out every result – but you’re right that it’s not very practical and we probably want to change this and make “one match per example” the default behaviour.

In the meantime, check out this thread for more details and custom recipe scripts that let you modify the behaviour so that you only ever see an example once, even if it contains multiple matches:

> [@textcat.teach presents same annotation task if text snippet contains multiple patterns](https://support.prodi.gy/t/textcat-teach-presents-same-annotation-task-if-text-snippet-contains-multiple-patterns/1210):
>
> Hi Ines, This may be by design but looking for guidance on best approach to annotation. I have a collection of patterns (building something similar to your Insult Classifier) and I’m using a Reddit dataset to annotate positive/negative examples. If one text snippet contains multiple of the patterns, I see it that many times, each time with a different one of the terms highlighted from my patterns (and then one more time, with nothing highlighted). It almost seems like the task is to annotate ju…

---

_[View the full topic](https://support.prodi.gy/t/seeds-for-text-classification-appearing-multiple-times/1710)._
