RECENT TOPICS » View all
ta12121 wrote:
http://forum.koohii.com/viewtopic.php?id=6542
I'm trying to get this mod to work with the current Rikaisama extension. Can anyone help me out with it? I'm trying to give myself a variety of SRS production-style cards(including sentences and these are exactly what I'm looking for). Any help would be appreciated!
In the "Save format" field of the "Clipboard and Save" tab of the Options dialog use either the $s or $b tokens.
Last edited by cb4960 (2013 February 03, 1:24 am)
I have just ported the Anki Real-Time Import add-on to Anki 2.
Real-Time Import on AnkiWeb
For those unfamiliar with Real-Time Import, it is an Anki add-on that allows Rikaisama to instantly add a card to an open deck by pressing the "R" key when a word is hilighted.
For setup details, see the Setting up the Anki Real-Time Import Feature section on the Rikaisama webpage.
I've tested this on Windows 7, Windows XP and Linux Mint.
cb4960
Does this work on mac too?
Forthem wrote:
Does this work on mac too?
No.
I will, of course, accept a patch if some smart Mac user does want to add Mac support. Probably wouldn't be too difficult.
THANK YOU for the Anki2 plugin! I feel like a god of Japanese vocab right now.
There's one thing I'm having some trouble with, though. The word audio file won't save to my Anki media folder anymore. It should download it when I press the R button, correct? It did work when I exported the information to a .txt file a while back, but no more.
EDIT: I think I got it. I must press S first to save the audio file, then R to add it to Anki2.
EDIT2: The problem is that while the word is saved to the right folder, Anki won't repeat it unless I manually surround the kana - kanji.mp3 with [sound:] brackets in the WordAudio field. Well, I'll look into it.
EDIT3: Nevermind, I'm a genius.
Last edited by Betelgeuzah (2013 February 11, 8:32 am)
Any idea why I'm not seeing my notes/cards?
I press 'R' and see "Real-Time Import: Note Added". When I check my deck, it says "Waiting for editing to finish." with a Resume button. That never goes away so I just click Resume but no cards/notes would show up in the deck.
I've checked the guide (http://rikaisama.sourceforge.net/#how_to_install) but I'm still stuck. I've used the same Field names / Save format but still no luck. ![]()
Betelgeuzah wrote:
I think I got it. I must press S first to save the audio file, then R to add it to Anki2.
Hmm, I should probably make an option to do this automatically and save a key press.
Last edited by cb4960 (2013 February 11, 9:42 pm)
randyrandy wrote:
Any idea why I'm not seeing my notes/cards?
I press 'R' and see "Real-Time Import: Note Added". When I check my deck, it says "Waiting for editing to finish." with a Resume button. That never goes away so I just click Resume but no cards/notes would show up in the deck.
I've checked the guide (http://rikaisama.sourceforge.net/#how_to_install) but I'm still stuck. I've used the same Field names / Save format but still no luck.
The fact that you see the "Note Added" popup means that Real-Time Import didn't encounter any error and thinks it added a card somewhere. Bring up Anki's Broswer dialog, click on "Whole Collection" and try searching for one of the terms you added. Where did Real-Time Import put it?
cb4960 wrote:
randyrandy wrote:
Any idea why I'm not seeing my notes/cards?
I press 'R' and see "Real-Time Import: Note Added". When I check my deck, it says "Waiting for editing to finish." with a Resume button. That never goes away so I just click Resume but no cards/notes would show up in the deck.
I've checked the guide (http://rikaisama.sourceforge.net/#how_to_install) but I'm still stuck. I've used the same Field names / Save format but still no luck.The fact that you see the "Note Added" popup means that Real-Time Import didn't encounter any error and thinks it added a card somewhere. Bring up Anki's Broswer dialog, click on "Whole Collection" and try searching for one of the terms you added. Where did Real-Time Import put it?
It works!! Strangely I just now pressed 'R' and it actually shows up in my deck now! It must've been going to a wrong deck or something earlier! ![]()
Now the audio just isn't hooking up. I believe I set my fields right [sound:{{text:Audio}}.mp3] and the mp3s are saved in the correct format (ex. でんかせいひん - 電化製品.mp3). I think I am saving it in the right folder - \Anki\Rikaisama\collection.media. I have another deck which access their MP3 from this folder.
Sadly I have to go sleep now but I'm nearly finished with the setup! Thanks! ![]()
I received this error when I tried to add a word to Anki2 by pressing R:
Traceback (most recent call last):
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 297, in processPendingDatagrams
msgCmd = MessageCommand(filename);
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 186, in __init__
self.performCommand()
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 193, in performCommand
self.doAdd()
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 207, in doAdd
self.addLineToDeck(line.strip())
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 261, in addLineToDeck
ankiFieldInfo, self.tags)
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 52, in addNote
note = self.createNote(deckName, modelName, fields, tags)
File "C:\Users\Niko-Emilia\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 82, in createNote
note[name] = value
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.notes", line 95, in __setitem__
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.notes", line 89, in _fieldOrd
KeyError: u'Meaning'
Any idea what that could be about?
Hmm, I should probably make an option to do this automatically and save a key press.
That would be great!
Betelgeuzah wrote:
I received this error when I tried to add a word to Anki2 by pressing R: ...
This error message means that you are trying to add a "Note" using a "Note type" that doesn't contain one or more of the fields in Rikaisama's "Field names" box.
To solve this, make sure that you have the right "Note Type" selected:
1) Select deck
2) Enter browser
3) Select deck from the list on the left
4) Edit menu > Change Note Type...
5) Click on the "New note type" button and select the correct note type from the list.
Or create a new "Note type" with the correct fields.
Last edited by cb4960 (2013 February 12, 9:01 pm)
Feature wish:
Ability to display external metadata under the definition lookups.
Format could be something like:
<Dictionary Word>[tab]<Meta data text here>
With a feature like this, you can add information for whatever you want to specific words. Sky would be the limit. Personally I want to extract a frequency list from my subs2srs library, and have that frequency number display along with what I'm reading. If it's more frequent within my cards, I'll know that I should pay more attention to it.
Last edited by Daichi (2013 February 16, 3:25 am)
Yesterday, I could finally figure out how to get Rikaisama's JDIC audio function to work on my Mac. In case it can help other Mac users, here is the procedure.
- I first upgraded to the current (17.4) version of the plugin.
- downloaded MPlayerX (http://mplayerx.org/) and installed it normally in the Applications folder.
- located the mplayer binary within the MPlayerX application bundle. Its path was:
/Applications/MPlayerX.app/Contents/Resources/binaries/x86_64/mplayer
- In a Terminal window, I created a symbolic link in the /usr/local/bin directory pointing on the mplayer binary file:
sudo ln -s /Applications/MPlayerX.app/Contents/Resources/binaries/x86_64/mplayer /usr/local/bin/mplayer
- After that, the "F" key triggered the audio as expected.
Great!!!
Thanks again cb4960
I have just uploaded version 17.5 of the Rikaisama Firefox extension.
Download version 17.5 via SourceForge
What's New?
● Added 4,716 more pitch accents. This brings the total to 121,817.
Pitch accents that are probably accurate but have a small chance of being wrong now have a trailing question mark. This applies to 11,290 pitch accents.
cb4960
@Daichi,
Good idea! Maybe I will do this for version 18.0.
@jmignot,
Thanks for sharing.
Hi there.
Small request:
User selects a section of text. Then user mouses over the part/word whatever they want to add to anki as usual. Press R or T. Instead of just adding the sentence, it adds the users selection instead as at the sentence.
For example:
時間がありまして、映画を見ました。
There was time and I watched a movie.
If I use it normally, only the japanese line is added. But if i can select the two lines and press a button, I want both lines to go into the Sentence field.
Thanks for listening!
worthy7 wrote:
Hi there.
Small request:
User selects a section of text. Then user mouses over the part/word whatever they want to add to anki as usual. Press R or T. Instead of just adding the sentence, it adds the users selection instead as at the sentence.
For example:
時間がありまして、映画を見ました。
There was time and I watched a movie.
If I use it normally, only the japanese line is added. But if i can select the two lines and press a button, I want both lines to go into the Sentence field.
Thanks for listening!
I'm not so sure about this one. I think I'll pass for now.
I keep getting this error whenever I try to import a word. I've made sure my note type matches up the fields in Rikai, so I have absolutely no idea what this is about.
An error occurred in an add-on. Please contact the add-on author.
Traceback (most recent call last):
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 297, in processPendingDatagrams
msgCmd = MessageCommand(filename);
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 186, in __init__
self.performCommand()
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 193, in performCommand
self.doAdd()
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 207, in doAdd
self.addLineToDeck(line.strip())
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 261, in addLineToDeck
ankiFieldInfo, self.tags)
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 52, in addNote
note = self.createNote(deckName, modelName, fields, tags)
File "C:\Users\joejoe\Documents\Anki\addons\Real-Time_Import_for_use_with_the_Rikaisama_Firefox_Extension.py", line 82, in createNote
note[name] = value
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.notes", line 95, in __setitem__
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.notes", line 89, in _fieldOrd
KeyError: u'Reading'
darkauras wrote:
I keep getting this error whenever I try to import a word. I've made sure my note type matches up the fields in Rikai, so I have absolutely no idea what this is about.
...
This error message means that you are trying to add a "Note" using a "Note type" that doesn't contain one or more of the fields in Rikaisama's "Field names" box.
To solve this, make sure that you have the right "Note Type" selected:
1) Select deck
2) Enter browser
3) Select deck from the list on the left
4) Edit menu > Change Note Type...
5) Click on the "New note type" button and select the correct note type from the list.
Or create a new "Note type" with the correct fields.
In my 書き取り deck, I have the following phrase 館に築地ベイを廻らす。
めぐらす【巡らす/回らす/廻らす】の意味 - 国語辞書 - goo辞書
Hanging over 回らす/廻らす/繞らす, the verb doesn't show, only the first kanji. On the other hand, 巡らす shows the 4 of them.
巡らす めぐらす めぐら・す【回らす・廻らす・巡らす】<br />⦅他五⦆...
巡らす めぐらす めぐら・す【巡らす(<sup>▼</sup>廻らす・<sup>▽</sup>回らす・<sup>▼</sup>繞らす)】〘他五〙...
Is there a solution?
arnaldosfjunior wrote:
In my 書き取り deck, I have the following phrase 館に築地ベイを廻らす。
めぐらす【巡らす/回らす/廻らす】の意味 - 国語辞書 - goo辞書
Hanging over 回らす/廻らす/繞らす, the verb doesn't show, only the first kanji. On the other hand, 巡らす shows the 4 of them.
巡らす めぐらす めぐら・す【回らす・廻らす・巡らす】<br />⦅他五⦆...
巡らす めぐらす めぐら・す【巡らす(<sup>▼</sup>廻らす・<sup>▽</sup>回らす・<sup>▼</sup>繞らす)】〘他五〙...
Is there a solution?
Rikaisama relies on Rikaichan's dictionary files, and Rikaichan relies on EDICT, and EDICT doesn't have an entry for 回らす/廻らす/繞らす at this time. The solution would be to either wait until the words are added to EDICT, or manually add them to Rikaichan's sqlite dictionary file.
cb4960 wrote:
The solution would be to either wait until the words are added to EDICT
Or he could speed up the process and add them himself: http://www.edrdg.org/jmdictdb/
Is it possible for Rikaisama to read everything instead of just parts? Like this: 十七分?
Rikaisama detects it as 2 different words, 十七 and 分 but if there is any way to make it detect it as 十七分 then that would be great.
Last edited by daevil (2013 March 28, 12:24 pm)
daevil wrote:
Is it possible for Rikaisama to read everything instead of just parts? Like this: 十七分?
Rikaisama detects it as 2 different words, 十七 and 分 but if there is any way to make it detect it as 十七分 then that would be great.
It is possible, but I don't think adding every permutation of number + minute/second/hour/etc. to the dictionary is a good idea.
Rikaisama just went haywire and started translating everything J-J. Restarting firefox seems to have put it to english again, I don't know what was up.. but posting it anyway just in case.

