![]() |
Re: Anki for N900?
Sure. I can't seem to PM, but my email is aspidites at inbox dot com.
All I need is a sample deck from each program and I can look into writing a converter. |
Re: Anki for N900?
Quote:
|
Re: Anki for N900?
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: Edit 2: I'v found an example file, 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. |
Re: Anki for N900?
1 Attachment(s)
Quote:
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! |
Re: Anki for N900?
I tested anki and it had a import from mnemosyne function which seemed to work, although I probably will use anki when adding new material next time.
What I found good about Anki was the buttons for bold, italics etc., online sync, copy-paste images directly. Apparently with AnkiOnline you could review them in the browser. I will try this when I get the device. |
Re: Anki for N900?
You are right Koeus. It's getting late, but I'll definately give those files a looking over and figure out what data in anki correlates to mnemosyne.
I wish I had an n900 as well ;-( Anyways, I'll try to bang out something after work tomorrow and report my successes/failures, unless someone beats me to it. arono, unfortunately we are trying to go the other way around > import anki file into mnemosyne. 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... |
Re: Anki for N900?
Quote:
Quote:
In other words, we have a way of importing decks from Anki to Mnemosyne, but if this is going to be of any use to Anki users that want to use Mnemosyne on the N900, then we still need to solve the issue of exporting/importing the scheduling data. Edit: Also, Mnemosyne seems to lack the feature of displaying furigana, which Anki does very nicely. A minor aesthetical drawback which just further convinces me that Anki is the better piece of software among the two of them ^^ The best solution would still probably be to just get Anki functioning properly on the N900 ;) (Although digging around in the possibilities of exporting/importing files inbetween the two of them is quite interesting.) |
Re: Anki for N900?
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.
|
Re: Anki for N900?
Quote:
If you feel like looking into porting Anki, then by all means, feel free (and encouraged ^^)! I'll help with whatever I can, but I suspect my mediocre Java skills won't do much good in this case. Nonetheless, I might be able to be of some use (I'm seriously considering looking into C++ and/or Python in the near future). And I dare say, what we need the most is probably just someone getting the project started, and then people can pick up on the way. Hopefully someone else might pick up on the finger touchy part ;) (And now, back to my Java examination (yet again); somehow this discussion is a lot more appealing =P) |
Re: Anki for N900?
Well in it's current state, we wouldn't be able to port it because PyQt and PySide are both lacking QtWebKit modules in fremantle. I guess that leaves us with the option of either a) waiting until it becomes available or b) gutting QtWebkit portions out and replacing with something functionally equivalent (assuming it was only used for formatting).
Again, I don't really use Anki, so I'm not familiar with its interface. Does it load any external web pages, or would it be save to say that webkit is just for formatting? |
All times are GMT. The time now is 19:55. |
vBulletin® Version 3.8.8