Fix name of TextCategorizer

This commit is contained in:
Matthew Honnibal 2017-07-22 01:14:07 +02:00
parent 2424493970
commit b3a749610e

View File

@ -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):