From richard@rrbcurnow.freeuk.com Sat Sep 08 15:43:01 2001
Return-Path: <richard@rrbcurnow.freeuk.com>
X-Sender: richard@rrbcurnow.freeuk.com
X-Apparently-To: lojban@yahoogroups.com
Received: (EGP: mail-7_3_2_1); 8 Sep 2001 22:43:01 -0000
Received: (qmail 97694 invoked from network); 8 Sep 2001 22:43:00 -0000
Received: from unknown (10.1.10.142)
  by l8.egroups.com with QMQP; 8 Sep 2001 22:43:00 -0000
Received: from unknown (HELO scrabble.freeuk.net) (212.126.144.6)
  by mta3 with SMTP; 8 Sep 2001 22:43:00 -0000
Received: from du-009-0085.freeuk.com ([212.126.152.85] helo=rrbcurnow.freeuk.com)
  by scrabble.freeuk.net with esmtp (Exim 3.12 #2)
  id 15fqoU-0002dD-00
  for lojban@yahoogroups.com; Sat, 08 Sep 2001 23:42:59 +0100
Received: from richard by rrbcurnow.freeuk.com with local (Exim 2.02 #2)
  id 15fqoJ-0001Vf-00; Sat, 8 Sep 2001 23:42:47 +0100
Date: Sat, 8 Sep 2001 23:42:47 +0100
To: lojban@yahoogroups.com
Subject: Re: [lojban] lujvo expander?
Message-ID: <20010908234247.A5800@rrbcurnow.freeuk.com>
Mail-Followup-To: lojban@yahoogroups.com
References: <9ncb1s+9bfe@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: <9ncb1s+9bfe@eGroups.com>; from thinkit8@lycos.com on Sat, Sep 08, 2001 at 05:41:16AM -0000
From: Richard Curnow <richard@rrbcurnow.freeuk.com>

On Sat, Sep 08, 2001 at 05:41:16AM -0000, thinkit8@lycos.com wrote:
> is there any utility to expand all the lujvo in a text of lojban into 
> component gismu (and cmavo)? so "selsku" becomes se cusku and such. 
> while it's at it a compound cmavo expander would be nice too, 
> so "pare" becomes "pa re". this could be quite useful for people new 
> to the language. vlatai, by Richard Curnow, seems pretty close, so i 
> might look into that. if something like this doesn't exist i'd be 
> glad to do it and make it available.

Starting from version 0.36 of vlatai (i.e. the vlatai that's built when
you compile jbofihe version 0.36), there is a new command option -el to
expand lujvo. e.g.

% vlatai -el pareselsku
pareselsku : lujvo : pa re selsku [se+cusku]

Is that close enough to what you want?

-- 
R.P.Curnow,Weston-super-Mare,UK | C++: n., An octopus made by
http://www.rrbcurnow.freeuk.com/ | nailing extra legs on a cat.

