From lojban-out@lojban.org Thu May 18 08:40:20 2006 Return-Path: X-Sender: lojban-out@lojban.org X-Apparently-To: lojban@yahoogroups.com Received: (qmail 89342 invoked from network); 18 May 2006 15:40:19 -0000 Received: from unknown (66.218.66.172) by m27.grp.scd.yahoo.com with QMQP; 18 May 2006 15:40:19 -0000 Received: from unknown (HELO chain.digitalkingdom.org) (64.81.49.134) by mta4.grp.scd.yahoo.com with SMTP; 18 May 2006 15:40:19 -0000 Received: from lojban-out by chain.digitalkingdom.org with local (Exim 4.61) (envelope-from ) id 1FgkVf-0004aB-CX for lojban@yahoogroups.com; Thu, 18 May 2006 08:33:55 -0700 Received: from chain.digitalkingdom.org ([64.81.49.134]) by chain.digitalkingdom.org with esmtp (Exim 4.61) (envelope-from ) id 1FgkVC-0004ZO-Nt; Thu, 18 May 2006 08:33:29 -0700 Received: with ECARTIS (v1.0.0; list lojban-list); Thu, 18 May 2006 08:33:18 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.61) (envelope-from ) id 1FgkUL-0004YG-AI for lojban-list-real@lojban.org; Thu, 18 May 2006 08:32:33 -0700 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.61) (envelope-from ) id 1FgkUF-0004Y6-3W for lojban-list@lojban.org; Thu, 18 May 2006 08:32:33 -0700 Received: from [203.107.201.23] (helo=dynamic-203-107-201-23.ksc.net.th ident=jewel) by subvert-the-dominant-paradigm.net with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1FgkU6-0005ga-NV for lojban-list@lojban.org; Thu, 18 May 2006 15:32:20 +0000 In-Reply-To: <1147886402.24497.22.camel@localhost.localdomain> References: <1147886402.24497.22.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 18 May 2006 22:30:55 +0700 Message-Id: <1147966255.4025.47.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.3 (-) X-archive-position: 11615 X-ecartis-version: Ecartis v1.0.0 Errors-to: lojban-list-bounce@lojban.org X-original-sender: jewel@subvert-the-dominant-paradigm.net X-list: lojban-list X-Spam-Score: -1.7 (-) To: lojban@yahoogroups.com X-Originating-IP: 64.81.49.134 X-eGroups-Msg-Info: 1:12:0:0 X-eGroups-From: John Leuner From: John Leuner Reply-To: jewel@subvert-the-dominant-paradigm.net Subject: [lojban] Re: jbominji X-Yahoo-Group-Post: member; u=116389790; y=jQiBuT5R6q3kyCvuRr7_apMOdfoRWx193HngYSXp-8Abus7jUA X-Yahoo-Profile: lojban_out X-Yahoo-Message-Num: 26033 I have created some documentation for my lojban tools here: http://subvert-the-dominant-paradigm.net/~jbominji/jbominji.html The graphviz generation tool has been updated: You have the option to turn morphological output on or off The "edited parse tree" will not display nodes with only one child and will not display nodes representing whitespace, making for a much simpler graph You can try it here: http://subvert-the-dominant-paradigm.net:9072/generator The output from the jbominji IRC bot will now show output for more CMAVO. Next I have to implement lujvo. I have also almost completed textual output similar to that produced by Robin's RATS parser, eg: CL-USER> (lojban-parser::parse-and-output-to-stdout "mi na jimpe le nicte") sentence=( CMAVO=( KOhA=( mi ) ) bridi-tail-3=( selbri-1=( CMAVO=( NA=( na ) ) BRIVLA=( gismu=( jimpe ) ) ) sumti-6=( CMAVO=( LE=( le ) ) BRIVLA=( gismu=( nicte ) ) ) ) ) John On Thu, 2006-05-18 at 00:20 +0700, John Leuner wrote: > I've set up a simple bot called jbominji in the #lojban IRC channel. > > Right now it logs its output to a room called #jbokumfa. > > It listens in #lojban and tries to parse each line of text (with the PEG > lojban grammar) and then prints output something like this: > > << mi na'o na jimpe >> > .i zo mi cu cmavo la'e zoi gy. me gy. > .i zo na cu cmavo la'e zoi gy. bridi negator gy. > .i zo jimpe cu gismu la'e zoi gy. understand gy. > > The quotes indicate which part of the text parsed successfully. Any text > following the quotes did not parse. > > It then provides a gloss for gismu and cmavo from gismu.txt and > cmavo.txt. > > You can access the same parser via > http://subvert-the-dominant-paradigm.net:9072/generator to generate > graphviz graphs of the parse tree generated by parsing a lojban text. > > Please feel free to send me any bug-fixes, feature requests etc > > You can see the PEG grammar here: > http://subvert-the-dominant-paradigm.net/~jbominji/code/lojban_grammar.peg > > TODO: > > jbominji doesn't lookup most cmavo yet > have to check whether it will flood itself off the channel > fuhivla > explore other modes of output (Jabber, web page with AJAX etc) > > > > > 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. > 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.