From b3a749610efd5b7c63b639bc21694dca37319cc5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 22 Jul 2017 01:14:07 +0200 Subject: [PATCH] Fix name of TextCategorizer --- spacy/pipeline.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):