From 1b651db9c577fc09fb4ca2be7e5858985de5d207 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 18 Oct 2016 19:36:44 +0200 Subject: [PATCH] Fix parser creation in Language class. --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index 9aa819cce..040dc1ed4 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -244,7 +244,7 @@ class Language(object): self.tagger = self.Defaults.create_tagger(self) \ if 'tagger' not in overrides \ else overrides['tagger'] - self.parser = self.Defaults.create_tagger(self) \ + self.parser = self.Defaults.create_parser(self) \ if 'parser' not in overrides \ else overrides['parser'] self.entity = self.Defaults.create_entity(self) \