[96688] in tlhIngan-Hol
Re: [Tlhingan-hol] Mangling Klingon to make it sortable
daemon@ATHENA.MIT.EDU (David Trimboli)
Fri Jul 12 13:19:33 2013
Date: Fri, 12 Jul 2013 13:19:17 -0400
From: David Trimboli <david@trimboli.name>
To: tlhingan-hol@stodi.digitalkingdom.org
In-Reply-To: <51E03A3B.1010604@trimboli.name>
Errors-To: tlhingan-hol-bounces@stodi.digitalkingdom.org
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@stodi.digitalkingdom.org
http://stodi.digitalkingdom.org/mailman/listinfo/tlhingan-hol