WikiDiscuss

WikiDiscuss


PEG Morphology Algorithm

On Sunday 26 December 2004 12:39, Jorge "Llambías" wrote:
> valfendi and camxes will also probably differ in how they
> handle things like: {zoi STElamrtteladjan STEla}
> and {zoi djan STElamrtteladjan}.
>
> camxes will parse the fisrt one as {zoi STEla >mrtteladjan< STEla}
> while the second one needs a closing delimiter {.djan.} for zoi.
>
> I suspect valfendi won't like the first one, but will parse the
> second one as {zoi djan STElamrtte la djan}.

valfendi currently lexes them as "-zoi >STElamrtte< -la djan. (STEla)" and
"-zoi djan. >STElamrtte< -la djan.". I haven't written any magic word
handling yet, but what I think it will do is reject the first (because
"stelamrtte" isn't a Lojban word) and reject the second (because finding a
{zoi} and delimiter turns off lexing until it sees the delimiter again after
a pause).

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