spaCy/spacy/lang/en/lemmatizer/_adverbs_irreg.py
Duygu Altinok 5a7bc6b39d Fix/irreg adverbs extension (#3499)
* extended list of irreg adverbs

* added test to exceptions

* fixed typo
2019-03-28 13:23:33 +01:00

32 lines
724 B
Python

# coding: utf8
from __future__ import unicode_literals
ADVERBS_IRREG = {
"best": ("well",),
"better": ("well",),
"closer": ("close",),
"closest": ("close",),
"deeper": ("deeply",),
"earlier": ("early",),
"earliest": ("early",),
"farther": ("far",),
"further": ("far",),
"faster": ("fast",),
"fastest": ("fast",),
"harder": ("hard",),
"hardest": ("hard",),
"longer": ("long",),
"longest": ("long",),
"nearer": ("near",),
"nearest": ("near",),
"nigher": ("nigh",),
"nighest": ("nigh",),
"quicker": ("quick",),
"quickest": ("quick",),
"slower": ("slow",),
"slowest": ("slowest",),
"sooner": ("soon",),
"soonest": ("soon",)
}