From 0b2d7ae9d6a8e79ba4b2abc4cc7796654dc2fe97 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 26 Sep 2016 15:41:22 +0200 Subject: [PATCH] Fix Entity creation --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index 771d14de4..8f50efd4c 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -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):