mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def en_parser():
|
||||
return English.Defaults.create_parser()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def de_tokenizer():
|
||||
return German.Defaults.create_tokenizer()
|
||||
|
|
Loading…
Reference in New Issue
Block a user