mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 05:07:03 +03:00
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
Block a user