mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
8 lines
141 B
Python
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_
|