mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-13 07:55:49 +03:00
* Fix test_space_attachment
This commit is contained in:
parent
b0c6daf356
commit
b4cac52f7f
|
@ -8,4 +8,5 @@ def test_space_attachment(EN):
|
|||
doc = EN(sentence)
|
||||
|
||||
for sent in doc.sents:
|
||||
assert not sent[-1].is_space
|
||||
if len(sent) == 1:
|
||||
assert not sent[-1].is_space
|
||||
|
|
Loading…
Reference in New Issue
Block a user