mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 21:24:11 +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:
|
if self.path:
|
||||||
return Tagger.load(self.path / 'pos', vocab)
|
return Tagger.load(self.path / 'pos', vocab)
|
||||||
else:
|
else:
|
||||||
return Tagger.blank(vocab, Tagger.default_templates(self.lang))
|
return Tagger.blank(vocab, Tagger.default_templates())
|
||||||
|
|
||||||
def Parser(self, vocab):
|
def Parser(self, vocab):
|
||||||
if self.path:
|
if self.path:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user