Fix name of TextCategorizer

This commit is contained in:
Matthew Honnibal 2017-07-22 01:14:07 +02:00
parent 2424493970
commit b3a749610e
1 changed files with 2 additions and 2 deletions

View File

@ -513,8 +513,8 @@ class SimilarityHook(BaseThincComponent):
self.model = self.Model(pipeline[0].model.nO) self.model = self.Model(pipeline[0].model.nO)
class TextClassifier(BaseThincComponent): class TextCategorizer(BaseThincComponent):
name = 'text-classifier' name = 'textcat'
@classmethod @classmethod
def Model(cls, nr_class, width=64, **cfg): def Model(cls, nr_class, width=64, **cfg):