[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lexing words that end in "la" before a cmevla
- To: lojban-list@lojban.org
- Subject: Lexing words that end in "la" before a cmevla
- From: Pierre Abbat <phma@phma.hn.org>
- Date: Sun, 26 Dec 2004 10:10:28 -0500
- Organization: dis
- User-agent: KMail/1.5
xorxes and I have a disagreement about lexing a word that ends in "la", "lai",
"la'i", or "doi", but is not a cmavo, before a cmene. The example in my test
file is {muSTEl,aVIson}. I am following the procedure in BRKWORDS.TXT, which
is to find a piece ending with a consonant, search backward for a cmegadri,
and break on both sides of it, thus producing {muSTE l,a VIson}. {muSTE} is
then called an error. xorxes wrote a PEG, which looks forward, finds {mu
STEla}, and resolves the rest as a name. It tries the whole phrase as a cmene
first, but that fails because of the "la". I can get the same result by
breaking (popygau) only after the cmegadri, but would that break (pofri'a)
anything? Why was the algorithm written like that?
phma
--
Ils pensent que j'ai un cancer du thé russe...
-Les Perles de la médecine