From thinkit8@lycos.com Fri Sep 14 16:12:40 2001 Return-Path: X-Sender: thinkit8@lycos.com X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_3_2_2); 14 Sep 2001 23:12:39 -0000 Received: (qmail 75675 invoked from network); 14 Sep 2001 21:46:57 -0000 Received: from unknown (10.1.10.26) by l10.egroups.com with QMQP; 14 Sep 2001 21:46:57 -0000 Received: from unknown (HELO n29.groups.yahoo.com) (10.1.2.184) by mta1 with SMTP; 14 Sep 2001 21:46:56 -0000 X-eGroups-Return: thinkit8@lycos.com Received: from [10.1.10.68] by b05.egroups.com with NNFMP; 14 Sep 2001 21:46:56 -0000 Date: Fri, 14 Sep 2001 21:46:55 -0000 To: lojban@yahoogroups.com Subject: Re: kludging a lujvo expander Message-ID: <9nttsf+hf15@eGroups.com> In-Reply-To: <20010912232746.B458@rrbcurnow.freeuk.com> User-Agent: eGroups-EW/0.82 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Length: 2001 X-Mailer: eGroups Message Poster X-Originating-IP: 24.4.254.136 From: thinkit8@lycos.com X-Yahoo-Message-Num: 10707 ok, this looks like it's what i need. problem for me is that ver 0.37 of the software doesn't appear to have an MS-DOS binary dist. ver 0.36 doesn't have the -el option. whenever you can do the binary would be fine. i'd like to make whatever i do with it available for lojban beginners. it may just end up being a fairly simple python program, though. i was just thinking, also, that i could put in an option to insert "zei" between expanded cmavo/gismu to make it an equivalent lojban text. --- In lojban@y..., Richard Curnow wrote: > On Tue, Sep 11, 2001 at 08:23:44AM -0000, thinkit8@l... 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/ |