| line |
true |
false |
branch |
|
53
|
416 |
61 |
if ($codes) |
|
66
|
2 |
0 |
unless ($params{'modeldir'}) |
|
70
|
0 |
2 |
unless (-d $params{'modeldir'}) |
|
81
|
2 |
27 |
unless (defined $self->{'models'}) |
|
102
|
0 |
2 |
unless opendir my $dh, $self->{'modeldir'} |
|
105
|
4 |
110 |
unless ($f =~ /\.train$/) |
|
110
|
0 |
110 |
unless open my $fh, '<:encoding(utf8)', $path |
|
115
|
0 |
33000 |
unless (defined $k) |
|
138
|
228 |
2854 |
if ($is_alph and not $inf->{'block'} eq $prev) |
|
145
|
3078 |
4 |
if ($current_run > -1) |
|
171
|
2853 |
229 |
if ($known) |
|
187
|
10 |
19 |
if (has_supplemental_latin(@$types)) |
|
190
|
7 |
22 |
if (has_extended_latin(@$types)) |
|
193
|
0 |
29 |
if (has_latin_extended_additional(@$types)) |
|
196
|
17 |
12 |
unless ($upgrade) |
|
202
|
198 |
13 |
if ($type =~ /Latin/) |
|
205
|
38 |
173 |
unless ($type eq $last_type) |
|
242
|
0 |
57 |
if (exists $scripts{'Hangul Syllables'} or exists $scripts{'Hangul Jamo'} or exists $scripts{'Hangul Compatibility Jamo'} or exists $scripts{'Hangul'}) |
|
249
|
1 |
56 |
if (exists $scripts{'Greek and Coptic'}) |
|
253
|
0 |
56 |
if (exists $scripts{'Katakana'} or exists $scripts{'Hiragana'} or exists $scripts{'Katakana Phonetic Extensions'}) |
|
259
|
0 |
55 |
if (exists $scripts{'CJK Unified Ideographs'} or exists $scripts{'Bopomofo'} or exists $scripts{'Bopomofo Extended'} or exists $scripts{'KangXi Radicals'}) |
|
266
|
7 |
48 |
if (exists $scripts{'Cyrillic'}) |
|
270
|
0 |
47 |
if (exists $scripts{'Arabic'} or exists $scripts{'Arabic Presentation Forms-A'} or exists $scripts{'Arabic Presentation Forms-B'}) |
|
276
|
0 |
47 |
if (exists $scripts{'Devanagari'}) |
|
283
|
1 |
828 |
if (exists $scripts{$s}) |
|
288
|
0 |
46 |
if (exists $scripts{'Superfreak Latin'}) |
|
292
|
7 |
39 |
if (exists $scripts{'Exotic Latin'}) |
|
296
|
5 |
34 |
if (exists $scripts{'Accented Latin'}) |
|
300
|
6 |
28 |
if (exists $scripts{'Basic Latin'}) |
|
316
|
10 |
540 |
unless (exists $self->{'models'}{$l}) |
|
344
|
9951 |
45752 |
exists $m2->{$k} ? : |
|
363
|
13162 |
1033 |
$trigrams{$b} == $trigrams{$a} ? : |