spaCy/spacy/tests/regression/test_issue54.py

11 lines
272 B
Python
Raw Normal View History

2017-01-12 11:25:51 +00:00
# coding: utf-8
from __future__ import unicode_literals
import pytest
@pytest.mark.models
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 11:25:51 +00:00
tokens = EN(text)