Add fixture for entity recognizer

This commit is contained in:
Ines Montani 2017-01-12 21:56:32 +01:00
parent b438cfddbc
commit eac3f700fb
1 changed files with 5 additions and 0 deletions

View File

@ -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()