mirror of https://github.com/explosion/spaCy.git
* Add testing file for issues such as raised in #57
This commit is contained in:
parent
b3fd48c97b
commit
918b820472
|
@ -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_
|
Loading…
Reference in New Issue