903180f4a2bc366261f0be102647bb5f23bc073c,tests/lang/en/test_tagger.py,,test_en_tagger_lemma_base_form_verb,#Any#,119

Before Change




def test_en_tagger_lemma_base_form_verb(lemmatizer):
    assert lemmatizer.verb("saw", {"verbform": "past"}) == ["see"]


def test_en_tagger_lemma_punct(lemmatizer):
    assert lemmatizer.punct("“") == ["""]

After Change




def test_en_tagger_lemma_base_form_verb(NLP):
    doc = NLP.make_doc("saw")
    doc[0].morph_ = "VerbForm=Past"
    doc[0].pos_ = "VERB"
    NLP.get_pipe("lemmatizer")(doc)
    assert doc[0].lemma_ == "see"


def test_en_tagger_lemma_punct(NLP):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: explosion/spacy-models
Commit Name: 903180f4a2bc366261f0be102647bb5f23bc073c
Time: 2020-09-25
Author: adrianeboyd@gmail.com
File Name: tests/lang/en/test_tagger.py
Class Name:
Method Name: test_en_tagger_lemma_base_form_verb


Project Name: explosion/spacy-models
Commit Name: 903180f4a2bc366261f0be102647bb5f23bc073c
Time: 2020-09-25
Author: adrianeboyd@gmail.com
File Name: tests/lang/en/test_tagger.py
Class Name:
Method Name: test_en_tagger_lemma_base_forms


Project Name: explosion/spacy-models
Commit Name: 903180f4a2bc366261f0be102647bb5f23bc073c
Time: 2020-09-25
Author: adrianeboyd@gmail.com
File Name: tests/lang/en/test_tagger.py
Class Name:
Method Name: test_en_tagger_lemma_punct