spaCy/tests/parser/test_parse.py

9 lines
161 B
Python
Raw Normal View History

import pytest
2015-07-23 07:26:43 +00:00
@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_