[Tlhingan-hol] Mangling Klingon to make it sortable

David Trimboli david at trimboli.name
Fri Jul 12 10:19:17 PDT 2013


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/



More information about the Tlhingan-hol mailing list