Thread: Anki for N900?
View Single Post
Posts: 21 | Thanked: 1 time | Joined on Nov 2009 @ Sweden
#14
Originally Posted by aspidites View Post
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.
I found some Mnemosyne decks from the official web page that seem to be working; one of them is attached to this post and at your disposal.

As for running Anki in scratchbox I can't say, since I don't have a phone to try it on yet Dying to get it though T_T

I had a brief look at the Mnemosyne program as well and the possible settings for a deck, and I can understand why Anki would be more advanced. In Anki for example you can have more than just two fields on a card, whilst this is not possible in Mnemosyne. This most likely means that while a conversion from Anki to Mnemosyne might be possible, you might lose quite a bit of data from the Anki deck in the process. Converting Mnemosyne to Anki should work better and without losses, though I'm only speculating. If I'm right, then too bad it's the Anki->Mnemosyne conversion we want to do =P Might be better off trying to get Anki to run properly. Damn I want that N900 and start playing around with stuff like this!
Attached Files
File Type: zip english_kanji+hiragana.zip (54.3 KB, 119 views)