![]() |
Anki for N900?
I've been using Anki to learn Japanese for a little over a year now, but I'm getting rather tired of being bound to my heavy laptop just for the sake of doing my repetitions. I recently pre-ordered a N900 partly for the reason of being able to run Anki on the road, but I see that there doesn't seem to be any release of it for the Maemo 5 and Nokia N900. Does anyone know if this is being worked on or if it will come in the near future? It's a great piece of software that would be a great benefit to the N900's (currently rather meager) repository.
|
Re: Anki for N900?
Quote:
|
Re: Anki for N900?
There's a port of Anki for the N800/N810 (http://ichi2.net/anki/wiki/Anki%20on%20Maemo). Why don't you ask them if they'd do a version for the N900. You can run it directly from the source (it must be Python), so you could also try downloading the source and running it--it might work.
|
Re: Anki for N900?
Quote:
Quote:
And yes, it is using Python, so simply running the source might work. I'll have to give it a try, though to be honest I have no idea how to do it. I'm an avid Windows user (though I don't really want to), and while I've got Ubuntu on dual boot, unfortunately I haven't come around to learning Linux properly (or at all) - I'm hoping the N900 will give me the proper kick in the butt that I need to get started with that. I'm sure there's plenty of guides out there on how to compile and run source, but nonetheless, any tips and pointers are very welcome to get me on my way. Still have to wait for the phone to arrive though, which will probably take a month since Sweden is never prioritised when it comes to new releases >.< |
Re: Anki for N900?
How about mnemosyne? It's also a spaced repetition program based on supermemo. And best of all it's ported to maemo :D
http://tabletui.wordpress.com/2009/0...yne-for-maemo/ http://www.mnemosyne-proj.org/ |
Re: Anki for N900?
Quote:
|
Re: Anki for N900?
I agree that Anki would be a very welcome addition to the repository.
I personally have used a few different SRS's and have really come to love Anki over time - I now prefer it to Mnemosyne - but it is probably just personal preference. I did have a quick go at downloading and running the source. It was a random choice late one night, so I didn't follow it through too well. Basically I think we also need to install some pyqt4 bindings, and possibly some other packages before it'll do much. I would have another look, but unfortunately I've packaged the N900 up for it's trip to the carrousel - err.. I mean to get repaired. I'm also very much a beginner when it comes to Linux development and Python, so I might be talking rubbish. |
Re: Anki for N900?
Quote:
edit: wow I think you converted me to anki :) |
Re: Anki for N900?
Are there enough similarities in the two deck formats to write a converter? Assuming neither is in a binary format, I might be able to hack something together if I could get my hands on a sample deck from each program.
|
Re: Anki for N900?
Quote:
command line, if you install python2.5-qt-* and download/unpack the anki source, but new packages for maemo 5 will need to be made for easy installation from the application manager." So yes, installing Python first would be required, but apparently it ought to work after that. It'd be great if you could try it ;) Quote:
Quote:
|
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? |
Re: Anki for N900?
Ah, I wasn't aware that PyQT and PySide lack QTWebKit modules in Maemo 5. Hopefully, the support for that won't take very long, but then again, you never know.
As for gutting Anki, to be honest, I have no idea if it'd be possible to do (within a reasonable amount of time). I don't really know how it's built up either (I've never delved into the code), but it doesn't load any external web pages (it only syns with a web server which is text based), so I'm assuming that the webkit is just for formatting. But I honestly don't know. I'll try looking into it a bit closer next week, I really gotta finish my exam first >.< |
Re: Anki for N900?
Correction. Someone has already ported the application.Don't know why copying the old code and trying to run it gave QtWebkit errors.... Still not running yet, but i'm testing right now. EDIT: Ankiqt doesn't want to load, but ankimaemi seems to work. Can't import yet, but this may be a scratchbox limitation... Kudos to who ever worked on that port. Looks good even. |
Re: Anki for N900?
Really? Wow, cool. All that debating for nothing? =P Anyhow, this may sound like a stupid question, but what is Scratchbox? I've only heard it mentioned in a couple of places around the forum, but I haven't really grasped what it is in practice. It sounds like some sort of Maemo emulation used for development, but I could be wrong. If so, how do I fix it? =) I tried searching maemo.org, but couldn't really find any good info on it.
|
Re: Anki for N900?
1 Attachment(s)
Scratchbox is a development environment that allows to you cross-compile programs for armel-based processors (in this case, the one for n900) on x86 based platforms.
Using it and Xephyr, you can test (with varying degress of success) programs for your NIT. While it's not an emulator per se, it does allow you to see how your program would look. I've attached an images showing it running under KDE 4.3 in Linux. My desktop is rather large for a screenshot, so I only captured the window itself. You can find more [accurate] information my clicking on the Development link above and selecting "Download the Maemo 5 SDK". Anyways, my N900 comes today, so I'll be able to see what's going on. |
Re: Anki for N900?
Thanks! I'll definitely check it out. Might I ask where you found the port of Anki? I checked their garage page, but that still hasn't been updated since the beginning of this year.
|
Re: Anki for N900?
Been using Ankionline. It's not the real deal, but its ok. Waiting for a port as I am completely lost as to how Linux/Meomo and everything else you are talking about works.
The only problem I have with Ankionline is that it renders some kanji incorrectly like Firefox on Vista. Fortunately, I can recognize them, although it is annoying. |
Re: Anki for N900?
Using Ankionline is only an option when you're in the country where your flatrate is valid though (or on a wifi-network). I intend to use the N900 on my travels for reviewing, in which case Ankionline is not really an alternative since the roaming rates will be ridiculous =P
|
Re: Anki for N900?
Did some research and found this page: http://ichi2.net/anki/wiki/Anki%20on%20Maemo
Apparently the reason ankimaemi isn't working properly is in part due to the fact that it requires python gtkhtml, which is only available for OS2008(Diablo). I'm going to try again to get ankiqt working and wil report back. |
Re: Anki for N900?
Quote:
...Damn I want that N900 so I can start testing things myself >.< |
Re: Anki for N900?
I see a few ankis in the extras-devel repository:
Code:
$ dpkg -l | grep anki ankimaemi-0.0.7-2 ankiqt-0.9.9.7.9-3 I haven't checked to see the differences between them yet though. http://wiki.maemo.org/Extras-devel -Jeff http://wiki.maemo.org/User:Jebba |
Re: Anki for N900?
Quote:
|
Re: Anki for N900?
Sucks to hear that they don't work. =/
|
Re: Anki for N900?
Libanki can just be run from source. I'm pretty sure it will run on the n900 if you satisfy the python library dependencies. These should all be available. Just read the errors in console to find them all.
|
Re: Anki for N900?
Indeed, ankimaemi from extras-devel seems to work well enough to be usable. However, I had to install python-gtkhtml2 on the command line to make it work.
|
Re: Anki for N900?
Quote:
|
Re: Anki for N900?
Sounds like good news! I look forward to trying it once I get mine =D
|
Re: Anki for N900?
Hi,
latest released anki version 0.9.9.8.5 is now in extras-devel. Can you check whether ankiqt now also works for you? And how does that look on N900? Thanks! |
Re: Anki for N900?
So did anyone try this?
The only reason I bought my n800 was to run anki (which it does like a champ), so I am very interested if it runs on the n900. |
Re: Anki for N900?
I still haven't gotten my N900, but as soon as I do, I will most definitely try it. Unfortunately, it's looking as if I most likely won't be getting it until February, so it's gonna take a while :/
|
Re: Anki for N900?
The latest ankiqt that I see in extras-devel is .9.9.7.9-3. What happened to 0.9.9.8.5?
|
All times are GMT. The time now is 19:55. |
vBulletin® Version 3.8.8