From 02c23cc1d02d4e52979234d964fb33c43bc4dd6a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 2 May 2016 15:26:07 +0200 Subject: [PATCH] * Fix sentence boundary test --- spacy/tests/parser/test_sbd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/parser/test_sbd.py b/spacy/tests/parser/test_sbd.py index d72cef32d..1f66368e4 100644 --- a/spacy/tests/parser/test_sbd.py +++ b/spacy/tests/parser/test_sbd.py @@ -34,7 +34,7 @@ def test_single_exclamation(EN): @pytest.mark.models def test_single_question(EN): string = 'A test sentence?' - words = EN(string, tag=False, parse=False) + words = EN(string, tag=False, parse=True) assert len(words) == 4 assert len(list(words.sents)) == 1 assert sum(len(sent) for sent in words.sents) == len(words)