tlhIngan-Hol Archive: Thu Mar 27 07:40:37 2008
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Klingon phonology in regular expressions
- From: "Mark J. Reed" <[email protected]>
- Subject: Re: Klingon phonology in regular expressions
- Date: Mon, 24 Mar 2008 22:29:22 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=7e5cQGgR+ZpJEHdUCwTZhgSfNAeTpBm3xX3QpXdFlLo=; b=f9k6oHQzsUZGDhpXi4Bwma15K52JiCRgMiEpGL/zbBAycNOLxIVpD8QE4dIftjMFpcqu3hy3wMz3HXND9mHXpHFA3TWUc+nM+1N562lI7SxwbVuPDwE3ByErxevftxI7K5YvVOpm2qVk5R405NtYglghKIF5KePVR1IrFX6WYC8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=oLSP27XuDeVJbEv04vESS4Rv4ehzB8TtlqHbDd1Pd3wFLGCF+qijiqyEOHFJVcmYsJpflks2IUG2ldwLlSSxoF0Fbh+3qdw/G/WC41ka1zUE3ReKdOOiCcgyezGjh/ksAU1KZ7luTSmNQ4uZj1UtnEKijhhBqXigonbLUPdC1MA=
- In-reply-to: <[email protected]>
- References: <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Gah. Let me try that again.
$ gzcat tlhIngan.gz |
perl -ne 's/tlh\b/ts/g; s/\btlh/ghl/g; s/\bH/h/g; s/H\b//g; s/\bQ/H/g;
print if /(success|Klingon) \(n\)|yes,
true.*excl|with honor \(adv\)/'
Which yields this result:
hISla yes, true (answer to yes/no question) (excl)
hIja' yes, true (answer to yes/no question) (excl)
Hapla' success (n)
bats honor (n); honored, with honor (adv)
ghlIngan Klingon (n)
--
Mark J. Reed <[email protected]>