Fix regression test

This commit is contained in:
Matthew Honnibal 2017-03-25 22:35:07 +01:00
parent c748907a66
commit b94286de30

View File

@ -12,7 +12,7 @@ import pytest
def test_issue595():
"""Test lemmatization of base forms"""
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"]]}
lemmatizer = Lemmatizer({'verb': {}}, {'verb': {}}, rules)