blib/lib/Text/TFIDF/Ngram.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 11 | 81.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
90 | 71 | 3 | 5 | $self->stopwords and grep {$stop->{$_};} split(/\s+/, $p, 0) |
113 | 0 | 1 | 14 | exists $self->counts->{$file} and exists $self->counts->{$file}{$phrase} |
line | l | !l | condition |
---|---|---|---|
67 | 6 | 0 | $args->{'size'} ||= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
153 | 2 | 2 | 4 | $seen{$phrase}++ or not defined $tfidf |