tlhIngan-Hol Archive: Mon Mar 24 20:51:27 2008
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Klingon phonology in regular expressions
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.