Ok, I'm trying to get swanki to work on my anki, but it seems that I can't get it to work. On startup of anki, I keep getting a message, telling me something like that "the module swanki-1.21.py doesn't exist." Reading that I needed to edit the configuration section to describe my decks, I assumed this meant that I needed to open up and edit the file. Since the decks I'm using are a RTK 1-3 deck that I got off the shared decks and the Japanese corePLUS gotten likewise, I opened up the attachment in notepad and deleted the
{"deck":"~/.anki/decks/ko2001.anki","fact":"KO2001","card":"Recognition","field":"Expression","type":"sentence"}
part of the file, since I don't have a ko2001 deck. Then I edited the names of the Kanji deck, replacing
{"deck":"~/.anki/decks/kanji.anki","fact":"kanji","card":"write","field":"kanji","type":"kanji","fallback":"keyword"}
with
{"deck":"~/.anki/Heisig RTK (1-3).anki","fact":"kanji","card":"write","field":"kanji","type":"kanji","fallback":"keyword"}
(I edited out the /decks/ portion because I don't have a separate decks folder in my anki folder.)
And then I did the same with
{"deck":"~/.anki/decks/kore.anki","fact":"kore","card":"vocab-recognition","field":"vocab-furigana","type":"word"},
{"deck":"~/.anki/decks/kore.anki","fact":"kore","card":"sentence-recognition","field":"sentence-expression","type":"sentence"}
replacing them with
{"deck":"~/.anki/Japanese corePLUS.anki","fact":"card":"vocab-recognition","field":"vocab-furigana","type":"word"},
{"deck":"~/.anki/Japanese corePLUS.anki","fact":"card":"sentence-recognition","field":"sentence-expression","type":"sentence"}
Then I tried to implement what cangy told me:
<a style="color: white" href="http://kanji.koohii.com/study/?framenum=%(text:heisig number)s">%(keyword)s</a>
part and pasting it after the
prompt={"seen":"swanki-seen-prompt","new":"swanki-new-prompt"}
part of the file. Then I saved it and moved into the plugin folder. These are the exact and only changes I make to the file.
I'm not really very familiar with python or programming in general, so I want to ask what I should do to configure it right? I really want to be able to use swanki.
{"deck":"~/.anki/decks/ko2001.anki","fact":"KO2001","card":"Recognition","field":"Expression","type":"sentence"}
part of the file, since I don't have a ko2001 deck. Then I edited the names of the Kanji deck, replacing
{"deck":"~/.anki/decks/kanji.anki","fact":"kanji","card":"write","field":"kanji","type":"kanji","fallback":"keyword"}
with
{"deck":"~/.anki/Heisig RTK (1-3).anki","fact":"kanji","card":"write","field":"kanji","type":"kanji","fallback":"keyword"}
(I edited out the /decks/ portion because I don't have a separate decks folder in my anki folder.)
And then I did the same with
{"deck":"~/.anki/decks/kore.anki","fact":"kore","card":"vocab-recognition","field":"vocab-furigana","type":"word"},
{"deck":"~/.anki/decks/kore.anki","fact":"kore","card":"sentence-recognition","field":"sentence-expression","type":"sentence"}
replacing them with
{"deck":"~/.anki/Japanese corePLUS.anki","fact":"card":"vocab-recognition","field":"vocab-furigana","type":"word"},
{"deck":"~/.anki/Japanese corePLUS.anki","fact":"card":"sentence-recognition","field":"sentence-expression","type":"sentence"}
Then I tried to implement what cangy told me:
cangy Wrote:you can also keep the English keyword as a select-to-view hint:in this thread here, by copying and pasting theCode:
<!--fon--><span style='font-size: larger'>%(swanki-seen-prompt)s</span>
%(swanki-new-prompt)s<!--foff-->
<a style="color: white" href="http://kanji.koohii.com/study/?framenum=%(text:heisig number)s">%(keyword)s</a>
<a style="color: white" href="http://kanji.koohii.com/study/?framenum=%(text:heisig number)s">%(keyword)s</a>
part and pasting it after the
prompt={"seen":"swanki-seen-prompt","new":"swanki-new-prompt"}
part of the file. Then I saved it and moved into the plugin folder. These are the exact and only changes I make to the file.
I'm not really very familiar with python or programming in general, so I want to ask what I should do to configure it right? I really want to be able to use swanki.
