spaCy/tests/tokenizer/conftest.py

8 lines
123 B
Python

import pytest
from spacy.en import English
@pytest.fixture(scope="module")
def en_tokenizer(EN):
return EN.tokenizer