diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index a2fce882e..05199c9c3 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -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()