Unicode::CollateUnicode::Collate is a Unicode Collation Algorithm. | |
Download |
Unicode::Collate Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- SADAHIRO Tomoyuki
- Publisher web site:
- http://search.cpan.org/~sadahiro/ShiftJIS-String-1.04/String.pod
Unicode::Collate Tags
Unicode::Collate Description
Unicode::Collate is a Unicode Collation Algorithm. Unicode::Collate is a Unicode Collation Algorithm.SYNOPSIS use Unicode::Collate; #construct $Collator = Unicode::Collate->new(%tailoring); #sort @sorted = $Collator->sort(@not_sorted); #compare $result = $Collator->cmp($a, $b); # returns 1, 0, or -1. # If %tailoring is false (i.e. empty), # $Collator should do the default collation.This module is an implementation of Unicode Technical Standard #10 (a.k.a. UTS #10) - Unicode Collation Algorithm (a.k.a. UCA).Constructor and TailoringThe new method returns a collator object. $Collator = Unicode::Collate->new( UCA_Version => $UCA_Version, alternate => $alternate, # deprecated: use of 'variable' is recommended. backwards => $levelNumber, # or @levelNumbers entry => $element, hangul_terminator => $term_primary_weight, ignoreName => qr/$ignoreName/, ignoreChar => qr/$ignoreChar/, katakana_before_hiragana => $bool, level => $collationLevel, normalization => $normalization_form, overrideCJK => &overrideCJK, overrideHangul => &overrideHangul, preprocess => &preprocess, rearrange => @charList, table => $filename, undefName => qr/$undefName/, undefChar => qr/$undefChar/, upper_before_lower => $bool, variable => $variable, ); Requirements: · Perl
Unicode::Collate Related Software