spaCy/tests/parser/test_parse.py

8 lines
141 B
Python

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_