mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +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