Temporarily patch handling of defaul templates for tagger. Need to move these to language_data.

This commit is contained in:
Matthew Honnibal 2016-09-27 13:21:28 +02:00
parent a44763af0e
commit e382e48d9f

View File

@ -92,7 +92,7 @@ class BaseDefaults(object):
if self.path:
return Tagger.load(self.path / 'pos', vocab)
else:
return Tagger.blank(vocab, Tagger.default_templates(self.lang))
return Tagger.blank(vocab, Tagger.default_templates())
def Parser(self, vocab):
if self.path: