Fix parser creation in Language class.

This commit is contained in:
Matthew Honnibal 2016-10-18 19:36:44 +02:00
parent 45a6f9b9c7
commit 1b651db9c5
1 changed files with 1 additions and 1 deletions

View File

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