[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: Is massive upload to Jbovlaste possible?
On Fri, Jul 04, 2008 at 10:17:14PM +0400, Dmitry Shintyakov wrote:
> 2008/7/4 Robin Lee Powell <rlpowell@digitalkingdom.org>:
> > On Wed, Jul 02, 2008 at 11:26:20PM +0400, Dmitry Shintyakov
> > wrote:
>
> >> translations was really tedious process. I would better like to
> >> upload all the data at once. Can anybody help me with it?
> >
> > Yes, this is possible. In the past, I've been the only one to
> > write the code; I'd love if someone else did it this time. I
> > can supply the code that was used to upload the English gismu
> > list as an example; it's in Perl.
>
> It would be very kind of you, to send me that script.
http://teddyb.org/~rlpowell/media/regular/jvs_import/
There's all the snarf (import) scripts, a gismu list that was
imported with them, and the current schema.
> Interface of jbovlaste seems to be changed a lot since last time I
> saw it, and the script, probably, needs to be upgraded, am I
> right?
I doubt it, actually; the word definitions haven't changed much.
> Actually, I had a hope that keeper of jbovlaste can manually merge
> data,
The keeper is only me, and I'm very, very busy lately; I don't have
much time for Lojbanic things. I'd love for other people to work on
jbovlaste, but no-one does.
> prepared by me with jbovlaste database, but upload script is also
> fine thing too.
Merging two databases is hard; referential integrity gets very
tricky. All you should really have to do, though, is give me lists
in the same format as the official gismu and cmavo lists.
> I am also afraid that debugging this script can produce several
> spurious entries in database. This is one of reasons why I tried
> to avoid making such script by myself.
Sure, but that's an easy thing to deal with for me: shut everything
off, take a backup of the database, work until the script is
correct, restore the backup, run the script, turn things back on.
-Robin
--
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
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.