mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
Temporarily patch handling of defaul templates for tagger. Need to move these to language_data.
This commit is contained in:
parent
a44763af0e
commit
e382e48d9f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user