Fix Entity creation

This commit is contained in:
Matthew Honnibal 2016-09-26 15:41:22 +02:00
parent 2debc4e0a2
commit 0b2d7ae9d6
1 changed files with 1 additions and 1 deletions

View File

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