mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Fix regression test
This commit is contained in:
parent
c748907a66
commit
b94286de30
|
@ -12,7 +12,7 @@ import pytest
|
||||||
def test_issue595():
|
def test_issue595():
|
||||||
"""Test lemmatization of base forms"""
|
"""Test lemmatization of base forms"""
|
||||||
words = ["Do", "n't", "feed", "the", "dog"]
|
words = ["Do", "n't", "feed", "the", "dog"]
|
||||||
tag_map = {'VB': {POS: VERB, 'morph': VerbForm_inf}}
|
tag_map = {'VB': {POS: VERB, VerbForm_inf: True}}
|
||||||
rules = {"verb": [["ed", "e"]]}
|
rules = {"verb": [["ed", "e"]]}
|
||||||
|
|
||||||
lemmatizer = Lemmatizer({'verb': {}}, {'verb': {}}, rules)
|
lemmatizer = Lemmatizer({'verb': {}}, {'verb': {}}, rules)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user