LINGUIST List 11.78

Mon Jan 17 2000

Sum: For Query: 11.12 Sorting Software

Editor for this issue: Lydia Grebenyova <lydialinguistlist.org>


Directory

  1. Hana Skoumalova, For Query: 11.12 Sorting Software

Message 1: For Query: 11.12 Sorting Software

Date: Fri, 14 Jan 2000 17:54:54 +0100
From: Hana Skoumalova <Hana.Skoumalovaff.cuni.cz>
Subject: For Query: 11.12 Sorting Software

Thanks to:

Sabine Bartsch
Tylman Ule
Sean M. Burke
Keith J. Miller

for their responses. It seems that I did not say clearly enough what I
wanted, but in spite of it I got the answer.

I needed a simple utility that provides bi-level sorting according to
sorting rules given for a particular language. Keith J. Miller suggested
locales, but they are not working for all languages. For Czech, for
example, I do not get standard Czech sorting but some kind of
well-tempered sorting of Latin-2 table. The glyph "ch" is not sorted
between "h" and "i" but between "ce" and "ci".

Sean M. Burke wrote the Perl module Sort::ArbBiLex that does exactly
what I need. It is easy to define one's own sorting order, and to sort
different lists in different way. The module can be obtained at
http://search.cpan.org/search?mode=dist&query=Sort-ArbBiLex .

Best regards,

Hana
- 
Hana Skoumalova Institute of Theoretical & Computational Linguistics
 Charles University
tel: +420 2 24491858 Celetna 13, 110 00 Praha 1
http://utkl.ff.cuni.cz/~skoumal Czech Republic
Mail to author|Respond to list|Read more issues|LINGUIST home page|Top of issue