[Tlhingan-hol] Mangling Klingon to make it sortable

Robyn Stewart robyn at flyingstart.ca
Sat Jul 13 11:44:32 PDT 2013


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:david at trimboli.name] 
Sent: July 12, 2013 10:19 AM
To: tlhingan-hol at stodi.digitalkingdom.org
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
Tlhingan-hol at stodi.digitalkingdom.org
http://stodi.digitalkingdom.org/mailman/listinfo/tlhingan-hol




More information about the Tlhingan-hol mailing list