Lojban In General

Lojban In General


Perl program for searching Lojban word lists

posts: 3588

coi rodo

I have written a Perl program for searching for & printing out entries from the
official {gismu} & {cmavo} lists that I think some of you will find useful. It
can search by {valsi}, {rafsi}, keyword, or definition, or it can simply output
a random entry. I have also written another Perl script that takes the
components of a {tanru} specified on the command line and outputs the optimal
{lujvo} based on the CLL's scoring algorithm. Both of these programs are based
around three Perl modules I also wrote that can be used for searching the
Lojban word lists or performing a few simple manipulations on {valsi}, such as
creating & splitting {lujvo}. The combined software package can be downloaded
at: <http://jwodder.freeshell.org/downloads/Vlasisku.tgz>.

The code should work on any platform that Perl can run on (i.e., anything more
powerful than a digital watch); however, if you want to run it on a non-*nix
platform, you're on your own.

Let me know what you think of this!

mu'omi'e la'o gy. Minimiscience .gy.

--
mi klama .i mi viska .i mi fanva fi la lojban.


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.

posts: 350

On Sun, Dec 7, 2008 at 8:23 PM, Minimiscience <minimiscience@gmail.com>wrote:

> coi rodo
>
> I have written a Perl program for searching for & printing out entries from
> the
> official {gismu} & {cmavo} lists that I think some of you will find useful.
> It
> can search by {valsi}, {rafsi}, keyword, or definition, or it can simply
> output
> a random entry. I have also written another Perl script that takes the
> components of a {tanru} specified on the command line and outputs the
> optimal
> {lujvo} based on the CLL's scoring algorithm. Both of these programs are
> based
> around three Perl modules I also wrote that can be used for searching the
> Lojban word lists or performing a few simple manipulations on {valsi}, such
> as
> creating & splitting {lujvo}. The combined software package can be
> downloaded
> at: <http://jwodder.freeshell.org/downloads/Vlasisku.tgz>.
>
> The code should work on any platform that Perl can run on (i.e., anything
> more
> powerful than a digital watch); however, if you want to run it on a
> non-*nix
> platform, you're on your own.
>
> Now, if you could just embed it in a web interface, I'd be
happy....despite the fact that I am a computer programmers of 30 years'
experience, not all users of lojban are, and if we want to reach the largest
audience possible, things should be easy to use for non-programmers.

--gejyspa