spaCy/spacy/tests/regression/test_issue54.py

11 lines
278 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('en')
2017-01-12 14:25:51 +03:00
def test_issue54(EN):
text = "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)."
2017-01-12 14:25:51 +03:00
tokens = EN(text)