blib/lib/Treex/Block/W2A/ResegmentSentences.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 22 | 18.1 |
line | true | false | branch |
---|---|---|---|
27 | 6 | 3 | if (exists $self->segmenters->{$lang}) |
38 | 3 | 3 | if ($segmenter) { } |
61 | 0 | 0 | if ($segments > $max_segments) |
62 | 0 | 0 | if ($label eq $my_label) |
67 | 0 | 0 | if ($my_segments == 0) |
73 | 0 | 0 | if $my_segments == 1 |
76 | 0 | 0 | if ($self->remove eq 'all') |
92 | 0 | 0 | if ($self->remove eq 'diff') |
93 | 0 | 0 | if (&any(sub { $_ != $my_segments; } , map({scalar @{$sentences{$_};};} @labels))) |
114 | 0 | 0 | unless (defined $sent) |
118 | 0 | 0 | if ($i == $my_segments and $max_segments > $my_segments) |