From nobody@digitalkingdom.org Sun Dec 07 17:23:48 2008 Received: with ECARTIS (v1.0.0; list lojban-list); Sun, 07 Dec 2008 17:23:48 -0800 (PST) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from ) id 1L9Uqh-0002dy-QV for lojban-list-real@lojban.org; Sun, 07 Dec 2008 17:23:47 -0800 Received: from mx.freeshell.org ([192.94.73.19] helo=sdf.lonestar.org ident=root) by chain.digitalkingdom.org with esmtp (Exim 4.69) (envelope-from ) id 1L9Uqc-0002dD-9c for lojban-list@lojban.org; Sun, 07 Dec 2008 17:23:47 -0800 Received: from sdf.lonestar.org (IDENT:jwodder@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.14.2/8.13.8) with ESMTP id mB81NaQ3004963 for ; Mon, 8 Dec 2008 01:23:36 GMT Received: (from jwodder@localhost) by sdf.lonestar.org (8.14.2/8.12.8/Submit) id mB81NaYX026766 for lojban-list@lojban.org; Mon, 8 Dec 2008 01:23:36 GMT Date: Mon, 8 Dec 2008 01:23:36 +0000 From: Minimiscience To: lojban-list@lojban.org Subject: [lojban] Perl program for searching Lojban word lists Message-ID: <20081208012334.GA25715@sdf.lonestar.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: SDF Public Access UNIX System User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: 0.0 X-Spam-Score-Int: 0 X-Spam-Bar: / X-archive-position: 15099 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: minimiscience@gmail.com Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list 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: . 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.