Re: Introduction and sandhi scripting question.
From: | Shreyas Sampat <ssampat@...> |
Date: | Wednesday, July 5, 2006, 19:31 |
Edgard Bikelis wrote:
>Those links on each word will lead to its inflection, and here I am
>stuck. I tried to write a sandhi script myself, but I had pain enough
>
>
I use Geoff's Sound Change Applier (here:
http://www.cix.co.uk/~morven/lang/sc.html ), which could handle your
ablaut patterns through "backquote rules", like this:
(I'll make up some pattern here)
First list the symbols of each vowel type:
grade2: éóEO
grade1: eoiu
grade0: ZZeo
I'm using Z to represent deletion.
A rule to downgrade a vowel from grade 2 to grade 1 looks like this: (iirc)
<grade2> `grade2`grade1 _
which means
"any time you find a <grade2> vowel, replace it with the vowel in grade1
in the same position in the list, in ANY environment."
It would be fantastic if somebody who knew Perl could take apart one of
the popular appliers and make a syntax specifically for patterned shifts
like this, though. Mine is sort of a hack.
Reply