mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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
|