File tree Expand file tree Collapse file tree 2 files changed +66213
-66172
lines changed
src/edu/stanford/nlp/process Expand file tree Collapse file tree 2 files changed +66213
-66172
lines changed Original file line number Diff line number Diff line change @@ -469,6 +469,9 @@ E_ADJS = "able"|"absolute"|"abstruse"|"acute"|"ample"|"austere"|"bare"|"base"|"b
469
469
/* adjectives such as hot which become hotter, hottest */
470
470
XX_ADJS = "awfull" | "badd" | "bigg" | "bumm" | "carefull" | "cheerfull" | "cruell" | "dimm" | "dolefull" | "drabb" | "dunn" | "fatt" | "fearfull" | "fitt" | "flatt" | "flipp" | "fruitfull" | "full" | "gladd" | "glibb" | "glumm" | "gracefull" | "gratefull" | "grimm" | "grumm" | "hipp" | "hott" | "joyfull" | "levell" | "madd" | "mournfull" | "painfull" | "peacefull" | "pitifull" | "primm" | "redd" | "rumm" | "sadd" | "slimm" | "smugg" | "snugg" | "squatt" | "tann" | "thankfull" | "thinn" | "tranquill" | "trimm" | "wann" | "wett" | "woefull" | "wonderfull"
471
471
472
+ /* adjectives such as gooey which become gooier, gooiest */
473
+ EY_ADJS = "cag" | "cak" | "clay" | "cliqu" | "crep" | "dic" | "dop" | "glu" | "goo" | "grip" | "hok" | "hom" | "hors" | "jok" | "lak" | "mop" | "shal"
474
+
472
475
473
476
%%
474
477
@@ -2097,6 +2100,8 @@ XX_ADJS = "awfull"|"badd"|"bigg"|"bumm"|"carefull"|"cheerfull"|"cruell"|"dimm"|"
2097
2100
<scan> {E_ADJS} st/ _JJ { return (stem(2 , " " , " " )); }
2098
2101
<scan> {XX_ADJS} er/ _JJ { return (stem(3 , " " , " " )); }
2099
2102
<scan> {XX_ADJS} est/ _JJ { return (stem(4 , " " , " " )); }
2103
+ <scan> {EY_ADJS} ier/ _JJ { return (stem(3 , " ey" , " " )); }
2104
+ <scan> {EY_ADJS} iest/ _JJ { return (stem(4 , " ey" , " " )); }
2100
2105
2101
2106
<scan> {G} +/ _NN[^ P] { yybegin(noun); yypushback(yylength()); return (next()); }
2102
2107
<scan> {G} +/ _NNP { return (proper_name_stem()); }
You can’t perform that action at this time.
0 commit comments