[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: peg grammar parse tree cmavo
- To: lojban-list@lojban.org
- Subject: [lojban] Re: peg grammar parse tree cmavo
- From: "Jorge Llambías" <jjllambias@gmail.com>
- Date: Thu, 8 Nov 2007 17:24:44 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=AzxGuMfSm/6Q6y56C1qixSrwPbg0YMSLbqaYfx7m8hQ=; b=M3ZEZWwfV39FPDnVv7/Nnq/cEfjFJm0DSqLG7B//LJC18TgLiKhKMYL6zISeFjpgUtr2laZ3mgZInjKT3UOGzRtTttiLor1EKqvg6C7wDBQS0iIOPBa03P6VoEKBOaYP8wFiQ4WeEOeue+C5WIlqmaQBn1vhyVBovzaokk+LD0Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oeE/FLlmuSxHfvE+RzCPO/Z8rnWijKnYy0EnFN51jhA+APaILNIOVlTqybhPiYDoOloe1gsEzRzd7d9n7yef+9lAK7/I2MzJKLqWwEQV5VG9BbFc2ih4wJe2Q85b76nPU7jqKbnDqEKiEoCnhrQWwRLegpF5IVmEqHhGBIiMJHo=
- In-reply-to: <737b61f30711080933s23ebe987ib8970e3dcbe6fc33@mail.gmail.com>
- References: <737b61f30711080933s23ebe987ib8970e3dcbe6fc33@mail.gmail.com>
- Reply-to: lojban-list@lojban.org
- Sender: lojban-list-bounce@lojban.org
On 11/8/07, Chris Capel <pdf23ds@gmail.com> wrote:
>
> From a layout standpoint, I think it would make more sense to have it
> in the morphology.
I agree, it does make sense.
> But either might have a performance penalty.
This might actually improve performance, because checking whether it
is a cmavo in general has to be more costly than checking whether it is
a particular cmavo.
> "A-pre <- pre-clause A:cmavo spaces?"
>
> "cmavo" there would just be a label that affects the parse tree,
> creating an extra node called "cmavo" that contains "A".
>
> What do you think?
Could you instead have:
"A:cmavo <- &cmavo ( a / e / j i / o / u ) &post-word"
That would seem cleaner than having the label in the A-pre rule.
mu'o mi'e xorxes
To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.