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()
|
return StringStore()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def en_entityrecognizer():
|
||||||
|
return English.Defaults.create_entity()
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def text_file():
|
def text_file():
|
||||||
return StringIO()
|
return StringIO()
|
||||||
|
|
Loading…
Reference in New Issue