mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix name of TextCategorizer
This commit is contained in:
parent
2424493970
commit
b3a749610e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user