mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
9 lines
194 B
Python
9 lines
194 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
def test_issue1612(en_tokenizer):
|
|
doc = en_tokenizer('The black cat purrs.')
|
|
span = doc[1: 3]
|
|
assert span.orth_ == span.text
|