From rlpowell@digitalkingdom.org Tue May 18 14:51:21 2004 Received: with ECARTIS (v1.0.0; list lojban-list); Tue, 18 May 2004 14:51:21 -0700 (PDT) Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.32) id 1BQCUS-0002Hl-Ky for lojban-list@lojban.org; Tue, 18 May 2004 14:51:12 -0700 Date: Tue, 18 May 2004 14:51:12 -0700 To: lojban-list@lojban.org Subject: [lojban] Re: Actual features for my parser, and a Java request Message-ID: <20040518215112.GV6978@chain.digitalkingdom.org> Mail-Followup-To: lojban-list@lojban.org References: <20040518210958.GP6978@chain.digitalkingdom.org> <40AA7F8E.80107@brucewebber.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40AA7F8E.80107@brucewebber.com> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Robin Lee Powell X-archive-position: 7913 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: rlpowell@digitalkingdom.org Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list On Tue, May 18, 2004 at 05:26:38PM -0400, Bruce Webber wrote: > Robin Lee Powell wrote: > >I've added some things to my parser worthy of being called > >'features', basically to trim down its verbosity. > > > [snip] > > > >If anyone wants to contribute Java to turn this format into something > >more vertical/readable, that would be great. > > I program in Java. Can you give me an example of what you would like > the output to look like? xod also asked me this (privately). To be honest, I don't much care as long as it's more readable and still maintains complete structural information, but jbofihe's "-t" option is a pretty good idea of what I'm looking for: rlpowell> echo "ro prenu na ka'e je ba'e ca selbau la lojban" | jbofihe -t | | +-CMAVO : ro [PA4] | | +-BRIVLA : prenu | +-SUMTI_5B | | | +-CMAVO : na [NA] | | | | | +-CMAVO : ka'e [CAhA] | | | | | +-CMAVO : je [JA] | | | | | | +-CMAVO : ba'e [BAhE] | | | | | | +-CMAVO : ca [PU] | | | | | +-AUGMENTED | | | | +-STAG | | | | +-BRIVLA : selbau | | | +-SELBRI | | +-SELBRI_1 | | | +-CMAVO : la [LA] | | | +-CMENE : lojban | | +-NAME_SUMTI_6 | +-BRIDI_TAIL_3 +-NO_CU_SENTENCE CHUNKS -Robin -- http://www.digitalkingdom.org/~rlpowell/ *** I'm a *male* Robin. "Many philosophical problems are caused by such things as the simple inability to shut up." -- David Stove, liberally paraphrased. http://www.lojban.org/ *** loi pimlu na srana .i ti rokci morsi