in reply to Sorting Vietnamese text
Given the file is large, you can try using Sort::External supplied with the following sortsub: sub { $index{$Sort::External::a} <=> $index{$Sort::External::b} }
Where %index is a hash with letters from the vietnamese alphabet as its keys and their corresponding positions in the alphabet as its values.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Sorting Vietnamese text
by pdenisowski (Acolyte) on Dec 22, 2013 at 20:09 UTC | |
by Atacama (Sexton) on Dec 23, 2013 at 00:35 UTC |
In Section
Seekers of Perl Wisdom