PEG Morphology Algorithm
On Tue, Dec 21, 2004 at 10:08:31AM -0800, Jorge Llamb?as wrote:
>
> --- Robin Lee Powell wrote:
>
> > You just got bitten by greedy absorption. Welcome to my world.
> >
>
> Aaahhrgghhh!!
>
> > The solution is:
> >
> > initial-cluster <- (initial-consonant &consonant)+ consonant
> > !consonant
>
> Or how about:
>
> initial-cluster <- initial-consonant+ consonant? !consonant
Nope. That will match {t} alone. What you're trying to do there
is:
initial-cluster <- initial-consonant initial-consonant+
consonant? !consonant / initial-consonant+
consonant !consonant
which seems needlessly complicated.
-Robin