spaCy/tests/parser/test_parse.py

8 lines
141 B
Python
Raw Normal View History

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