line |
true |
false |
branch |
35
|
0 |
0 |
unless open ALP, "< $inputfile" |
38
|
0 |
0 |
if ($line =~ /
|
43
|
0 |
0 |
if ($line =~ / id=\"([0-9]+)\" /) |
46
|
0 |
0 |
if ($line =~ / begin=\"([0-9]+)\" /) |
50
|
0 |
0 |
if ($line =~ / rel=\"([^\"]+)\"/) |
54
|
0 |
0 |
if ($line =~ / frame=\"([^\"]+)\"/) |
59
|
0 |
0 |
if ($line =~ / cat=\"([^\"]+)\"/) |
63
|
0 |
0 |
if ($line =~ / lcat=\"([^\"]+)\"/) |
67
|
0 |
0 |
if ($line =~ / sc=\"([^\"]+)\"/) |
72
|
0 |
0 |
if ($line =~ / word=\"([^\"]+?)[\.\,]?\"/) |
76
|
0 |
0 |
if ($line =~ / root=\"([^\"]+?)[\.\,]?\"/) |
80
|
0 |
0 |
if ($line =~ / wh=\"([^\"]+)\"/) |
84
|
0 |
0 |
if ($line =~ / index=\"([^\"]+)\"/) |
91
|
0 |
0 |
if ($line =~ m[] or $line =~ m[/>]) |
95
|
0 |
0 |
if ($line =~ m[(.*)]) |
96
|
0 |
0 |
if $verbose |
107
|
0 |
0 |
if (defined $cat{$id} and $cat{$id} =~ /^(smain|ssub|sv1)$/) |
108
|
0 |
0 |
unless (defined $clauses_done{$id}) |
113
|
0 |
0 |
unless (defined $clauses_done{$new_head_id}) |
115
|
0 |
0 |
if ($voice eq 'passive') { } |
153
|
0 |
0 |
if (defined $sc{$id} and $sc{$id} eq 'passive') |
158
|
0 |
0 |
if (defined $frame{$id}) |
162
|
0 |
0 |
if ($rel eq 'hd' and $verb eq '' and $frame =~ /verb/) { } |
|
0 |
0 |
elsif ($rel eq 'vc' or $rel eq 'body') { } |
|
0 |
0 |
elsif ($rel eq 'su' and $subject eq '') { } |
|
0 |
0 |
elsif ($rel =~ /^(obj1|obj2|predc)$/) { } |
|
0 |
0 |
elsif ($rel =~ /^(mod|pc|predm|ld)$/) { } |
176
|
0 |
0 |
if ($begin{$id} eq '0') |
181
|
0 |
0 |
if ($object =~ /su:/ and $rel eq 'obj1') { } |
196
|
0 |
0 |
if ($subject eq '' and $object =~ /su:/) |
200
|
0 |
0 |
if ($modifier =~ /door (.+)$/) |
207
|
0 |
0 |
if ($subject eq '') |
214
|
0 |
0 |
if ($object =~ s/([a-z0-9]+):(.+) ([a-z0-9]+):(.+)/$1:$2|$3:$4/) |
225
|
0 |
0 |
if ($verb_type eq 'copula' and $subject =~ /\S/ and $object =~ /\S/) |
232
|
0 |
0 |
if ($subject =~ /:(die|dat|wat) *$/i and defined $subj_id) |
238
|
0 |
0 |
if ($object =~ /:(die|dat|wat) *$/i and defined $obj_id) |
248
|
0 |
0 |
if ($object =~ s/ ([0-9]{4})$//) |
254
|
0 |
0 |
if ($sentence_initial and $subject =~ /^(de|het|een|die|dat|deze|dit|alle|andere|dezelfde|geen|ieder|meer|veel|vele|weinig|welke|zoveel) /i) |
262
|
0 |
0 |
if ($verb eq '' or $object eq '' and not defined $modifiers[0] and $verb_type =~ /(aux|passive)/) { } |
273
|
0 |
0 |
unless (defined $cat{$start_id} and not defined $lcat{$start_id} && defined $index{$start_id}) |
276
|
0 |
0 |
if (defined $index{$start_id}) |
279
|
0 |
0 |
if (defined $cat{$index_id} or defined $lcat{$index_id}) |
287
|
0 |
0 |
if defined $word{$start_id} |
291
|
0 |
0 |
if $rel{$id} eq 'rhd' |
292
|
0 |
0 |
if defined $word{$id} |
302
|
0 |
0 |
if (defined $cat{$head_id}) { } |
|
0 |
0 |
elsif (defined $lcat{$head_id}) { } |
312
|
0 |
0 |
if ($head_id == 0 and $cat{$head_id} ne $search_cat) |
326
|
0 |
0 |
if $level{$id} == $headlevel + 1 |
329
|
0 |
0 |
if $level{$id} == $headlevel + 1 |