From lojban-out@lojban.org Thu Nov 08 09:35:18 2007 Return-Path: X-Sender: lojban-out@lojban.org X-Apparently-To: lojban@yahoogroups.com X-Received: (qmail 69698 invoked from network); 8 Nov 2007 17:35:17 -0000 X-Received: from unknown (66.218.67.95) by m47.grp.scd.yahoo.com with QMQP; 8 Nov 2007 17:35:17 -0000 X-Received: from unknown (HELO mail1.sea5.speakeasy.net) (69.17.117.3) by mta16.grp.scd.yahoo.com with SMTP; 8 Nov 2007 17:35:17 -0000 X-Received: (qmail 18200 invoked from network); 8 Nov 2007 17:35:16 -0000 X-Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 8 Nov 2007 17:35:16 -0000 X-Received: from lojban-out by chain.digitalkingdom.org with local (Exim 4.67) (envelope-from ) id 1IqBHd-0002BU-2r for lojban@yahoogroups.com; Thu, 08 Nov 2007 09:35:15 -0800 X-Received: from chain.digitalkingdom.org ([64.81.66.169]) by chain.digitalkingdom.org with esmtp (Exim 4.67) (envelope-from ) id 1IqBH8-00025U-VD; Thu, 08 Nov 2007 09:34:44 -0800 X-Received: with ECARTIS (v1.0.0; list lojban-list); Thu, 08 Nov 2007 09:33:28 -0800 (PST) X-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 X-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 X-Received: by wa-out-1112.google.com with SMTP id m16so286055waf for ; Thu, 08 Nov 2007 09:33:17 -0800 (PST) X-Received: by 10.114.181.1 with SMTP id d1mr94312waf.1194543197453; Thu, 08 Nov 2007 09:33:17 -0800 (PST) X-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 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 Errors-to: lojban-list-bounce@lojban.org X-original-sender: pdf23ds@gmail.com X-list: lojban-list X-Spam-Score: 0.0 X-Spam-Score-Int: 0 X-Spam-Bar: / To: lojban@yahoogroups.com X-Originating-IP: 69.17.117.3 X-eGroups-Msg-Info: 1:12:0:0:0 X-eGroups-From: "Chris Capel" From: "Chris Capel" Reply-To: pdf23ds@gmail.com Subject: [lojban] peg grammar parse tree cmavo X-Yahoo-Group-Post: member; u=116389790; y=qvV-19imQ5DEccEFG5sKhRUKV5B02GFGumi3eY_Hykr2a7r5lw X-Yahoo-Profile: lojban_out X-Yahoo-Message-Num: 28387 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.