mirror of https://github.com/explosion/spaCy.git
Add fixture for entity recognizer
This commit is contained in:
parent
b438cfddbc
commit
eac3f700fb
|
@ -58,6 +58,11 @@ def stringstore():
|
|||
return StringStore()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def en_entityrecognizer():
|
||||
return English.Defaults.create_entity()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def text_file():
|
||||
return StringIO()
|
||||
|
|
Loading…
Reference in New Issue