7 1 Sign in to rate

😄KanjiEater's Heisig RTK, Rebooting the Kanji - Related Vocab on Sentence Cards

<10kB. Updated 2019-06-10.

The author has shared 6 other item(s).

Description

Hype! Ready to integrate heisig's into actually learning Japanese? Want to focus to passively pick up Kanji's associated meanings? Need a handy-dandy reference to all those squiggles? Well your prayers have been answered by Papa Heisig: Automatically generate a list of kanji and their meanings to each card. Summary If you've used the Japanese plugin, it's similar to that. It will require you to make a new destination field, (by default it writes to Keyword, so name the new field that). It pulls out the keywords from the characters in your Reading field. It then dumps each word to the keywords field like this: FoundKanji - SomeMeaning, which actually links to koohii, so you can double check your story by clicking any kanji in the list and be taken to it's story. My result looks like this: Instructions Make sure you know about backups. With all anki operations, as a add-on author, I'm not responsible for anything that happens to your collection. Backup to ankiweb before and don't sync until things look good. Good luck 😄 and ask questions on How to add the Keyword and Reading to your sentence cards (case sensitive, not plural) Back up your collection and sync with all devices go to ANKI Browser (Usually the Browse button at the top) Select a sentence card that you want to try click on Field Click Add Put in Keyword Click Add Put in Reading Put any content you want to generate keywords for in Reading (a sentence like:政権を覆す) Have a separate deck with Kanji and Heisig Keyword Field and a Note type of 'Japanese Heisigs RTK all-in-one' Easy Mode: Download this deck Alternatively, Use an existing deck Make sure the downloaded or alternative deck has a field called Kanji, with the single kanji character in it Make sure the downloaded or alternative deck has a field called 'Heisig Keyword', with the single Heisig's kanji in it You can see the current card's note type by looking in Edit, Change Note Type, and at the very top: Current note type Make sure the downloaded or alternative deck has a note type named EXACTLY 'Japanese Heisigs RTK all-in-one' After Configuration: go to ANKI Browser choose the deck select a sentence card(s), either via Shift+arrows or Ctrl+A for all cards click on Edit, then Bulk-add RTK Keywords in menu patiently wait... there is no progress bar or anything fancy like that, don't shoot the app down just because Windows says that app is not responding Submitting bug reports: Helpful feedback of any kind is always welcome. Please use the Github Issues for this. Helping with development: Found a bug you can fix? Pull requests are always appreciated! Follow @kanjieater As seen on my Patreon post, which outlines the 2.1 functionality additions: Re:booting the kanji high level guide Ready to integrate heisig's into actually learning Japanese? Want to focus to passively pick up Kanji's associated meanings? Need a handy-dandy reference to all those squiggles? Well your prayers have been answered by Papa Heisig: Automatically generate a list of kanji and their meanings to each card.If you've used the Japanese plugin, it's similar to that. It will require you to make a new destination field, (by default it writes to Keyword, so name the new field that). It pulls out the keywords from the characters in your Reading field. It then dumps each word to the keywords field like this: FoundKanji - SomeMeaning, which actually links to koohii, so you can double check your story by clicking any kanji in the list and be taken to it's story. My result looks like this:Make sure you know about backups. With all anki operations, as a add-on author, I'm not responsible for anything that happens to your collection. Backup to ankiweb before and don't sync until things look good. Good luck 😄 and ask questions on github . Also - just fyi, I only test anki on Windows. Let's get started! Note to Advanced Users: any of the 5 fields I say you need to match, can be edited in rtkkw .py, the add-on file.Fields are explained at the bottom. All the fields I'm talking about making in the below Configuration section can be configured in rtkkw .py. Configuration:After Configuration: Field explanation for the rtkkw.py config: The sentence/vocab that has the words you want to generate "kanji - vocab/keyword" for. srcFields = ['Reading'] The field you'll be outputing to to show on the back of your sentence cards. dstFields = ['Keywords'] The Note Type of your RTK cards. This is not necessarily the Note Type of your normal sentence cards.You can see what the name of your Note Type is by going into the Browser -> selecting a card that's in your RTK deck -> click Note in the top left -> Manage Note Type -> Current Note Type is displaying in the pop-up dialog. rtkModel = 'Japanese Writing' The field from the same deck as your rtkModel (above) that must contain a single kanji, that will be used to identify the contained kanji in sentence fields. rtkKanjiField = 'Kanji' The field in your sentence deck that will have RTK keywords/vocab output to it. rtkKeywordField = 'Heisig Keyword' The field in the rtkModel cards that has vocab related to your Kanji (in the same rtkModel card). vocabField = 'KanjiVocabAnswer' If vocabField isn't found on the rtkModel, use this as a link for the kanji. Clicking the generated line will take you here if there's a "kanji - word", not if there's a "kanji - vocab" kanjiUrl = ' http://kanji.koohii.com/study/kanji/' If vocabField is found on the rtkModel, use this as a link for the vocab. Clicking the generated line will take you here if there's a "kanji - vocab" vocabUrl= ' https://jisho.org/search/'

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into Anki 2.1:

1855482626

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons

Reviews

I don't know whether to rate this good or bad.

Finally managed to get this working after like 30 minutes, the documentation is not updated.

I'm not sure how many Anki users will be able to implement this, well at least it exists.

It doesn't work. Thought the answer might be in the documentation -- I was wrong.

I'm still not sure it's supposed to do.

Ok so its a nice addon and very useful, but the template deck won't work by default. Change the note type to "Japanese Writing" and it should work

complicated setup, but works

Works great!



This is to help others having problems.



Edit the file "_Heisigs_Remembering_the_Kanji_-_Add_Heisigs_keywords_and_link_stories.py" and find the variables at the top of the file.



This is mine:



srcFields = ['Expression'] - This is the field with the Japanese text (for example a sub2srs deck & field)

dstFields = ['2LeadingMeaning'] - This is where the RTK Keywords will end up. From for example a sub2srs deck and field.

rtkModel = 'Japanese NihongoShark.com: Kanji' - This is your RTK Kanji deck note type.

rtkKanjiField = 'Word (Kanji)' - This is the Kanji field in your RTK deck.

rtkKeywordField = 'keyword' - Also from your Kanji deck, where the RTK keyords are.



So you need to mix the fields from TWO decks (in my case the RTK & a subs2srs deck). Go to browser and Edit->Bulk add RTK Keywords.





!!! UPDATE!!! For 2.1:



The filename has changed to "rtkkw.py"... but one big problem I had was it wouldn't work and gave me this error:



"Failed to generate cache, does your model exist?"



This ambiguous error took me a while to figure out. The problem is the author has not revealed you need to add extra field(s) in your RTK deck.



You must edit your main RTK Kanji Deck i.e. "Japanese NihongoShark.com: Kanji" Deck and add the following field: "KanjiVocabAnswer".



You might as well also add the following fields also: "KanjiVocabQuestion" & "KanjiVocabExtra". It relies on the KanjiVocab Add on: https://ankiweb.net/shared/info/1600796261



Also if you want to add the framenumber to your http link do this:



Add this below the variables:



rtkframenum = 'id'



and in the function getMessage() add the line & change the first "message =" line. I also changed it to have behavior like the old version.



To keep things simple, just replace the entire function with mine if your using NihongoShark's deck.:



def getMessage(note):

kanji = note[rtkKanjiField]

keyword = note[rtkKeywordField]

frameidnum = note[rtkframenum]

message = "<a title='{}' href='{}{}'>{} - {} - {}</a><br>".format(keyword, kanjiUrl, kanji, kanji, frameidnum, keyword)

return message, kanji

I was getting the same error as everyone else: after intalling this add on, I couldn't open the Browser to bulk-add Keywords to my deck, it caused a crash. I assumed it was broken & uninstalled. It turns out, I'm an idiot, and bad at reading directions. To use this add-on, you need TWO DECKS: the deck you want to add RTK keywords to with this add-on, and a "dictionary" deck with Kanji and Keywords for this add-on to pull from. So make sure you 1) download and 2) import the Kanji Deck from the description, and then and only then 3) install the add-on. After that you'll be able to open the browser, select cards, and edit>bulk-add keywords. Very useful add-on and it works beautifully once I followed all the steps. Thank you!

I am a mac user and it didn't work for me. When I clicked 'browse' an error code came up. Looked like an awesome add-on though. Please backup your deck before trying this!

this appears when I click 'browse'



An error occurred in an add-on.

Please post on the add-on forum:

https://anki.tenderapp.com/discussions/add-ons



Traceback (most recent call last):

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.webview", line 152, in _linkHandler

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.toolbar", line 74, in _linkHandler

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.toolbar", line 91, in _browseLinkHandler

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.main", line 709, in onBrowse

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt", line 61, in open

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.browser", line 362, in __init__

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.browser", line 435, in setupMenus

File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.hooks", line 26, in runHook

File "C:\Users\Sonia Brandao\Documents\Anki\addons\_Heisigs_Remembering_the_Kanji_-_Add_Heisigs_keywords_and_link_stories.py", line 141, in setupMenu

generateCache()

File "C:\Users\Sonia Brandao\Documents\Anki\addons\_Heisigs_Remembering_the_Kanji_-_Add_Heisigs_keywords_and_link_stories.py", line 27, in generateCache

mf = "mid:" + str(model['id'])

TypeError: 'NoneType' object has no attribute '__getitem__'



but maybe its because I'm just using an older Anki version, 2.0.32

I am also using windows 7