mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-15 14:17:58 +03:00
8 lines
235 B
Python
8 lines
235 B
Python
|
import pytest
|
||
|
|
||
|
def test_la_tokenizer_handles_exc_in_text(la_tokenizer):
|
||
|
text = "scio te omnia facturum, ut nobiscum quam primum sis"
|
||
|
tokens = la_tokenizer(text)
|
||
|
assert len(tokens) == 11
|
||
|
assert tokens[6].text == "nobis"
|