blib/lib/Lingua/EN/Segment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 15 | 60.0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
47 | 0 | 2 | 0 | ref $package || $package |
62 | 1 | 2 | 0 | $self->{'dist_dir'} ||= File::ShareDir::dist_dir('Lingua-EN-Segment') |
154 | 58454 | 302178 | 0 | $self->unigrams->{$word} || $self->unigrams->{'__unknown__'}->($word) |
171 | 663177 | 2 | 0 | $self->{'unigrams'} ||= $self->_read_file('count_1w.txt') |
186 | 360958 | 1 | 0 | $self->{'bigrams'} ||= $self->_read_file('count_2w.txt') |