mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
5a7bc6b39d
* extended list of irreg adverbs * added test to exceptions * fixed typo
32 lines
724 B
Python
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",)
|
|
}
|