From 09807addff1519a543af2c5b7b21c94173983e23 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 11 Jan 2017 21:29:59 +0100 Subject: [PATCH] Add en_parser fixture --- spacy/tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spacy/tests/conftest.py b/spacy/tests/conftest.py index f6d6728a4..31ec9cfe7 100644 --- a/spacy/tests/conftest.py +++ b/spacy/tests/conftest.py @@ -37,6 +37,11 @@ def en_vocab(): return English.Defaults.create_vocab() +@pytest.fixture +def en_parser(): + return English.Defaults.create_parser() + + @pytest.fixture def de_tokenizer(): return German.Defaults.create_tokenizer()