Condition Coverage

blib/lib/Lingua/EN/Tagger.pm
Criterion Covered Total %
condition 22 29 75.8


and 3 conditions

line !l l&&!r l&&r condition
158 0 0 10 -f $self->{'word_path'} and -f $self->{'tag_path'}
419 36 1417 599 defined $tokenized[$_ + 1] and $tokenized[$_ + 1] =~ /[\p{IsUpper}\W]/
1453 520 79 defined $tokenized[$_ + 1] and $tokenized[$_ + 1] =~ /[\p{IsUpper}\W]/ and $tokenized[$_] =~ /^(.+)\.$/
439 0 29 7 defined $words[$#words] and $words[$#words] =~ /^(.*\p{IsWord})\.$/
498 1966 0 0 $self->{'unknown_word_tag'} and $word eq '-unknown-'
523 68649 3597 2119 $self->{'relax'} and $tag =~ /^(?:jj|nn|rb|vb)/
616 0 11 10 $h_suffix and defined ${$_LEXICON{$h_suffix}{'jj'};}

or 2 conditions

line l !l condition
215 0 12 $self->_assign_tag($t, $self->_clean_word($_)) || $self->{'unknown_word_tag'} || 'nn'

or 3 conditions

line l !l&&r !l&&!r condition
428 18 1 60 defined $ABBR{lc $1} or $1 =~ /^\p{IsLower}$/i
19 1 59 defined $ABBR{lc $1} or $1 =~ /^\p{IsLower}$/i or $1 =~ /^\p{IsLower}(?:\.\p{IsLower})+$/i