mirror of https://github.com/explosion/spaCy.git
Fix Entity creation
This commit is contained in:
parent
2debc4e0a2
commit
0b2d7ae9d6
|
@ -105,7 +105,7 @@ class BaseDefaults(object):
|
|||
if self.path and (self.path / 'ner').exists():
|
||||
return Parser.load(self.path / 'ner', vocab, BiluoPushDown)
|
||||
else:
|
||||
return Parser.blank(vocab, BiluoPushdown,
|
||||
return Parser.blank(vocab, BiluoPushDown,
|
||||
features=self.entity_features, labels=self.entity_labels)
|
||||
|
||||
def Matcher(self, vocab):
|
||||
|
|
Loading…
Reference in New Issue