|
2009-12-02
, 17:00
|
Posts: 21 |
Thanked: 1 time |
Joined on Nov 2009
@ Sweden
|
#12
|
|
2009-12-02
, 17:18
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#13
|
|
2009-12-02
, 23:14
|
Posts: 21 |
Thanked: 1 time |
Joined on Nov 2009
@ Sweden
|
#14
|
hmm... sqlite file. Not going to be as easy as converting plain text, but still more than doable. :-) Thank goodness for python's native sqlite support!
Edit:
I'll try and google again for a mnemosyne file in the mean time.
Edit 2:
I'v found an example file,but I'm not yet sure what kind of file it is. It appears to be a database file, but not in sqlite format.It appears to be a pickled binary, which pythhon can handle. Now I just need to find out which fields I need from anki file and convnert.
Also, the anki database seems to be more complicated than I though. As such, I will have to take a minute to study its structure.
BTW: I tried running anki in scratchbox and get errors about not being able to import QtWebkit, even though the deb packages is clearly installed. Anyone else?
Edit 3:
The file I downloaded seems to be corrupted so i still need a valid mnemosyn file in order to try and work this.
It does seem that mnemosyn saves less data than anki, so converting to anki might not be so bad.
|
2009-12-02
, 23:31
|
Posts: 70 |
Thanked: 23 times |
Joined on Sep 2009
|
#15
|
|
2009-12-03
, 00:48
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#16
|
|
2009-12-03
, 11:28
|
Posts: 21 |
Thanked: 1 time |
Joined on Nov 2009
@ Sweden
|
#17
|
Edit:
I played around a bit just to see how much work I had ahead of me tomorrow. Turns out the data in mnemosyne is picked (using cPickle module) and when trying to unpickle the data mnemosyne-specific data is imported, which I of course don't have access to from a regular python script.
In short, I'll have to track down all the modules from the mnemosyne source before I can extract the data, unless there is some easier method to getting to the data?
Edit 2:
I just realized that both programs can export/import from tab separated text files.
Koeus, is it sufficient to open up anki, export file as tab separated text file, then open up mnemosyne and import from tab separated text file?
I tried it on your file and it seemed to work, but I'm not familiar with either program so don't know how much info was lost...
|
2009-12-03
, 12:35
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#18
|
|
2009-12-03
, 13:12
|
Posts: 21 |
Thanked: 1 time |
Joined on Nov 2009
@ Sweden
|
#19
|
Agreed Koeus! Really, I was thinking Anki looks much more polished (not to mention easier to spell) than mnemosyne. Perhaps I'll look into trying to get an initial port of Anki started today (no promises). Of course, Even if I did get it ported, i'm not so sure about making it finger friendly :-( -- may be a task for someone else.
|
2009-12-04
, 02:08
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#20
|
All I need is a sample deck from each program and I can look into writing a converter.