From lojban-out@lojban.org Mon May 15 10:24:33 2006 Return-Path: X-Sender: lojban-out@lojban.org X-Apparently-To: lojban@yahoogroups.com Received: (qmail 24999 invoked from network); 15 May 2006 17:24:32 -0000 Received: from unknown (66.218.67.33) by m34.grp.scd.yahoo.com with QMQP; 15 May 2006 17:24:32 -0000 Received: from unknown (HELO chain.digitalkingdom.org) (64.81.49.134) by mta7.grp.scd.yahoo.com with SMTP; 15 May 2006 17:24:32 -0000 Received: from lojban-out by chain.digitalkingdom.org with local (Exim 4.61) (envelope-from ) id 1Ffgo1-0000EF-Fs for lojban@yahoogroups.com; Mon, 15 May 2006 10:24:29 -0700 Received: from chain.digitalkingdom.org ([64.81.49.134]) by chain.digitalkingdom.org with esmtp (Exim 4.61) (envelope-from ) id 1FfgmS-0008Rw-06; Mon, 15 May 2006 10:22:53 -0700 Received: with ECARTIS (v1.0.0; list lojban-list); Mon, 15 May 2006 10:22:43 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.61) (envelope-from ) id 1Ffglt-0008Rg-Mu for lojban-list-real@lojban.org; Mon, 15 May 2006 10:22:17 -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 1Ffgls-0008RZ-P1 for lojban-list@lojban.org; Mon, 15 May 2006 10:22:17 -0700 Received: from [203.107.193.68] (helo=dynamic-203-107-193-68.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 1Ffglk-0003lS-G9 for lojban-list@lojban.org; Mon, 15 May 2006 17:22:10 +0000 Content-Type: text/plain Date: Thu, 18 May 2006 00:20:02 +0700 Message-Id: <1147886402.24497.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-archive-position: 11545 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: 0.1 (/) 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] jbominji X-Yahoo-Group-Post: member; u=116389790; y=ClyyBSeZyiRj6VSjoGdQAAVJzcnA-eCsmEm35CjPqQz7M9mGvw X-Yahoo-Profile: lojban_out X-Yahoo-Message-Num: 25962 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.