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....
Platforms: *nix
License: Freeware | Size: 276.48 KB | Download (101): Unicode::Collate Download |
GNU FriBidi is the Free Implementation of the Unicode Bidirectional Algorithm. GNU FriBidi development has been moved to freedesktop.org. See http://fribidi.org/
Platforms: Windows, Mac, Linux
License: Freeware | Size: 327.86 KB | Download (48): GNU FriBidi Download |
Liblinebreak is an implementation of the line breaking algorithm as described in Unicode 6.0.0 Standard Annex 14, Revision 26. It breaks lines that contain Unicode characters. It is designed to be used in a generic text renderer. FBReader is one real-world example, and you may also check some...
Platforms: *nix
License: Freeware | Size: 378.88 KB | Download (32): liblinebreak Download |
Algorithm::Dependency is a base class for implementing various dependency trees. SYNOPSIS use Algorithm::Dependency; use Algorithm::Dependency::Source::File; # Load the data from a simple text file my $data_source = Algorithm::Dependency::Source::File->new( foo.txt ); # Create the...
Platforms: *nix
License: Freeware | Size: 46.08 KB | Download (121): Algorithm::Dependency Download |
Algorithm::Knapsack is a brute-force algorithm for the knapsack problem. SYNOPSIS use Algorithm::Knapsack; my $knapsack = Algorithm::Knapsack->new( capacity => $capacity, weights => @weights, ); $knapsack->compute(); foreach my $solution ($knapsack->solutions()) { foreach my $index...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (209): Algorithm::Knapsack Download |
Algorithm::DiffOld is a Perl module to compute `intelligent differences between two files / lists but use the old (<=0.59) interface. NOTE This has been provided as part of the Algorithm::Diff package by Ned Konz. This particular module is ONLY for people who HAVE to have the old interface,...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (95): Algorithm::DiffOld Download |
Algorithm::Loops is a Perl module with looping constructs: NestedLoops, MapCar*, Filter, and NextPermute*. SYNOPSYS use Algorithm::Loops qw( Filter MapCar MapCarU MapCarE MapCarMin NextPermute NextPermuteNum NestedLoops ); my @copy= Filter {tr/A-Z.,"()/a-z/d} @list; my $string= Filter...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (108): Algorithm::Loops Download |
Algorithm::Diff::Apply is a Perl module to apply one or more Algorithm::Diff diffs. SYNOPSIS ## Single-diff form: use Algorithm::Diff::Apply qw{apply_diff}; my @ary = ...; my @diff = ...; # some call to Algorithm::Diff::diff() my @changed_ary = apply_diff(@ary, @diff); my $changed_ary =...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (92): Algorithm::Diff::Apply Download |
Parallel Genetic Algorithm Library (or PGAL for short) is a C++ toolkit for simply, efficiently, and swiftly producing genetic algorithm code that works across multiple processors. This is useful not only for those with multi-processor computers, but also for distributed and cluster computing...
Platforms: *nix
License: Freeware | Size: 75.78 KB | Download (218): Parallel Genetic Algorithm Library Download |
Unicode::MapUTF8 is a Perl module with conversions to and from arbitrary character sets and UTF8. SYNOPSIS use Unicode::MapUTF8 qw(to_utf8 from_utf8 utf8_supported_charset); # Convert a string in ISO-8859-1 to UTF8 my $output = to_utf8({ -string => An example, -charset => ISO-8859-1 });...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (119): Unicode::MapUTF8 Download |
Unicode Utilities project are a set of programs for manipulating and analyzing Unicode text. uniname defaults to printing the character offset of each character, its byte offset, its hex code value, its encoding, the glyph itself, and its name. Command line options allow undesired information to...
Platforms: *nix
License: Freeware | Size: 256 KB | Download (103): Unicode Utilities Download |
Algorithm::BinPack is a Perl module that can efficiently pack items into bins. SYNOPSIS Algorithm::BinPack efficiently packs items into bins. The bins are given a maximum size, and items are packed in with as little empty space as possible. An example use would be backing up files to CD,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (107): Algorithm::BinPack Download |
Unicode::Unihan is the Unihan Data Base 5.0.0. SYNOPSIS use Unicode::Unihan; my $db = new Unicode::Unihan; print join("," => $db->Mandarin("x{5c0f}x{98fc}x{5f3e}"), "n"; ABSTRACT This module provides a user-friendly interface to the Unicode Unihan Database 3.2. With this module, the...
Platforms: *nix
License: Freeware | Size: 4.9 MB | Download (111): Unicode::Unihan Download |
Genetic Algorithm File Fitter, or just GAFFitter, is a command-line software written in C++ that arranges--via a genetic algorithm--an input list of items or files/directories into volumes of a certain capacity (target), such as CD or DVD, in a way that the total wastage is minimized. By smartly...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (122): Genetic Algorithm File Fitter Download |
Algorithm::Permute is a Perl module with handy and fast permutation with object oriented interface. SYNOPSIS use Algorithm::Permute; my $p = new Algorithm::Permute([a..d]); while (@res = $p->next) { print join(", ", @res), "n"; } my @array = (1..9); Algorithm::Permute::permute { print...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (108): Algorithm::Permute Download |
Unicode::Overload is a Perl source filter to implement Unicode operations. SYNOPSIS use charnames :full; use Unicode::Overload ( "N{UNION}" => infix => sub { my %a = map{$_=>1}@{$_[0]}; my %b = map{$_=>1}@{$_[1]}; return keys(%a,$b); }, "N{SUPERSCRIPT TWO}" => postfix => sub { $_[0] **...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (97): Unicode::Overload Download |
Unicode::Map8 is a mapping table between 8-bit chars and Unicode. SYNOPSIS require Unicode::Map8; my $no_map = Unicode::Map8->new("ISO646-NO") || die; my $l1_map = Unicode::Map8->new("latin1") || die; my $ustr = $no_map->to16("V}re norske tegn b|r {resn"); my $lstr = $l1_map->to8($ustr);...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (114): Unicode::Map8 Download |
Unicode::Escape is a Perl module with escape and unescape Unicode characters other than ASCII. SYNOPSIS # Escape Unicode charactors like u3042u3043u3044. # JSON thinks No more Garble!! # case 1 use Unicode::Escape; my $escaped1 = Unicode::Escape::escape($str1, euc-jp); # $str1 contains...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (116): Unicode::Escape Download |
Algorithm::SISort is a Perl module that contains select and insert sorting algorithm. SYNOPSIS use Algorithm::SISort qw(Sort Sort_inplace); @sorted_list = Sort {$_[0] <=> $_[1]} @unsorted_list; # ... or ... $number_of_comparisons = Sort_inplace {$_[0] <=> $_[1]} @unsorted_list; This...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (100): Algorithm::SISort Download |
Algorithm::Merge is a Perl module package that provides three-way merge and diff. SYNOPSIS use Algorithm::Merge qw(merge diff3 traverse_sequences3); @merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } }); @merged = merge(@ancestor, @a, @b, { CONFLICT => sub { } },...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (92): Algorithm::Merge Download |