tlhIngan-Hol Archive: Sat Jul 13 11:44:46 2013

Back to archive top level

To this year's listing



[Date Prev][Date Next][Thread Prev][Thread Next]

Re: [Tlhingan-hol] Mangling Klingon to make it sortable

Robyn Stewart ([email protected]) [KLI Member] [Hol po'wI']



But when changing, make your changes case-sensitive, or else you will change
mangHom to mangom to manzom and then mis-restore it  to mangom. There are a
lot of problems like that that can occur if you don't pay careful attention
to substitution order, e.g. if you restore nz-->ng before you restore g -->
gh, then mangghom-->manzgom-->manghghom.

-----Original Message-----
From: David Trimboli [mailto:[email protected]] 
Sent: July 12, 2013 10:19 AM
To: [email protected]
Subject: Re: [Tlhingan-hol] Mangling Klingon to make it sortable

On 7/12/2013 1:17 PM, David Trimboli wrote:
> On 7/12/2013 1:00 PM, Phil Reynolds wrote:
>> I am looking for a way to take Klingon words and - possibly 
>> reversibly
>> - mangle them in some way to make most non-Klingon-aware software 
>> able to sort them into proper Klingon alphabetical order.
>
> Assuming "'" comes before "a" in your character set...
>
> Change "gh" to "g"
> Change "ch" to "c"
> Change "'" to "z"
> Change "ng" to "nz"
> Change "tlh" to "tz"
> Change "Q" to "qz"
>
> Now sort, then undo those conversions.

Oh, and make your sort case-insensitive.

--
SuStel
http://www.trimboli.name/

_______________________________________________
Tlhingan-hol mailing list
[email protected]
http://stodi.digitalkingdom.org/mailman/listinfo/tlhingan-hol


_______________________________________________
Tlhingan-hol mailing list
[email protected]
http://stodi.digitalkingdom.org/mailman/listinfo/tlhingan-hol



Back to archive top level