failing test for Issue #3521

This commit is contained in:
svlandeg 2019-04-02 13:15:35 +02:00
parent 1424b12b09
commit e7062cf699
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
import pytest
from spacy.lang.en import English
@pytest.mark.parametrize(
"word",
[
"don't",
"dont",
"I'd",
"Id",
],
)
def test_issue3521(fr_tokenizer, word):
nlp = English()
tok = nlp(word)[1]
assert tok.is_stop