1Collate::CJK::Pinyin(3)User Contributed Perl DocumentatioCnollate::CJK::Pinyin(3)
2
3
4
6 Unicode::Collate::CJK::Pinyin - weighting CJK Unified Ideographs for
7 Unicode::Collate
8
10 use Unicode::Collate;
11 use Unicode::Collate::CJK::Pinyin;
12
13 my $collator = Unicode::Collate->new(
14 overrideCJK => \&Unicode::Collate::CJK::Pinyin::weightPinyin
15 );
16
18 "Unicode::Collate::CJK::Pinyin" provides "weightPinyin()", that is
19 adequate for "overrideCJK" of "Unicode::Collate" and makes tailoring of
20 CJK Unified Ideographs in the order of CLDR's pinyin ordering.
21
23 The pinyin ordering includes some characters that are not CJK Unified
24 Ideographs and can't utilize "weightPinyin()" for collation. For them,
25 use "entry" instead.
26
28 CLDR - Unicode Common Locale Data Repository
29 <http://cldr.unicode.org/>
30
31 Unicode Locale Data Markup Language (LDML) - UTS #35
32 <http://www.unicode.org/reports/tr35/>
33
34 Unicode::Collate
35 Unicode::Collate::Locale
36
37
38
39perl v5.32.1 2021-01-27 Collate::CJK::Pinyin(3)