Re: Reversible sound change applier
From: | Henrik Theiling <theiling@...> |
Date: | Sunday, May 14, 2006, 21:43 |
Jamie Norrish wrote:
>Henrik Theiling writes:
>
>[Global and local boolean flags]
> > In the way you can mark for dialects, my script allows marking
> > rules for global flags which you can set to true or false before
> > running a conversion, switching on and off thusly constrained
> > rules.
>
>Right - a handy generic feature! I'm curious whether you know if the
>usage of this feature has clustered at all around particular uses -
>such as for dialects.
Hmm, my script is very young. No particular clustering yet, I think.
I use the feature for implementing conversions that are not too well
documented (few words where the effect can be seen) or unstable
(several parallel forms are attested) or different for different words,
so that I can manually choose which way a word goes.
>I've been asked about allowing exceptions to rules, and had
>wondered about the best way to handle this. Certainly something which
>can have rules as 'exceptions' might prove useful for cases such as
>the above.
I'm a bit easier off -- implementing local flags is tricky when running
the sound changes backwards, which I never tried for my tool.
**Henrik