mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Add regression test for #686
This commit is contained in:
parent
46b17e5b51
commit
444d665f9d
13
spacy/tests/regression/test_issue686.py
Normal file
13
spacy/tests/regression/test_issue686.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
# coding: utf8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
@pytest.mark.models
|
||||
@pytest.mark.parametrize('text', ["He is the man.", "They are the men."])
|
||||
def test_issue686(EN, text):
|
||||
"""Test that pronoun lemmas are assigned correctly."""
|
||||
tokens = EN(text)
|
||||
assert tokens[0].lemma_ == "-PRON-"
|
Loading…
Reference in New Issue
Block a user