Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: Introduction and sandhi scripting question.

From:Philip Newton <philip.newton@...>
Date:Thursday, July 6, 2006, 10:56
On 7/5/06, Edgard Bikelis <bikelis@...> wrote:
> I have never used Perl, > and then I have no idea about how to use this: > > http://search.cpan.org/~pne/Lingua-SoundChange-0.05/SoundChange.pm > > that seems very promising, anyway.
Wow, blast from the past. I wrote that thing, way back when... judging by CPAN's page, it hasn't been touched since 2002. On 7/5/06, Shreyas Sampat <ssampat@...> wrote:
> 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.
My sound change applier allows for classes to be replaced by classes (e.g. [ptk] by [bdg], meaning all three of p->b, t->d, k->g in one rule). I'm not quite sure what you mean by "patterned shift", though. Cheers, -- Philip Newton <philip.newton@...>