WikiDiscuss

WikiDiscuss


PEG Morphology Algorithm

posts: 14214

On Tue, Dec 21, 2004 at 10:17:12AM -0800, Jorge Llamb?as wrote:
>
> --- Robin Lee Powell wrote:
> > On Tue, Dec 21, 2004 at 10:08:31AM -0800, Jorge Llamb?as wrote:
> > > Or how about:
> > >
> > > initial-cluster <- initial-consonant+ consonant? !consonant
> >
> > Nope. That will match {t} alone.
>
> How come? Both {t} and {c} are valid initial-consonant so they
> should both be grabbed by initial-consonant+
> No consonant is found next, so consonant? grabs nothing.
> And finally !consonant is satisfied because what follows is {i}.

You misunderstand. That will just as easily match {t} in {ti'ile}
as {tc} in {tci'ile}. {t} is "one or more" initial consonants.

-Robin