Converting from RevTK to Anki

Index » General discussion

 
Reply #1 - 2009 May 01, 2:08 pm
sethg Member
From: m Registered: 2008-11-07 Posts: 505

I know this isn't an Anki support forum, but I thought this might be okay since it has to do with the site.

I'd like to convert my kanji cards over to Anki because I've been having sketchy internet lately and I don't want to miss a review just because I don't have internet access. I know there's a plugin for moving everything over from RevTK to Anki, but I haven't been able to get it to work for me.

Could someone who has been through this kind of give me a step by step process?  I would really appreciate the help.

Thanks,
Seth

Reply #2 - 2009 May 01, 3:10 pm
igordesu Member
From: Wisconsin USA Registered: 2008-09-22 Posts: 428

hmm, it's been a while since I did it myself, but I'll give it a try.  The first thing is that you must make sure that your failed attempts didn't generate any extra cards or facts or anything at the end of the deck. for some reason, mine did, and i failed repeatedly because of it.  So make sure you delete those.  Second, I would use firefox since Chrome is kind of...new and crappy...when it comes to downloading things (like plugins).  Um, yeah.  And you could like make sure that you're logged into this site before you start the process.  Umm, yeah, that's about it.  Just fiddle around with the settings on Anki for a while kind of like the instructions for the plugin say.  Then again, you may want to wait for somebody like Resolve or whoever else that knows roughly what they're talking about....

Reply #3 - 2009 May 01, 4:48 pm
sethg Member
From: m Registered: 2008-11-07 Posts: 505

Thanks igordesu.

I've finally figured it out and have now completely transfered over from RevTK to Anki. I'm going to post a step-by-step guide here for posterity's sake, so they don't have to figure it out the hard way.

This guide will assume you have already been reviewing with RevTK for some time and that you've downloaded Anki.

1. Open Anki and go to File > Download > Shared Deck. Download the Heisig 1-3 deck.
2. Go to Edit > Browse Items. In the field beside "<Filter>" choose "Heisig Numer" to order your cards appropriately.
3. Go all the way down and select card 3007. Then scroll back to the highest card you currently know, hold SHIFT, and click the card after it. Then go to Actions > Add Tag and type in "Suspended". This will make sure you're not reviewing any card you've yet to learn.
4. Save your deck, and follow the instructions on the plugin page!

It should be as simple as that. I had a hard time kind of figuring it out. Also, don't expect all of your stories to be imported. I was a little sad to find that they weren't, but I'm just going to add them in as I need them.

Hope this helps others who want to do the same.

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
Reply #4 - 2009 May 01, 5:02 pm
Tobberoth Member
From: Sweden Registered: 2008-08-25 Posts: 3364

sethg wrote:

Thanks igordesu.

I've finally figured it out and have now completely transfered over from RevTK to Anki. I'm going to post a step-by-step guide here for posterity's sake, so they don't have to figure it out the hard way.

This guide will assume you have already been reviewing with RevTK for some time and that you've downloaded Anki.

1. Open Anki and go to File > Download > Shared Deck. Download the Heisig 1-3 deck.
2. Go to Edit > Browse Items. In the field beside "<Filter>" choose "Heisig Numer" to order your cards appropriately.
3. Go all the way down and select card 3007. Then scroll back to the highest card you currently know, hold SHIFT, and click the card after it. Then go to Actions > Add Tag and type in "Suspended". This will make sure you're not reviewing any card you've yet to learn.
4. Save your deck, and follow the instructions on the plugin page!

It should be as simple as that. I had a hard time kind of figuring it out. Also, don't expect all of your stories to be imported. I was a little sad to find that they weren't, but I'm just going to add them in as I need them.

Hope this helps others who want to do the same.

The problem is that this technique doesn't save progress. Since I'm already done with RtK, this technique would give me 2042 reviews and put them all in the new stack, the vast majority of the cards aren't supposed to expire for months to come...

Reply #5 - 2009 May 01, 5:04 pm
sethg Member
From: m Registered: 2008-11-07 Posts: 505

Oh, sorry if I wasn't clear. After doing the steps I listed, THEN do the steps on the plugin page. That will pull all of your stats from the site into Anki, so you're not, as you said, getting 2042 reviews.

I just wish the plugin could somehow also pull in all the stories stored on the site.

Last edited by sethg (2009 May 01, 5:08 pm)

Reply #6 - 2009 May 01, 5:11 pm
Tobberoth Member
From: Sweden Registered: 2008-08-25 Posts: 3364

sethg wrote:

Oh, sorry if I wasn't clear. After doing the steps I listed, THEN do the steps on the plugin page. That will pull all of your stats from the site into Anki, so you're not, as you said, getting 2042 reviews.

I just wish the plugin could somehow also pull in all the stories stored on the site.

Oh, that's cool. I might do that tomorrow then.

Reply #7 - 2009 May 01, 5:14 pm
sethg Member
From: m Registered: 2008-11-07 Posts: 505

I would recommend it, especially if you're finished. I love the site for stories and community, but I was stuck without internet all day yesterday and missed a big review. Made me think I should go ahead and get it offline now.

If you have any problems with it, let me know. It was kind of tough to figure out, but I finally got it working well.

Reply #8 - 2009 May 01, 10:06 pm
cangy Member
From: 平安京 Registered: 2006-12-13 Posts: 372 Website

sethg wrote:

I just wish the plugin could somehow also pull in all the stories stored on the site.

for that, see http://forum.koohii.com/viewtopic.php?id=1224

also, if you use the grid feature, see http://groups.google.com/group/ankisrs/ … 8ea92eb57?

Reply #9 - 2009 May 01, 11:51 pm
Nukemarine Member
From: 神奈川 Registered: 2007-07-15 Posts: 2347

One thing to think about since you're switching over to Anki is add more items to your cards. Here's a spreadsheet of info I used http://spreadsheets.google.com/ccc?key= … &hl=en

Obviously, there's the story block. I used the firefox plug-in to pull all my stories off of RevTK. After that I manually aligned them on the kanji spreadsheet (the plug-in does not space out for missing stories).

I added a block for On and Kun Yomi and a block for English descriptions. Had I thought ahead of time, I'd have added a block for Japanese Keyword. This made reviews much easier as vague keywords became irrelevant.

I imported the spreadsheet creating duel cards (recognition and production). I used the Anki plug-in to get my scheduling in there. I even got to do reverse flashcards with the same scheduling as the forward (ok, Resolve had to help me for that one).

While I am saddened not using RevTK for reviews, the ability to study offline has been essential since moving to Africa.

Reply #10 - 2009 May 16, 8:02 pm
sethg Member
From: m Registered: 2008-11-07 Posts: 505

Sorry to dig up this old article, but I wrote out a nice, full guide here, on my new blog:

http://japanese.whiteashesband.com/?p=7

Hopefully I'll put some more stuff up on zee blog, but for now... I've got 40 kanji to add.

Reply #11 - 2009 June 10, 11:37 am
gopineapples New member
From: osaka Registered: 2009-04-23 Posts: 7

Hi Seth,

I followed the link to the plug-in page you posted, but theres nothing there - just the generic front page for plug-ins.

Has the link chnged, or am I missing something?

Really appreciate the clear steps you posted - I got as far as suspending my cards no worries, but I can't seem to import my stats from Koohii. Any further tips would be excellent!!

Reply #12 - 2009 July 15, 3:04 pm
Lyulf Member
Registered: 2009-01-19 Posts: 43

gopineapples wrote:

Hi Seth,

I followed the link to the plug-in page you posted, but theres nothing there - just the generic front page for plug-ins.

Has the link chnged, or am I missing something?

Really appreciate the clear steps you posted - I got as far as suspending my cards no worries, but I can't seem to import my stats from Koohii. Any further tips would be excellent!!

I am having the same problem. If anyone know the answer I would appreciate it.

Reply #13 - 2009 July 15, 3:15 pm
sethg Member
From: m Registered: 2008-11-07 Posts: 505

Hi guys,

Sorry for the long delay in replying. I'll try to update the guide itself later, but in the current version of Anki, instead of downloading the plugin, in Anki, go to File > Download > Shared plugin and it's the plugin called "Import progress from RevTK" or something like that. The rest of the steps should still be the same. If not, let me know and I'll redo it myself and re-write the guide.

-Seth

Reply #14 - 2009 July 15, 3:19 pm
Asriel Member
From: 東京 Registered: 2008-02-26 Posts: 1343

You download plugins off of Anki itself nowadays. But don't bother, the one that's uploaded there doesn't work. I emailed the guy and he sent me this file, which works perfectly:

http://s000.tinyupload.com/?file_id=044 … 3489067300

It's not an "official" release, but he said
Stick it in your plugins folder and you should be good to go.

''Installation'''
* Install this plugin using the Anki shared plugin download feature
* Download the flashcard status file from http://kanji.koohii.com/status/export.php
* Restart Anki. If the plugin has been successfully installed, you will see a it listed as a new import file type under Deck/Import. Additionally, if you started Anki through the command line, you will see 'kanji.koohii.com plugin loaded.' appear on standard output.
* Disable automatic synchronisation with the remote server if it is enabled. This done through going to Edit/Preferences menu, clicking on the 'Autosave and Synchronisation' tab and unchecking 'Sync on open' and 'Sync on close'.
* Disable autosave by unchecking 'Save on close' in the 'Autosave and Synchronisation' window
* Open any deck that has cards adhering to the Heisig model.
* Open the import menu (Deck/Import)
* Change 'Type of file:' to 'Progress from kanji.koohii.com (*.txt)'
NOTE: Mine didn't say that, it just said "Com"
* For 'File to Import:', select the flashcards_status.txt file you downloaded from kanji.koohii.com
* Click 'Import'. Anki will freeze for a little while. After a couple of seconds, you will be able to see the result of the import in the status window.
* Examine the result. If it isn't what you expect, close the deck and discard the changes. Your deck will remain unmodified.
* If the result is OK, then save the deck.
* If you disabled synchronisation and autosave in the steps above, re-enable them.

Notes:
The plugin will not touch any cards that were already reviewed through Anki.

This is done to prevent accidental loss of scheduling information in an existing deck. If you would like to overwrite the review progress for a particular card, you may do so after resetting the progress for the card in the deck. To do this:

* Open the 'Edit Deck' dialog
* Select the cards in the deck you want to reset progress for (click on first card, Shift-click on the last card)
* Click on the 'Cards' button and select 'Reset Progress'
* Save the deck. Warning: you will lose all the progress info for those cards.

Author: misha DOT penkov AT gmail DOT com

Reply #15 - 2009 July 15, 7:21 pm
Lyulf Member
Registered: 2009-01-19 Posts: 43

Thank you this worked like a charm.

aiken Member
From: Cardiff Registered: 2009-01-03 Posts: 11

I'd love to try this, but the link for the flashcard status file doesn't work anymore. Where can I find it?

ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

I don't think I have refactored that script yet, adding to my list.

aiken Member
From: Cardiff Registered: 2009-01-03 Posts: 11

cool cool. thanks in advance!

aiken Member
From: Cardiff Registered: 2009-01-03 Posts: 11

... so?...   not really in a hurry or anything and I alway prefer using the internetsite anyway, but there are internetless holidays coming up... if possibly... soon... please, please^^

Montrealer Member
From: Canada Registered: 2008-12-27 Posts: 33

There's an Export button on the Manage page, or you can access it from the command line with something like the following.

wget -q http://kanji.koohii.com/login --post-data="username=my_user_name&password=my_pass_word&submit=Login" http://kanji.koohii.com/manage/exportflashcards -O flashcards_status.txt

aiken Member
From: Cardiff Registered: 2009-01-03 Posts: 11

Ok I managed to download the file and all. Converted it into a million different things tried to import it with the kanji.kohii.importer plugin mentioned above.
Most of the times it said "cannot be read: Unexpected format of status file". Then when I didn't use the kohii plugin but just imported "any textfile" it did import stuff resulting with me having about 200 kanjicards more than before and all as new cards. so no progress imported...
Don't know what else to try.
Any tips would be very helpful!

dave141190 Member
From: Scotland Registered: 2008-08-16 Posts: 17

same thing is happening to me as aiken said

can anyone help? plz

Reply #23 - 2010 January 06, 4:42 pm
ueshiba Member
From: Portugal Registered: 2008-10-30 Posts: 19

I´m having the same problem as aiken and dave, i have been trying to import for 2 days, looking for guides and converting, but i guess they´re outdated, or i can´t figure them out. Anyway if someone could post a guide on what to do after anki installation it would help so much and i would be really thankful. Am i supposed to use only the csv file i get from here, or convert it. Should i change any of the 8 fields anki presents me with when i´m going to import? A step by step guide would be awesome, it has made me waste so much time....

Last edited by ueshiba (2010 January 07, 9:16 am)

Reply #24 - 2010 January 12, 3:07 am
psineamf New member
Registered: 2010-01-06 Posts: 5

Hi everyone.

Here's what I did to make it work. Please let me know if you get the results you expected. All the steps mentioned previously are basically correct. I have modified them where they are wrong.

Instructions

* Download the flashcard status file from http://kanji.koohii.com/status/export This can be accessed on RevTK from Manage->Export Flashcards (on the left)->Click "Export Flashcards" button
* Open Anki and install the plugin "Import progress from Koohii" using the Anki shared plugin download feature. File->Download->Shared Plugin... (search for koohii)
* Restart Anki.
* Disable automatic synchronisation with the remote server if it is enabled. This done by going to Settings/Preferences menu, select Network tab and uncheck 'Sync on open' and 'Sync on close'.
* Then go to the Saving tab and uncheck 'Save on close'.
* Open any deck that has cards adhering to the Heisig model. (Here I actually downloaded a fresh copy and suspended all the cards I haven't learned yet.)

From here on read through to the end of the post before executing these steps.

* Open the import menu  File->Import
* Change 'Type of file:' to 'Progress from Koohii (*.txt)'
* For 'File to Import:', select the rtk_flashcards.txt (I will get to this now, see after instructions) file you downloaded from kanji.koohii.com with the Export Flashcards function
* Click 'Import'. Anki will freeze for a little while. After a couple of seconds, you will be able to see the result of the import in the status window.
* Examine the result. If it isn't what you expect, close the deck and discard the changes. Your deck will remain unmodified.
* If the result is OK, then save the deck.
* If you disabled synchronisation and autosave in the steps above, re-enable them.

--------

Right, so the file one gets from RevTK is actually called rtk_flashcards.csv. The problem with this file is that it's in the wrong format for the plugin. I guess the plugin is out of date. First, rename the file to rtk_flashcards.txt.

Open it with a text editor and you will note lines as follows :
1,"一","one",2010-01-10 06:40:53,2010-01-19,3,0,2
2,"二","two",2010-01-10 06:40:53,2010-01-19,3,0,2

Which correspond to these fields :
framenum,kanji,keyword,lastreview,expiredate,leitnerbox,failurecount,successcount

The plugin expects these fields :
framenum    lastreview    expiredate    leitnerbox    failurecount    successcount

Yes, there are less fields and they are tab separated.

I modified each line in my file to look like this :
1,2010-01-10,2010-01-19,3,0,2

So for all lines you have to remove the kanji and keyword field and then also the space and the time after the first date. I then changed the python script (the plugin) so that it uses a comma (,) as a delimiter and not a tab. You can skip changing the script but then you must do a search and replace on your file (rtk_flashcards.txt) and replace all commas (,) with a tab character.

I realise I could probably fix the script and re-upload it, but I haven't bothered figuring out what that entails as fixing my file was a simple regular expression "search and replace".

Last edited by psineamf (2010 January 12, 3:39 am)

Reply #25 - 2010 January 12, 3:38 am
psineamf New member
Registered: 2010-01-06 Posts: 5

Well then, I uploaded the new version of the plugin. It's called "Import progress from Koohii (Updated 12 Jan 2010)". So instead of following the instructions in my previous post, just install this new plugin and follow its instructions. It's basically the same thing without the manual editing. I hope it works ;-)

Last edited by psineamf (2010 January 12, 3:58 am)