mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 05:37:03 +03:00
13 lines
317 B
Python
13 lines
317 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.models('en')
|
|
@pytest.mark.parametrize('text', ["He is the man", "he is the man"])
|
|
def test_issue686(EN, text):
|
|
"""Test that pronoun lemmas are assigned correctly."""
|
|
tokens = EN(text)
|
|
assert tokens[0].lemma_ == "-PRON-"
|