mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 18:56:36 +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)
|
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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user