line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Word::Segmenter::Chinese::Lite::Dict; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
87
|
use 5.008008; |
|
3
|
|
|
|
|
21
|
|
|
3
|
|
|
|
|
140
|
|
4
|
3
|
|
|
3
|
|
19
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
88
|
|
5
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
83
|
|
6
|
3
|
|
|
3
|
|
4450
|
use JSON::XS qw(decode_json); |
|
3
|
|
|
|
|
35317
|
|
|
3
|
|
|
|
|
270
|
|
7
|
|
|
|
|
|
|
|
8
|
3
|
|
|
3
|
|
63028
|
use Word::Segmenter::Chinese::Lite::Dict::Default; |
|
3
|
|
|
|
|
17
|
|
|
3
|
|
|
|
|
608
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
require Exporter; |
11
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
12
|
|
|
|
|
|
|
our @EXPORT = qw(wscl_get_dict_default); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub wscl_get_dict_default { |
15
|
1
|
|
|
1
|
0
|
418616
|
my $dict_default_hashref = |
16
|
|
|
|
|
|
|
decode_json($Word::Segmenter::Chinese::Lite::Dict::Default::DICT_DEFAULT); |
17
|
1
|
|
|
|
|
38
|
return %$dict_default_hashref; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
__END__ |