From nobody@digitalkingdom.org Sat Mar 05 22:05:29 2005 Received: with ECARTIS (v1.0.0; list lojban-list); Sat, 05 Mar 2005 22:05:30 -0800 (PST) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.44) id 1D7otF-00085H-IW for lojban-list-real@lojban.org; Sat, 05 Mar 2005 22:05:21 -0800 Received: from genamics.blastula.net ([205.214.85.184]) by chain.digitalkingdom.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.44) id 1D7otB-000855-8A for lojban-list@lojban.org; Sat, 05 Mar 2005 22:05:21 -0800 Received: from [203.184.10.155] (helo=gulik.co.nz) by genamics.blastula.net with esmtpa (Exim 4.43) id 1D7ot7-0005II-1h for lojban-list@lojban.org; Sun, 06 Mar 2005 19:05:14 +1300 Message-ID: <422A9DA9.9060407@gulik.co.nz> Date: Sun, 06 Mar 2005 19:05:29 +1300 From: Michael van der Gulik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040216 Debian/1.6.x.1-10 X-Accept-Language: en MIME-Version: 1.0 To: lojban-list@lojban.org Subject: [lojban] word trainer - jdictp Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - genamics.blastula.net X-AntiAbuse: Original Domain - lojban.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gulik.co.nz X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) X-Spam-Report: Spam detection software, running on the system "chain.digitalkingdom.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi all. I've tried to convert Robin's word lists for SuperMemo for use with jdictp. jdictp is another flash-card program - see http://jdict.sourceforge.net. Unfortunately it doesn't work yet; jdictp crashes when I try to load the lojban list. I'm still investigating. If anybody else has more luck then please let me know. [...] Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list X-archive-position: 9544 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: mikevdg@gulik.co.nz Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list Hi all. I've tried to convert Robin's word lists for SuperMemo for use with jdictp. jdictp is another flash-card program - see http://jdict.sourceforge.net. Unfortunately it doesn't work yet; jdictp crashes when I try to load the lojban list. I'm still investigating. If anybody else has more luck then please let me know. The palm .pdb file is at http://www.gulik.co.nz/lojban.pdb; 666kb. You'll need to install the SuperWaba JVM (http://www.superwaba.org) and jdictp first. I used this very small Python script to convert big_list_supermemo_win.txt into a TEI.2 file, and then manually made changes to the resulting file until it was accepted by the jdictp parser: #!/bin/python # This file converts Robin's Supermemo word list into a jdictp compatible wordlist (I.e. TEI 2) infile = open("big_list.txt", "r+") outfile = open("lojban.tei", "w+") outfile.writelines(["\n", "\n", "\n", "\n", "Lojban\n", "\n", "\n", "\n"]) currentq = "" currenta = "" lines = infile.readlines() for aline in lines: if (aline.strip() == ''): # Then we have reached the end of a question/answer. We write it out. outfile.writelines(["\n
\n\n", currentq, "\n
\n", "\n\n", currenta, "\n\n", "
\n" ]) currentq = "" currenta = "" elif aline.startswith("Q"): # Add to the question currentq = currentq + aline[3:] elif aline.startswith("A"): currenta = currenta + aline[3:] outfile.writelines(["
\n", "
\n" ]) infile.close() outfile.close() Mikevdg.