diff --git a/tests/test_parse.py b/tests/test_parse.py new file mode 100644 index 000000000..585267831 --- /dev/null +++ b/tests/test_parse.py @@ -0,0 +1,11 @@ +from spacy.en import English + +import pytest + +NLP = English() + + +def test_root(): + tokens = NLP(u"i don't have other assistance") + for t in tokens: + assert t.dep != 0, t.orth_