spaCy/spacy/tests/tokenizer/conftest.py

12 lines
183 B
Python
Raw Normal View History

2017-01-05 15:09:48 +03:00
# coding: utf-8
from __future__ import unicode_literals
import pytest
2017-01-05 15:10:51 +03:00
2017-01-04 02:48:21 +03:00
from ...en import English
2017-01-04 02:48:21 +03:00
@pytest.fixture
def en_tokenizer():
return English.Defaults.create_tokenizer()