WikiDiscuss

WikiDiscuss


PEG Morphology Algorithm

On Wednesday 22 December 2004 13:58, Robin Lee Powell wrote:
> Cage match between camxes and valfendi, round one:
>
> $ echo "muSTEl,aVIson" | valfendi -a -l -s
>
> >muSTE< -l,a VIson.
>
> (which means "muSTE" is a non-Lojban word, "l,a" is a cmavo, and
> "VIson" is a cmene)

On finding {la} before a cmene without a pause between them, it breaks off
what's on both sides of {la}. This is the way BRKWORDS did it.

If camxes and valfendi give different output on an invalid string (in this
case, {mu stela vison} requires a pause before {vison}, and btw when I try
{muSTEla.VIson} I get {mu stela vison}), that is not necessarily a bug.

phma
--
Mes règles mensuelles ont lieu une fois par an.
-Les Perles de la médecine