@@ -26,6 +26,9 @@ public class MorphologyTest extends TestCase {
26
26
"better" , "gooier" , "glummer" , "tamer" , "sicker" ,
27
27
"best" , "gooiest" , "glummest" , "tamest" , "sickest" ,
28
28
"better" , "earlier" , // should not change if JJ
29
+ "earlier" , "earliest" , "more" , "less" , "least" , // RBR / RBS special cases
30
+ "quicker" , "slower" , "longer" , "wider" , "widest" ,
31
+ "easier" , "easier" , // JJR & RBR
29
32
};
30
33
31
34
private String [] exTags = { "NNS" , "NNS" , "VBD" , "NN" ,
@@ -46,6 +49,9 @@ public class MorphologyTest extends TestCase {
46
49
"JJR" , "JJR" , "JJR" , "JJR" , "JJR" ,
47
50
"JJS" , "JJS" , "JJS" , "JJS" , "JJS" ,
48
51
"JJ" , "JJ" ,
52
+ "RBR" , "RBS" , "RBR" , "RBR" , "RBS" ,
53
+ "RBR" , "RBR" , "RBR" , "RBR" , "RBS" ,
54
+ "JJR" , "RBR" ,
49
55
};
50
56
51
57
private String [] exAnswers = {"brethren" , "duck" , "see" , "saw" ,
@@ -66,6 +72,9 @@ public class MorphologyTest extends TestCase {
66
72
"good" , "gooey" , "glum" , "tame" , "sick" ,
67
73
"good" , "gooey" , "glum" , "tame" , "sick" ,
68
74
"better" , "earlier" ,
75
+ "early" , "early" , "more" , "less" , "least" ,
76
+ "quick" , "slow" , "long" , "wide" , "wide" ,
77
+ "easy" , "easy" ,
69
78
};
70
79
71
80
public void testMorph () {
0 commit comments