From richard@rrbcurnow.freeuk.com Wed Sep 12 16:43:21 2001 Return-Path: X-Sender: richard@rrbcurnow.freeuk.com X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_3_2_1); 12 Sep 2001 23:43:20 -0000 Received: (qmail 25456 invoked from network); 12 Sep 2001 23:39:27 -0000 Received: from unknown (10.1.10.142) by l10.egroups.com with QMQP; 12 Sep 2001 23:39:27 -0000 Received: from unknown (HELO scrabble.freeuk.net) (212.126.144.6) by mta3 with SMTP; 12 Sep 2001 23:39:26 -0000 Received: from du-010-0244.freeuk.com ([212.126.153.244] helo=rrbcurnow.freeuk.com) by scrabble.freeuk.net with esmtp (Exim 3.12 #2) id 15hIfp-00023z-00 for lojban@yahoogroups.com; Wed, 12 Sep 2001 23:40:02 +0100 Received: from richard by rrbcurnow.freeuk.com with local (Exim 2.02 #2) id 15hITy-00007e-00; Wed, 12 Sep 2001 23:27:46 +0100 Date: Wed, 12 Sep 2001 23:27:46 +0100 To: lojban@yahoogroups.com Subject: Re: [lojban] kludging a lujvo expander Message-ID: <20010912232746.B458@rrbcurnow.freeuk.com> Mail-Followup-To: lojban@yahoogroups.com References: <9nkhmg+1qto@eGroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i-nntp In-Reply-To: <9nkhmg+1qto@eGroups.com>; from thinkit8@lycos.com on Tue, Sep 11, 2001 at 08:23:44AM -0000 From: Richard Curnow X-Yahoo-Message-Num: 10664 On Tue, Sep 11, 2001 at 08:23:44AM -0000, thinkit8@lycos.com wrote: > i looked at richard curnow's jbofi'e and the software on lojban.org's > sight, and saw some useful utilities, but nothing that would quickly > expand all the lujvos into gismu. so i'm going to try to kludge Create a file containing one lujvo per line, and do vlatai -el < filename You will get the expansions out in square brackets. Admittedly, it's then some kind of job for sed or perl to extract these fields. Example: file containing jbofi'e vlatai spits out jbofi'e : lujvo : jbofi'e [lojbo+finpe] vlatai : lujvo : vlatai [valsi+tarmi] > i think i'll end up doing it as a java function so i can put it into > an applet or something later if need be. is anybody else interested > in it? since it's so less than elegant i'll probably just end up > using it for myself, but i'd be glad to give out the url if i end up > putting it out as a web app, or if someone wants the code/bytecode. Having something that would run as a web-page applet would be a good thing. -- Richard. ---------------------------------+------------------------------------- Richard P. Curnow | C++: n., An octopus made by Weston-super-Mare, UK | nailing extra legs on a cat. http://www.rrbcurnow.freeuk.com/ |