From nobody@digitalkingdom.org Thu Nov 08 09:33:28 2007 Received: with ECARTIS (v1.0.0; list lojban-list); Thu, 08 Nov 2007 09:33:28 -0800 (PST) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.67) (envelope-from ) id 1IqBFw-00025N-2n for lojban-list-real@lojban.org; Thu, 08 Nov 2007 09:33:28 -0800 Received: from wa-out-1112.google.com ([209.85.146.182]) by chain.digitalkingdom.org with esmtp (Exim 4.67) (envelope-from ) id 1IqBFu-000251-4L for lojban-list@lojban.org; Thu, 08 Nov 2007 09:33:27 -0800 Received: by wa-out-1112.google.com with SMTP id m16so286055waf for ; Thu, 08 Nov 2007 09:33:17 -0800 (PST) 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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=UKUebu6vjXtMCul62o3bJj8UgG4bod3UxFsleD7YVQM=; b=JXgXiPichIblPI6HAmnxyYOIrF0DudHhob8zxXEiHqJGLauiUr0jHFPQKWRXdWMH9iUQkH8xpZP4Zc1y20eRLN22osx+xfr4r+eEVx7Fk5IXi6xDDGh9svCDhWM9aL0FAAeeR1X11UHVfguhswFH60B2rSFNqnJwPw14p8kCZHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=C31mGoy+qqsu4NUlrLunZQ6CiCI6HdoyqnMWlfITbyD/a2yb3cxeXcSudHApxNUCWDFxrvS7ZRXYaf8INPXGJSdazxN5swrNX5wvzanwmcnmWAhNKp0tU2hVNAeAMkL7ApN0FmQXF51qXDAzRr2vUL7H+r3CXcUYx8l91IzVRl8= Received: by 10.114.181.1 with SMTP id d1mr94312waf.1194543197453; Thu, 08 Nov 2007 09:33:17 -0800 (PST) Received: by 10.114.125.15 with HTTP; Thu, 8 Nov 2007 09:33:17 -0800 (PST) Message-ID: <737b61f30711080933s23ebe987ib8970e3dcbe6fc33@mail.gmail.com> Date: Thu, 8 Nov 2007 11:33:17 -0600 From: "Chris Capel" To: lojban-list@lojban.org Subject: [lojban] peg grammar parse tree cmavo MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Score: -0.0 X-Spam-Score-Int: 0 X-Spam-Bar: / X-archive-position: 13909 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: pdf23ds@gmail.com Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list I think it would be nice to have "cmavo" in the parse tree for all the cmavo. This can *easily* be accomplished by changing, for instance, "A-pre <- pre-clause A spaces?" to "A-pre <- pre-clause &A CMAVO spaces?" Alternately, the same could be done in the morphology, by changing "A <- &cmavo (etc etc)" to "A <- &(etc etc) cmavo" >From a layout standpoint, I think it would make more sense to have it in the morphology. But either might have a performance penalty. But there's another option, too. Rats has a feature, (and I could easily add a feature in my parser) where you can give names to parts of a production. They call it "semantic something-or-other". So A-pre would look like "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? Chris Capel -- "What is it like to be a bat? What is it like to bat a bee? What is it like to be a bee being batted? What is it like to be a batted bee?" -- The Mind's I (Hofstadter, Dennet) 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.