spaCy/spacy/tests/regression/test_issue54.py

11 lines
273 B
Python
Raw Normal View History

2017-01-12 14:25:51 +03:00
# coding: utf-8
from __future__ import unicode_literals
import pytest
@pytest.mark.models
def test_issue54(EN):
text = u'Talks given by women had a slightly higher number of questions asked (3.2$\pm$0.2) than talks given by men (2.6$\pm$0.1).'
tokens = EN(text)