Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Unicode::Collate::CJK::Pinyin (3)

Name

Unicode::Collate::CJK::Pinyin - weighting CJK Unified Ideographs for Unicode::Collate

Synopsis

use Unicode::Collate;
use Unicode::Collate::CJK::Pinyin;

my $collator = Unicode::Collate->new(
overrideCJK => \&Unicode::Collate::CJK::Pinyin::weightPinyin
);

Description

Perl Programmers Reference Guide
                                              Unicode::Collate::CJK::Pinyin(3)



NAME
       Unicode::Collate::CJK::Pinyin - weighting CJK Unified Ideographs for
       Unicode::Collate

SYNOPSIS
           use Unicode::Collate;
           use Unicode::Collate::CJK::Pinyin;

           my $collator = Unicode::Collate->new(
               overrideCJK => \&Unicode::Collate::CJK::Pinyin::weightPinyin
           );

DESCRIPTION
       "Unicode::Collate::CJK::Pinyin" provides "weightPinyin()", that is
       adequate for "overrideCJK" of "Unicode::Collate" and makes tailoring of
       CJK Unified Ideographs in the order of CLDR's pinyin ordering.

CAVEAT
       The pinyin ordering includes some characters that are not CJK Unified
       Ideographs and can't utilize "weightPinyin()" for collation. For them,
       use "entry" instead.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

SEE ALSO
       CLDR - Unicode Common Locale Data Repository
           <http://cldr.unicode.org/>

       Unicode Locale Data Markup Language (LDML) - UTS #35
           <http://www.unicode.org/reports/tr35/>

       Unicode::Collate
       Unicode::Collate::Locale


NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14
                                              Unicode::Collate::CJK::Pinyin(3)