* Fix test_morph_exceptions

This commit is contained in:
Matthew Honnibal 2015-03-15 19:25:27 -04:00
parent 7237c805c7
commit ee927fbbb4
1 changed files with 1 additions and 1 deletions

View File

@ -21,5 +21,5 @@ def test_load_exc(EN, morph_exc):
EN.tagger.load_morph_exceptions(morph_exc)
tokens = EN('I like his style.', tag=True)
his = tokens[2]
assert EN.tagger.tag_names[his.tag] == 'PRP$'
assert his.tag_ == 'PRP$'
assert his.lemma_ == '-PRP-'