Received: from mail-we0-f186.google.com ([74.125.82.186]:39717) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1V3C3V-0005oZ-Jn for lojban-list-archive@lojban.org; Sat, 27 Jul 2013 14:29:50 -0700 Received: by mail-we0-f186.google.com with SMTP id u53sf460658wes.23 for ; Sat, 27 Jul 2013 14:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=0qxRNR7DrNM8j4clUtRuzCtvyiaX4Dcj4/Py79ipJ90=; b=mVTlfAEgfjvkLHTy4rvWsTpfWFPCyemTauf8bYPeqnfSNHe27mhLw5QehYLu3Tqens RNJAnZbdT4wFBvZVBoiY8zJwcHkmoB612vr2+/zPgOQQQ5tYtcUMSPU530Ccd/Vf4ORs 05Gm2BRffEENYwyYEM+tsJksTw+r99K5nODNs8mme5bEJkpNAH2o6rUAH79MtJC6Ffso 5URAWWS2VBdhyZWESGVDqG5LqxT1STt2U3TPBwog20qGPOleLlHRf6ChEDvu6OvoIMyo hHehU8gF2rq+olZMGt4D33tRI2tDhuzLEXuB14NLtpeIzhmDZvZk3pg6T1/NcLAhb60M BxYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=0qxRNR7DrNM8j4clUtRuzCtvyiaX4Dcj4/Py79ipJ90=; b=UOSMEvn3ksT5SV7TbPj3wj4lCNcwlMVhjExx1Svdzv8PWY7WJwJM+2qMiULdyjoPWK UGorkHfJdwx1ntUCRmwfACbRMdYAS7G34M7wKSoZAjDER4y3vxXXbievKn/ReXydECoA xY2/KRb2Tyll930ub2u1tNYeNIioxW+SZTvvBX5lCF45HwHdbrqpK43xPDGo0g7SSTWf VDK6THCudN6i4PkNk/piJ+yZC5bWInhEVXR4IEP4gFunh0hEhYII/FZvGOAEDEsG/C+A PisQr+jE96gBr/H6UvJ/B8rFzWMN3fTs29SL69tSUqz4lBSp9N8A/hJ0eKvLIXXGXLK7 5auw== X-Received: by 10.180.21.143 with SMTP id v15mr116858wie.8.1374960570229; Sat, 27 Jul 2013 14:29:30 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.180.206.199 with SMTP id lq7ls394808wic.35.canary; Sat, 27 Jul 2013 14:29:29 -0700 (PDT) X-Received: by 10.204.72.1 with SMTP id k1mr2960702bkj.1.1374960569786; Sat, 27 Jul 2013 14:29:29 -0700 (PDT) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [2a00:1450:4010:c03::22d]) by gmr-mx.google.com with ESMTPS id nl4si3307965bkb.2.2013.07.27.14.29.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Jul 2013 14:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of eyeonus@gmail.com designates 2a00:1450:4010:c03::22d as permitted sender) client-ip=2a00:1450:4010:c03::22d; Received: by mail-la0-f45.google.com with SMTP id fj20so232788lab.32 for ; Sat, 27 Jul 2013 14:29:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.18.229 with SMTP id z5mr7673670lad.84.1374960569218; Sat, 27 Jul 2013 14:29:29 -0700 (PDT) Received: by 10.114.180.36 with HTTP; Sat, 27 Jul 2013 14:29:29 -0700 (PDT) In-Reply-To: <07182f04-51b4-4466-80e5-538c4915c7d5@googlegroups.com> References: <02e2fb5e-cdf7-4a5c-8bb2-fe6f5fa1f036@googlegroups.com> <07182f04-51b4-4466-80e5-538c4915c7d5@googlegroups.com> Date: Sat, 27 Jul 2013 15:29:29 -0600 Message-ID: Subject: Re: [lojban] Alec's lujvo creator written in python From: Jonathan Jones To: lojban@googlegroups.com X-Original-Sender: eyeonus@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of eyeonus@gmail.com designates 2a00:1450:4010:c03::22d as permitted sender) smtp.mail=eyeonus@gmail.com; dkim=pass header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=089e014940ea4efb1f04e284f4e4 X-Spam-Score: -0.1 (/) X-Spam_score: -0.1 X-Spam_score_int: 0 X-Spam_bar: / --089e014940ea4efb1f04e284f4e4 Content-Type: text/plain; charset=ISO-8859-1 Sure thing. It'd be nice to have something I could run from the terminal instead of having to go to the web page. On Sat, Jul 27, 2013 at 3:14 PM, Alec Lownes wrote: > I didn't know about that at all. This helps a lot, thanks! > > > On Saturday, July 27, 2013 2:03:45 PM UTC-7, aionys wrote: > >> I think the best way to test it is to compare the output of your Python >> script with the output of Jvozba http://jwodder.freeshell.org/** >> lojban/jvozba.cgi >> >> On Sat, Jul 27, 2013 at 3:47 AM, Alec Lownes wrote: >> >>> Hey everyone, >>> >>> I'm relatively new to the lojban scene, but I decided to write a lujvo >>> creator in python to make adding lujvo easier. I tried my best to >>> understand and codify all of the rules for creating lujvo (although I might >>> have had some trouble understanding the tosmabru test). If people can >>> stress test my script to make sure it is working correctly, I would be very >>> thankful. I have attached the lujvo.py file. You also need to download >>> http://www.lojban.org/files/**history/bothraf.txtinto the same directory as lujvo.py . Then just run lujvo.py and enter in >>> lujvo components to get a list of (hopefully) correct lujvo with their >>> scores. >>> >>> Here is a sample run: >>> >>> Include a list of members of the lujvo separated by spaces. Example: >>>> bangu smuni >>>> bangu smuni >>>> 5847 bausmu >>>> 5878 bansmu >>>> 7917 bansmuni >>>> 8008 bangysmu >>>> 8986 baursmuni >>>> 10047 bangysmuni >>>> >>> >>> If you find any bugs, please post the lujvo components that gave you the >>> error, and why the returned lujvo are wrong, and I'll get right on it, >>> uploading a new version asap. >>> >>> Thanks everyone! >>> >>> -Alec >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "lojban" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to lojban+un...@**googlegroups.com. >>> To post to this group, send email to loj...@googlegroups.com. >>> >>> Visit this group at http://groups.google.com/**group/lojban >>> . >>> For more options, visit https://groups.google.com/**groups/opt_out >>> . >>> >>> >>> >> >> >> >> -- >> mu'o mi'e .aionys. >> >> .i.e'ucai ko cmima lo pilno be denpa bu .i doi.luk. mi patfu do zo'o >> (Come to the Dot Side! Luke, I am your father. :D ) >> > -- > You received this message because you are subscribed to the Google Groups > "lojban" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to lojban+unsubscribe@googlegroups.com. > To post to this group, send email to lojban@googlegroups.com. > Visit this group at http://groups.google.com/group/lojban. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- mu'o mi'e .aionys. .i.e'ucai ko cmima lo pilno be denpa bu .i doi.luk. mi patfu do zo'o (Come to the Dot Side! Luke, I am your father. :D ) -- You received this message because you are subscribed to the Google Groups "lojban" group. To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com. To post to this group, send email to lojban@googlegroups.com. Visit this group at http://groups.google.com/group/lojban. For more options, visit https://groups.google.com/groups/opt_out. --089e014940ea4efb1f04e284f4e4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sure thing. It'd be nice to have something I could run from the termina= l instead of having to go to the web page.

On Sat, Jul 27, 2013 at 3:14 PM, Alec Lownes <alec.lownes@gmail.com<= /a>> wrote:
I didn't know about that at all. This he= lps a lot, thanks!


On Saturday, July 27, 2013 2:03= :45 PM UTC-7, aionys wrote:
On Sat, Jul 27, 2013 at 3:47 AM, Alec Lownes <alec.= ...@gmail.com> wrote:
Hey everyone,

I'm relatively new to the lojban scene, but I deci= ded to write a lujvo creator in python to make adding lujvo easier. I tried= my best to understand and codify all of the rules for creating lujvo (alth= ough I might have had some trouble understanding the tosmabru test). If peo= ple can stress test my script to make sure it is working correctly, I would= be very thankful. I have attached the lujvo.py file. You also need to down= load http://www.lojban.org/files/history/bothraf.txt into the= same directory as lujvo.py . Then just run lujvo.py and enter in lujvo com= ponents to get a list of (hopefully) correct lujvo with their scores.

Here is a sample run:

Include a list of members of the lujvo separated by spaces. Example= :
bangu smuni
bangu smuni
5847=A0=A0=A0 bausmu
5878=A0=A0=A0 bansmu<= br>7917=A0=A0=A0 bansmuni
8008=A0=A0=A0 bangysmu
8986=A0=A0=A0 baursm= uni
10047=A0=A0 bangysmuni

If you find any bugs= , please post the lujvo components that gave you the error, and why the ret= urned lujvo are wrong, and I'll get right on it, uploading a new versio= n asap.

Thanks everyone!

-Alec
=

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+un...@googlegroups.com.
To post to this group, send email to loj...@googlegroups.com.

Visit this group at http://groups.google.com/group/lojban.
For more options, visit https://groups.google.com/groups/opt_out. =A0
=A0



--
mu'o mi'e .aionys.

.i.e'ucai ko cmima lo = pilno be denpa bu .i doi.luk. mi patfu do zo'o
(Come to the Dot Side= ! Luke, I am your father. :D )

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http://groups.google.com/group/lojban.
For more options, visit https://groups.google.com/groups/opt_out.
=A0
=A0



--
mu'o mi= 'e .aionys.

.i.e'ucai ko cmima lo pilno be denpa bu .i doi.l= uk. mi patfu do zo'o
(Come to the Dot Side! Luke, I am your father. = :D )

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http:= //groups.google.com/group/lojban.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
--089e014940ea4efb1f04e284f4e4--