mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-16 06:37:04 +03:00
10 lines
230 B
Python
10 lines
230 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
def test_issue6755(en_tokenizer):
|
|
doc = en_tokenizer("This is a magnificent sentence.")
|
|
span = doc[:0]
|
|
assert span.text_with_ws == ""
|
|
assert span.text == ""
|