# Can't find component 'spancat' in pipeline

**URL:** <https://support.prodi.gy/t/cant-find-component-spancat-in-pipeline/7135>\
**Category:** Uncategorized\
**Created:** [March 4, 2024, 3:09pm UTC](https://support.prodi.gy/t/cant-find-component-spancat-in-pipeline/7135 "2024-03-04T15:09:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://support.prodi.gy/u/Eric)\
**Post date:** [March 4, 2024, 3:09pm UTC](https://support.prodi.gy/t/cant-find-component-spancat-in-pipeline/7135/1 "2024-03-04T15:09:09Z")

</div>

Hi i want to continue labeling on an allready trained modell.

`python -m prodigy spans.correct fehler_db .\SpanCat\model-best .\Prodigy\Data\data.json --label FEHLERMELDUNG`

It says: Can't find component 'spancat' in pipeline.

My pipeline shows spancat\_singlelabel as a component:

`[('tok2vec', <spacy.pipeline.tok2vec.Tok2Vec object at 0x00000222CC934A00>), ('spancat_singlelabel', <spacy.pipeline.spancat.SpanCategorizer object at 0x00000222CC935240>)]`

---

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://support.prodi.gy/u/Eric)\
**Post date:** [March 5, 2024, 8:25am UTC](https://support.prodi.gy/t/cant-find-component-spancat-in-pipeline/7135/2 "2024-03-05T08:25:09Z")

</div>

Oh man... reading the error certainly helps. I fixed it by defining the component manually:

`python -m prodigy spans.correct fehler_db .\SpanCat\model-best .\Prodigy\Data\data.json --label FEHLERMELDUNG --component spancat_singlelabel`
