From e382e48d9f8d04d6b70873f63bcd73c3aa9177a5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 27 Sep 2016 13:21:28 +0200 Subject: [PATCH] Temporarily patch handling of defaul templates for tagger. Need to move these to language_data. --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index 46f9009cc..df7728d08 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -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: