* Add testing file for issues such as raised in #57

This commit is contained in:
Matthew Honnibal 2015-04-28 20:46:29 +02:00
parent b3fd48c97b
commit 918b820472
1 changed files with 11 additions and 0 deletions

11
tests/test_parse.py Normal file
View File

@ -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_