From nobody@digitalkingdom.org Tue Feb 28 20:30:43 2006 Received: with ECARTIS (v1.0.0; list lojban-beginners); Tue, 28 Feb 2006 21:00:31 -0800 (PST) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.60) (envelope-from ) id 1FEIz5-0005hq-8E for lojban-beginners-real@lojban.org; Tue, 28 Feb 2006 20:30:43 -0800 Received: from subvert-the-dominant-paradigm.net ([206.123.113.154]) by chain.digitalkingdom.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1FEIz2-0005hh-Oo for lojban-beginners@lojban.org; Tue, 28 Feb 2006 20:30:43 -0800 Received: from localhost ([127.0.0.1] helo=subvert-the-dominant-paradigm.net) by subvert-the-dominant-paradigm.net with esmtp (Exim 4.60) (envelope-from ) id 1FEIyz-00053R-7r for lojban-beginners@lojban.org; Wed, 01 Mar 2006 04:30:37 +0000 Received: from 203.144.240.245 (proxying for 189.2.255.60) (SquirrelMail authenticated user jewel) by subvert-the-dominant-paradigm.net with HTTP; Wed, 1 Mar 2006 11:30:37 +0700 (ICT) Message-ID: <37377.203.144.240.245.1141187437.squirrel@subvert-the-dominant-paradigm.net> In-Reply-To: <43E6A8F3.4080004@hypermetrics.com> References: <55715.203.155.1.245.1138033715.squirrel@subvert-the-dominant-paradigm.net> <1139155325.11221.4.camel@localhost.localdomain> <43E6A8F3.4080004@hypermetrics.com> Date: Wed, 1 Mar 2006 11:30:37 +0700 (ICT) Subject: [lojban-beginners] Re: Lojban parser and graph generator From: "John Leuner" To: lojban-beginners@lojban.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: -2.6 (--) X-archive-position: 3080 X-Approved-By: jkominek@miranda.org X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: jewel@subvert-the-dominant-paradigm.net Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners Yes, it's much more useful if the user can see the original text somehow related to the structure. Were you looking at the full parse tree? With the full parse tree you can work from the bottom up (where each letter in the original input forms its own node) and see how things are grouped. A quick way to do this is to simply add a second line to each label, such that you have: gismu bakni or selbri-1 na certu The problem with this is that you have redundancy, the same lojban text will be reproduced many times on the graph. I am still trying to figure out which parts of the grammar are the ones which users really want to see. If I can make useful set of those, it makes sense to attach the lojban text to each node. It might also be possible to generate a box/table structure, something like: text sentence sumti selbri mi na certu (perhaps an english gloss in another row below the lojban text). in this table each cell would be contained in it's parent cell. Perhaps nested HTML tables could achieve this? Also see the graphviz labels (page 8 of http://www.graphviz.org/Documentation/dotguide.pdf). John > [snip] > > Pardon me for being dense. I love this idea, but I don't see > the usefulness of the way it's implemented. > > When it creates a graph of nodes, they just have generic labels, > with no clue what node goes with what node in the original > sentence. > > Am I missing something? > > > Hal > > > > >