Branch Coverage

blib/lib/Lingua/YaTeA/WordFromCorpus.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
80 36 1144 if ($this->getLexItem->getPOS eq $sentence_boundary)
91 0 1144 if ($this->getLexItem->getPOS eq $document_boundary)
120 248 960 if ($chunking_data->existData('ChunkingFrontiers', $type, $this->getLexItem->{$type}) == 1)
123 214 34 unless ($this->isChunkingException($chunking_data))
141 34 710 if ($chunking_data->existData('ChunkingExceptions', $type, $this->getLexItem->{$type}) == 1)
156 248 198 if ($chunking_data->existData('CleaningFrontiers', $type, $this->getLexItem->{$type}) == 1)
158 248 0 unless ($this->isCleaningException($chunking_data))
174 0 744 if ($chunking_data->existData('CleaningExceptions', $type, $this->getLexItem->{$type}) == 1)
187 120 25 if ($this->getLexItem->getPOS =~ /$compulsory/)