[84279] in tlhIngan-Hol

home help back first fref pref prev next nref lref last post

Re: Klingon phonology in regular expressions

daemon@ATHENA.MIT.EDU (Alan Anderson)
Mon Mar 24 23:52:10 2008

In-Reply-To: <47E84508.7070308@trimboli.name>
From: Alan Anderson <aranders@insightbb.com>
Date: Mon, 24 Mar 2008 23:48:48 -0400
To: tlhingan-hol@kli.org
Errors-to: tlhingan-hol-bounce@kli.org
Reply-to: tlhingan-hol@kli.org

On Mar 24, 2008, at 8:19 PM, David Trimboli wrote:

> Has anyone ever worked with matching Klingon words in regular
> expressions? It's the prefixes (and -oy) that really cause problems.

Sorry, I can't help with that specific request.  As powerful as  
regular expressions are, they haven't yet found a place in my toolbox.

I wrote a program many years ago that did it "by hand", breaking down  
Klingon words into syllables that could then be run through a  
parser.  It detected the {jIloy} ambiguity and flagged it for a  
second pass, so it could be processed both as {jI-loy} and {jIl-oy}.   
Maybe that tack would work for you.



home help back first fref pref prev next nref lref last post