diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 556d97e5a..1b2e913c3 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -513,8 +513,8 @@ class SimilarityHook(BaseThincComponent): self.model = self.Model(pipeline[0].model.nO) -class TextClassifier(BaseThincComponent): - name = 'text-classifier' +class TextCategorizer(BaseThincComponent): + name = 'textcat' @classmethod def Model(cls, nr_class, width=64, **cfg):