Received: from mail-pa0-f55.google.com ([209.85.220.55]:59162) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1V3Cxs-00064v-7f for lojban-list-archive@lojban.org; Sat, 27 Jul 2013 15:28:03 -0700 Received: by mail-pa0-f55.google.com with SMTP id bi5sf836160pad.20 for ; Sat, 27 Jul 2013 15:27:46 -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=aP/i1fLnVPaUVtOjm625fe/JyidSB50w4M7sWqzqqc8=; b=KsKR++ZZsWcwDzXL3Dvzg5a5ukjSl4JQNbZTD/qOpW8qPkuXkH8vNp1tZ92rtUK53o kVRle+hW15/oS73nMkCkA7kzsE2QHvZ0p+1pyB6nqx54ToMyjzm0LBE0cM/t9xIbEWEe /Wztc3qZuzfmkwoTvzbAGUsF7K0ctBpUxSFZEQ+varV+VPwbzEn7lE/j55yUXBYVEghb lR/+Bdjacsf8cSEdSoE6ivmjsVV9Otxl0lAb1M3wPaRyO7XrUAnWjIanK5WvvnVPIN+J snsTJRy1qNotSNi7b5o3sgLXld/+vJewYPYa1LX1JHtVvtxFYN4WUxksqrkgoft0jVvo g2Cg== 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=aP/i1fLnVPaUVtOjm625fe/JyidSB50w4M7sWqzqqc8=; b=ZCXhv02A/9M6f2FT1Tw80QCtzazY8l12rktddV0rcJYytO1JgF9MnY3lSN8SyThoSn c06tpNJdbFAypPyPXf2NKcKctKYdqPia3gDgIDbTl2K4H+t3g/u8SeRVfURVvKvs/JRm tSfMXtsZn1LwORp5A/H9egz+elg8LzuKgYrKTyXlVA7S/Xc0FeOjKIUlcj9VdsuRAVHQ SJjTUCaP9Lqq8vbhTOuQ9Wflcnf81HUcBhU2JhzsxJHZDX8XkNm2NxnkqnyhYo+JHN/T yYjfgMFLT3s1bl2MHHryebCGcj0J0JT1KBi+2qxp+MY1Qh3p8xA/O49It8QS/fxtQvV5 1pxQ== X-Received: by 10.50.77.78 with SMTP id q14mr198993igw.2.1374964065677; Sat, 27 Jul 2013 15:27:45 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.50.128.8 with SMTP id nk8ls1003748igb.36.canary; Sat, 27 Jul 2013 15:27:45 -0700 (PDT) X-Received: by 10.42.191.145 with SMTP id dm17mr36082137icb.11.1374964065155; Sat, 27 Jul 2013 15:27:45 -0700 (PDT) Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [2607:f8b0:4003:c02::234]) by gmr-mx.google.com with ESMTPS id vn1si1031279igb.1.2013.07.27.15.27.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Jul 2013 15:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of blindbravado@gmail.com designates 2607:f8b0:4003:c02::234 as permitted sender) client-ip=2607:f8b0:4003:c02::234; Received: by mail-oa0-f52.google.com with SMTP id g12so10066398oah.25 for ; Sat, 27 Jul 2013 15:27:44 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.43.128.66 with SMTP id hd2mr21283013icc.89.1374964064714; Sat, 27 Jul 2013 15:27:44 -0700 (PDT) Received: by 10.64.29.179 with HTTP; Sat, 27 Jul 2013 15:27:44 -0700 (PDT) In-Reply-To: References: <02e2fb5e-cdf7-4a5c-8bb2-fe6f5fa1f036@googlegroups.com> <07182f04-51b4-4466-80e5-538c4915c7d5@googlegroups.com> Date: Sat, 27 Jul 2013 18:27:44 -0400 Message-ID: Subject: Re: [lojban] Alec's lujvo creator written in python From: Ian Johnson To: lojban@googlegroups.com X-Original-Sender: blindbravado@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of blindbravado@gmail.com designates 2607:f8b0:4003:c02::234 as permitted sender) smtp.mail=blindbravado@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=001a11c31170a8070404e285c4f1 X-Spam-Score: -0.1 (/) X-Spam_score: -0.1 X-Spam_score_int: 0 X-Spam_bar: / --001a11c31170a8070404e285c4f1 Content-Type: text/plain; charset=ISO-8859-1 As I recall jvocuhadju is available in a downloadable format. jvozba is a component. mi'e la latro'a mu'o On Sat, Jul 27, 2013 at 5:29 PM, Jonathan Jones wrote: > 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. > > > -- 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. --001a11c31170a8070404e285c4f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
As I recall jvocuhadju is available in a downloadable form= at. jvozba is a component.

mi'e la latro'a mu= 9;o


On Sat, Jul 27, 2013 at 5:29 PM, Jonathan Jones <eyeonus@gmail.com&g= t; wrote:
Sure thing. It'd be nice to have somethi= ng I could run from the terminal instead of having to go to the web page.


On Sat, Jul 27, 2013 a= t 3:14 PM, Alec Lownes <alec.lownes@gmail.com> 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:
I think the best way to test i= t 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 <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 denp= a 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.
=A0
=A0

--
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.
 
 
--001a11c31170a8070404e285c4f1--