Re: lsort -dictionary
- From: wjposer@xxxxxxxxxxxxxxxxxxx (William J Poser)
- Date: Tue, 6 Sep 2005 01:31:37 +0000 (UTC)
Donal Fellows wrote:
>Darren New wrote:
>> I don't think there is any standard meaning of "dictionary", and
>> certainly not one that spans languages.
>It's been well known for a long time that string collation is
>locale-specific. For example, German and Swedish handle umlauts
>entirely differently, and the rules for Turkish, though very logical in
>their own terms, are really very odd by comparison with most European
>languages.
True, indeed there are languages that do not have a single
ordering system. Japanese has two entirely different orders
for kana between which one may choose.
I've never thought of the rules for Turkish as so odd though.
The alphabetical order is basically the same as for English,
with letters with diacritics sorting after their diacritic-less
counterparts. What are you thinking of?
However, the fact that the order of the primitive elements varies from
writing system to writing system, and that some other principles vary
as well, doesn't mean that there aren't more abstract generalizations
about ordering. For example, there is no writing system in which collation
is normally done from end to beginning.
In any case, in the case of "dictionary" ordering, the observed
variation is not a function of locale. People working in English
in the United States have created sort routines in which what they
call "dictionary" ordering means different things.
--
Bill Poser, Linguistics, University of Pennsylvania
http://www.ling.upenn.edu/~wjposer/ billposer@xxxxxxxxxxxx
.
- References:
- lsort -dictionary
- From: Donal K. Fellows
- lsort -dictionary
- Prev by Date: lsort -dictionary
- Next by Date: Re: tk syntax (newbie question)
- Previous by thread: lsort -dictionary
- Next by thread: Active Tcl beta version does not uninstall
- Index(es):
Relevant Pages
|
Loading