Fix French test (see #1617)

This commit is contained in:
ines 2017-11-20 13:59:59 +01:00
parent 0f6dfb4b81
commit 17849dee4b

View File

@ -21,7 +21,7 @@ def test_lemmatizer_noun_verb_2(FR):
@pytest.mark.models('fr') @pytest.mark.models('fr')
@pytest.mark.xfail(reason="Costaricienne TAG is PROPN instead of NOUN and spacy don't lemmatize PROPN") @pytest.mark.xfail(reason="Costaricienne TAG is PROPN instead of NOUN and spacy don't lemmatize PROPN")
def test_lemmatizer_noun(model): def test_lemmatizer_noun(FR):
tokens = FR("il y a des Costaricienne.") tokens = FR("il y a des Costaricienne.")
assert tokens[4].lemma_ == "Costaricain" assert tokens[4].lemma_ == "Costaricain"