Add fixture for entity recognizer
@@ -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()
