line |
true |
false |
branch |
68
|
0 |
1 |
if (!($tag =~ /^NNP/) || $self->lowercase_proper_names and $word ne 'I')
|
73
|
0 |
1 |
if ($entry) { }
|
78
|
1 |
0 |
if ($self->cut_negation)
|
91
|
0 |
1 |
if ($tag =~ /^(J.*|R.*|NN|NNS)$/ and $word =~ $self->negation)
|
100
|
0 |
0 |
if $word =~ s/men$/man/
|
101
|
0 |
0 |
if $word =~ s/shoes$/shoe/
|
102
|
0 |
0 |
if $word =~ s/wives$/wife/
|
103
|
0 |
0 |
if $word =~ s/(${C}us)es$/$1/
|
105
|
0 |
0 |
if $word =~ s/(${V}se)s$/$1/
|
106
|
0 |
0 |
if $word =~ s/(.${CXY}z)es$/$1/
|
107
|
0 |
0 |
if $word =~ s/(${VY}ze)s$/$1/
|
108
|
0 |
0 |
if $word =~ s/($S2)es$/$1/
|
109
|
0 |
0 |
if $word =~ s/(.${V}rse)s$/$1/
|
110
|
0 |
0 |
if $word =~ s/onses$/onse/
|
111
|
0 |
0 |
if $word =~ s/($S)es$/$1/
|
113
|
0 |
0 |
if $word =~ s/(.$C)ies$/$1y/
|
114
|
0 |
0 |
if $word =~ s/(${CXY}o)es$/$1/
|
115
|
0 |
0 |
if $word =~ s/s$//
|
121
|
0 |
0 |
if $word =~ s/(${CXY}z)ing$/$1/
|
122
|
0 |
0 |
if $word =~ s/(${VY}z)ing$/$1e/
|
123
|
0 |
0 |
if $word =~ s/($S2)ing$/$1/
|
124
|
0 |
0 |
if $word =~ s/($C${V}ll)ing$/$1/
|
125
|
0 |
0 |
if $word =~ s/($C$V($CXY)\2)ing$/$1/
|
126
|
0 |
0 |
if $word =~ s/^($CXY)ing$/$1/
|
127
|
0 |
0 |
if $word =~ s/^($PRE*$C${V}ng)ing$/$1/
|
128
|
0 |
0 |
if $word =~ s/icking$/ick/
|
129
|
0 |
0 |
if $word =~ s/(${C}in)ing$/$1e/
|
130
|
0 |
0 |
if $word =~ s/($C${V}[npwx])ing$/$1/
|
131
|
0 |
0 |
if $word =~ s/(qu$V$C)ing$/$1e/
|
132
|
0 |
0 |
if $word =~ s/(u${V}d)ing$/$1e/
|
133
|
0 |
0 |
if $word =~ s/(${C}let)ing$/$1e/
|
134
|
0 |
0 |
if $word =~ s/^($PRE*$C+[ei]t)ing$/$1e/
|
135
|
0 |
0 |
if $word =~ s/([ei]t)ing$/$1/
|
136
|
0 |
0 |
if $word =~ s/($PRE$CXY${CXY}eat)ing$/$1/
|
137
|
0 |
0 |
if $word =~ s/($V$CXY${CXY}eat)ing$/$1e/
|
138
|
0 |
0 |
if $word =~ s/(.[eo]at)ing$/$1/
|
139
|
0 |
0 |
if $word =~ s/(.${V}at)ing$/$1e/
|
140
|
0 |
0 |
if $word =~ s/($V${V}[cgsv])ing$/$1e/
|
141
|
0 |
0 |
if $word =~ s/($V$V$C)ing$/$1/
|
142
|
0 |
0 |
if $word =~ s/(.[rw]l)ing$/$1/
|
143
|
0 |
0 |
if $word =~ s/(.th)ing$/$1e/
|
144
|
0 |
0 |
if $word =~ s/(${CXY}[cglsv])ing$/$1e/
|
145
|
0 |
0 |
if $word =~ s/($CXY$CXY)ing$/$1/
|
146
|
0 |
0 |
if $word =~ s/uing$/ue/
|
147
|
0 |
0 |
if $word =~ s/($VY$VY)ing$/$1/
|
148
|
0 |
0 |
if $word =~ s/ying$/y/
|
149
|
0 |
0 |
if $word =~ s/(${CXY}o)ing$/$1/
|
150
|
0 |
0 |
if $word =~ s/^($PRE*$C+or)ing$/$1e/
|
151
|
0 |
0 |
if $word =~ s/(${C}[clt]or)ing$/$1e/
|
152
|
0 |
0 |
if $word =~ s/([eo]r)ing$/$1/
|
153
|
0 |
0 |
if $word =~ s/ing$/e/
|
159
|
0 |
0 |
if $word =~ s/en$/e/
|
160
|
0 |
0 |
if $word =~ s/(${CXY}z)ed$/$1/
|
161
|
0 |
0 |
if $word =~ s/(${VY}z)ed$/$1e/
|
162
|
0 |
0 |
if $word =~ s/($S2)ed$/$1/
|
163
|
0 |
0 |
if $word =~ s/($C${V}ll)ed$/$1/
|
164
|
0 |
0 |
if $word =~ s/($C$V($CXY)\2)ed$/$1/
|
165
|
0 |
0 |
if $word =~ s/^($CXY)ed$/$1/
|
166
|
0 |
0 |
if $word =~ s/^($PRE*$C${V}ng)ed$/$1/
|
167
|
0 |
0 |
if $word =~ s/icked$/ick/
|
168
|
0 |
0 |
if $word =~ s/($C(in|[clnt]or))ed$/$1e/
|
169
|
0 |
0 |
if $word =~ s/($C${V}[npwx])ed$/$1/
|
170
|
0 |
0 |
if $word =~ s/^($PRE*$C+or)ed$/$1e/
|
171
|
0 |
0 |
if $word =~ s/([eo]r)ed$/$1/
|
172
|
0 |
0 |
if $word =~ s/($C)ied$/$1y/
|
173
|
0 |
0 |
if $word =~ s/(qu$V$C)ed$/$1e/
|
174
|
0 |
0 |
if $word =~ s/(u${V}d)ed$/$1e/
|
175
|
0 |
0 |
if $word =~ s/(${C}let)ed$/$1e/
|
176
|
0 |
0 |
if $word =~ s/^($PRE*$C+[ei]t)ed$/$1e/
|
177
|
0 |
0 |
if $word =~ s/([ei]t)ed$/$1/
|
178
|
0 |
0 |
if $word =~ s/($PRE$CXY${CXY}eat)ed$/$1/
|
179
|
0 |
0 |
if $word =~ s/($V$CXY${CXY}eat)ed$/$1e/
|
180
|
0 |
0 |
if $word =~ s/(.[eo]at)ed$/$1/
|
181
|
0 |
0 |
if $word =~ s/(.${V}at)ed$/$1e/
|
182
|
0 |
0 |
if $word =~ s/($V${V}[cgsv])ed$/$1e/
|
183
|
0 |
0 |
if $word =~ s/($V$V$C)ed$/$1/
|
184
|
0 |
0 |
if $word =~ s/(.[rw]l)ed$/$1/
|
185
|
0 |
0 |
if $word =~ s/(.th)ed$/$1e/
|
186
|
0 |
0 |
if $word =~ s/ued$/ue/
|
187
|
0 |
0 |
if $word =~ s/(${CXY}[cglsv])ed$/$1e/
|
188
|
0 |
0 |
if $word =~ s/($CXY$CXY)ed$/$1/
|
189
|
0 |
0 |
if $word =~ s/($VY$VY)ed$/$1/
|
190
|
0 |
0 |
if $word =~ s/ed$/e/
|
196
|
0 |
0 |
if $word =~ s/(${V}se)s$/$1/
|
197
|
0 |
0 |
if $word =~ s/(.${CXY}z)es$/$1/
|
198
|
0 |
0 |
if $word =~ s/(${VY}ze)s$/$1/
|
199
|
0 |
0 |
if $word =~ s/($S2)es$/$1/
|
200
|
0 |
0 |
if $word =~ s/(.${V}rse)s$/$1/
|
201
|
0 |
0 |
if $word =~ s/onses$/onse/
|
202
|
0 |
0 |
if $word =~ s/($S)es$/$1/
|
204
|
0 |
0 |
if $word =~ s/(.$C)ies$/$1y/
|
205
|
0 |
0 |
if $word =~ s/(${CXY}o)es$/$1/
|
206
|
0 |
0 |
if $word =~ s/(.)s$/$1/
|
212
|
0 |
0 |
if $word =~ s/([^e]ll)er$/$1/
|
213
|
0 |
0 |
if $word =~ s/($C)\1er$/$1/
|
214
|
0 |
0 |
if $word =~ s/ier$/y/
|
215
|
0 |
0 |
if $word =~ s/($V$V$C)er$/$1/
|
216
|
0 |
0 |
if $word =~ s/($C${V}[npwx])er$/$1/
|
217
|
0 |
0 |
if $word =~ s/($V$C)er$/$1e/
|
218
|
0 |
0 |
if $word =~ s/([bcdfghjklmpqrstvwxz][cglsv])er$/$1e/
|
219
|
0 |
0 |
if $word =~ s/([ue])er$/$1e/
|
220
|
0 |
0 |
if $word =~ s/er$//
|
226
|
0 |
0 |
if $word =~ s/([^e]ll)est$/$1/
|
227
|
0 |
0 |
if $word =~ s/(.)\1est$/$1/
|
228
|
0 |
0 |
if $word =~ s/iest$/y/
|
229
|
0 |
0 |
if $word =~ s/($V$V$C)est$/$1/
|
230
|
0 |
0 |
if $word =~ s/($C${V}[npwx])est$/$1/
|
231
|
0 |
0 |
if $word =~ s/($V$C)est$/$1e/
|
232
|
0 |
0 |
if $word =~ s/([bcdfghjklmpqrstvwxz][cglsv])est$/$1e/
|
233
|
0 |
0 |
if $word =~ s/(.{3,})est$/$1/
|
240
|
0 |
1 |
$tag =~ /JJS|RBS/ ? :
|
|
0 |
1 |
$tag =~ /JJR|RBR/ ? :
|
|
0 |
1 |
$tag eq 'VBZ' ? :
|
|
0 |
1 |
$tag =~ /VB[DN]/ ? :
|
|
0 |
1 |
$tag =~ /^VBG/ ? :
|
|
0 |
1 |
$tag =~ /NNP?S/ ? :
|
249
|
0 |
1 |
if $lemma eq ''
|
257
|
0 |
1 |
unless open my $ex_file, '<:encoding(utf-8)', $self->exceptions_filename
|