mirror of https://github.com/explosion/spaCy.git
Add en_parser fixture
This commit is contained in:
parent
55d151aa61
commit
09807addff
|
@ -37,6 +37,11 @@ def en_vocab():
|
||||||
return English.Defaults.create_vocab()
|
return English.Defaults.create_vocab()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def en_parser():
|
||||||
|
return English.Defaults.create_parser()
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def de_tokenizer():
|
def de_tokenizer():
|
||||||
return German.Defaults.create_tokenizer()
|
return German.Defaults.create_tokenizer()
|
||||||
|
|
Loading…
Reference in New Issue