diff --git a/spacy/tests/regression/test_issue1305.py b/spacy/tests/regression/test_issue1305.py new file mode 100644 index 000000000..e123ce0ba --- /dev/null +++ b/spacy/tests/regression/test_issue1305.py @@ -0,0 +1,8 @@ +import pytest + +@pytest.mark.models('en') +def test_issue1305(EN): + '''Test lemmatization of English VBZ''' + assert EN.vocab.morphology.lemmatizer('works', 'verb') == set(['work']) + doc = EN(u'This app works well') + assert doc[2].lemma_ == 'work'