mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix French test (see #1617)
This commit is contained in:
parent
0f6dfb4b81
commit
17849dee4b
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user