spaCy/spacy/tests/parser/test_parse.py
2015-10-26 00:07:31 +11:00

9 lines
161 B
Python

import pytest
@pytest.mark.models
def test_root(EN):
tokens = EN(u"i don't have other assistance")
for t in tokens:
assert t.dep != 0, t.orth_