RECENT TOPICS » View all
Thanks for your reply ^__^
I'm really sorry, the issue was rikaisama stopped importing cards... I was frantic and forgot the main point.
I tried what you said and there was an mplayer.exe still open (and that was wierd, 'cause I never installed mplayer, so I think rikaisama uses it) and two instances of firefox plugin container (dunno if it's related), but no anki's process was still opened.
Btw I rebooted the pc and it seems to work, altough I don't have the courage to try on the same list... btw can the issue be related to the character encoding for the html list I was using? Well, I myself don't think so, 'cause it wasn't unicode, but still, Shift JIS shoudn't give any problem, right? Sorry, I shouldn't talk about things I don't know^^
Anyway, it's all fine now, so thanks again and thanks for your great work
Bye ^__^
Sebastian wrote:
cb4960, thanks again for you work, Rikaisama is awesome!
Is there any chance that in the future you add to Rikaisama a feature like that of this project:
dictscrape: library/anki plugin for semi-automatic card creation?
Probably both of you could collaborate or share code or experience in same way.
dictscrape looks like an interesting project that will be useful for many learners.
I actually wrote a similar personal project tentatively named Epwing2Anki that I've been using for the past ~11 months to almost completely automate my vocabulary card creation using EPWING dictionaries with an EDICT fallback. It takes a list of Japanese words, automatically performs EPWING lookups on those words and formats an Anki Import file. It will let you disambiguate entries in case the dictionary contains more than one entry for the same word and will let you choose example sentences (from kenkyusha 5th ed.) manually or choose them randomly (preferring one sentence from each sub-definition).
I've been meaning to clean it up and release it (among other projects) for a while but have been too busy/lazy. Maybe I'll work on it this weekend.
Once partner5* finalizes his online dictionary scraping code, maybe I can somehow incorporate it into Epwing2Anki.
I probably won't have the motivation to add this sort of functionality to Rikaisama though as I don't think that I would want my reading to be disrupted by a card creation wizard so often. Actually, since I wrote Epwing2Anki I don't even use Real-Time Import anymore. I just use Rikaisama to save the highlighted expression to my word list file and every week or two run the list through Epwing2Anki to get an Anki import file.
@kazeatari,
Glad you got it working. I believe mplayer.exe is used by Anki. Encoding shouldn't matter. Do you have an example that you can give me that I can use to reproduce the issue?
I thought about that. You've told me that even if I import a sentence as example, at the end of a line the sentence end, even if rikaisama doesn't find a maru symbol.
But is that true for a line endend with enter AND for a line ended with maiusc+enter?
Sorry, I know I can't really say anything to help you, it can really be it was just my crappy pc's fault.
Btw the list I was using is the list of words from the official jouyou kanji list (it's a pdf, and I couldn't just paste it in an excel file nor obtain a tab-separated file).
I tought it could be useful to have such an anki deck, but I really suck with program, and database (wrong term?) like edict or kanjidic, so I was going to do everything manually. I pasted it in OOffice writer, then I converted it in an .html file.
...Now I'm reading about your epwing2anki and I really hope you'll release it 'cause it will really save my life.
While I'm here, I'm going to go a little off topic.
I had - I hope - a good idea about creating word lists (and then anki decks, of course) to learn a set of kanji. Well, I opened a thread about it. Obviously I don't know if it's something possible or not, but I think it would help to study in a "new way" and I just hope someone who has the knowledge to do something about it will come forth ^__^
I guess you're very busy with your projects, but - when you have time - could you see the topic and tell me what you think of it?
Sorry if your patience is wearing thin with me m(_ _)m
Last edited by kazeatari (2012 June 28, 11:54 am)
Hi, I've just started trying to use Rikaisama's Real-time import function (because it sounds awesome!) but I've been having some problems. :<
Here's what I've been trying:
In the 'Save format' box I have: $d$t$r$t$n$t$a
In the 'Field names' box I have: Word Furigana Meaning Audio
The results of the RealTimeImport.log after 2 attempts are as follows:
-----------------------------------------------------------
RealTimeImport.__init__: START
ServerManager.__init__: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doInit: START
RealTimeImport.doLoadDeck: START
ServerManager.start: START
ServerThread.__init__: START
ServerThread.run: START
UdpMessageHandler.handle: START
UdpMessageHandler.handle: filename = C:\Users\ANRITS~1\AppData\Local\Temp\~rikai_anki_rti.txt
MessageCommand.__init__: START
MessageCommand.parseHeader: command = add
MessageCommand.parseHeader: version = 1
MessageCommand.performCommand: START
MessageCommand.doAdd: START
MessageCommand.parseFieldNames: fieldNames = [u'Word', u'Furigana', u'Meaning', u'Audio']
MessageCommand.parseTags: tags = "rikai jpclass"
MessageCommand.doAdd: line = 狼 おおかみ wolf (carnivore, Canis lupus) おおかみ - 狼.mp3
MessageCommand.addLineToDeck: ankiFieldInfo = {u'Meaning': u'wolf (carnivore, Canis lupus)', u'Furigana': u'\u304a\u304a\u304b\u307f', u'Word': u'\u72fc', u'Audio': u'\u304a\u304a\u304b\u307f - \u72fc.mp3'}
MessageCommand.addLineToDeck: Could not add to deck!
UdpMessageHandler.handle: START
UdpMessageHandler.handle: filename = C:\Users\ANRITS~1\AppData\Local\Temp\~rikai_anki_rti.txt
MessageCommand.__init__: START
MessageCommand.parseHeader: command = add
MessageCommand.parseHeader: version = 1
MessageCommand.performCommand: START
MessageCommand.doAdd: START
MessageCommand.parseFieldNames: fieldNames = [u'Word', u'Furigana', u'Meaning', u'Audio']
MessageCommand.parseTags: tags = "rikai jpclass"
MessageCommand.doAdd: line = 行商人 ぎょうしょうにん peddler; pedlar; hawker ぎょうしょうにん - 行商人.mp3
MessageCommand.addLineToDeck: ankiFieldInfo = {u'Meaning': u'peddler; pedlar; hawker', u'Furigana': u'\u304e\u3087\u3046\u3057\u3087\u3046\u306b\u3093', u'Word': u'\u884c\u5546\u4eba', u'Audio': u'\u304e\u3087\u3046\u3057\u3087\u3046\u306b\u3093 - \u884c\u5546\u4eba.mp3'}
MessageCommand.addLineToDeck: Could not add to deck!
:?
anritsi wrote:
Hi, I've just started trying to use Rikaisama's Real-time import function (because it sounds awesome!) but I've been having some problems. :<
Here's what I've been trying:
In the 'Save format' box I have: $d$t$r$t$n$t$a
In the 'Field names' box I have: Word Furigana Meaning Audio
...
The easiest way to get the "Could not add to deck!" message to accidentally misname one of your fields. Can you make absolutely sure that your Anki deck has the Word, Furigana, Meaning, and Audio fields?
Did you perhaps have 2 decks open and Rikaisama sent the data to the wrong one?
The Real-Time Import plugin will only attach itself to the first deck that was open.
Another way to get that message is if your Anki deck is setup to disallow duplicates and you try to add a word that that already exists in your deck.
For reference, here is what the log should look like. I tried to reproduce your setup as closely as possible by copy-pasting "$d$t$r$t$n$t$a" and "Word Furigana Meaning Audio" into Rikaisama and creating a new deck with those same fields.
RealTimeImport.__init__: START
ServerManager.__init__: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doDeckClosed: START
RealTimeImport.doInit: START
RealTimeImport.doLoadDeck: START
ServerManager.start: START
ServerThread.__init__: START
ServerThread.run: START
UdpMessageHandler.handle: START
UdpMessageHandler.handle: filename = C:\Users\chris\AppData\Local\Temp\~rikai_anki_rti.txt
MessageCommand.__init__: START
MessageCommand.parseHeader: command = add
MessageCommand.parseHeader: version = 1
MessageCommand.performCommand: START
MessageCommand.doAdd: START
MessageCommand.parseFieldNames: fieldNames = [u'Word', u'Furigana', u'Meaning', u'Audio']
MessageCommand.parseTags: tags = "rikai jpclass"
MessageCommand.doAdd: line = 狼 おおかみ (n,uk) wolf (carnivore, Canis lupus); wolf (in sheep's clothing) おおかみ - 狼.mp3
MessageCommand.addLineToDeck: ankiFieldInfo = {u'Meaning': u"(n,uk) wolf (carnivore, Canis lupus); wolf (in sheep's clothing)", u'Furigana': u'\u304a\u304a\u304b\u307f', u'Word': u'\u72fc', u'Audio': u'\u304a\u304a\u304b\u307f - \u72fc.mp3'}
UdpMessageHandler.handle: START
UdpMessageHandler.handle: filename = C:\Users\chris\AppData\Local\Temp\~rikai_anki_rti.txt
MessageCommand.__init__: START
MessageCommand.parseHeader: command = add
MessageCommand.parseHeader: version = 1
MessageCommand.performCommand: START
MessageCommand.doAdd: START
MessageCommand.parseFieldNames: fieldNames = [u'Word', u'Furigana', u'Meaning', u'Audio']
MessageCommand.parseTags: tags = "rikai jpclass"
MessageCommand.doAdd: line = 行商人 ぎょうしょうにん (n) peddler; pedlar; hawker ぎょうしょうにん - 行商人.mp3
MessageCommand.addLineToDeck: ankiFieldInfo = {u'Meaning': u'(n) peddler; pedlar; hawker', u'Furigana': u'\u304e\u3087\u3046\u3057\u3087\u3046\u306b\u3093', u'Word': u'\u884c\u5546\u4eba', u'Audio': u'\u304e\u3087\u3046\u3057\u3087\u3046\u306b\u3093 - \u884c\u5546\u4eba.mp3'}
Last edited by cb4960 (2012 July 21, 10:37 am)
I have just uploaded version 15.1 of the Rikaisama Firefox extension.
Download version 15.1 via SourceForge
What's New?
This is just a quick release to upgrade to eplkup 1.2.1 which has better gaiji support for EPWING dictionaries - especially for『大辞泉』and 『明鏡国語辞典』.
cb4960
Last edited by cb4960 (2012 July 21, 5:39 pm)
cb4960 wrote:
The easiest way to get the "Could not add to deck!" message to accidentally misname one of your fields. Can you make absolutely sure that your Anki deck has the Word, Furigana, Meaning, and Audio fields?
Did you perhaps have 2 decks open and Rikaisama sent the data to the wrong one?
The Real-Time Import plugin will only attach itself to the first deck that was open.
Another way to get that message is if your Anki deck is setup to disallow duplicates and you try to add a word that that already exists in your deck.
Oh, I figured out what I was doing wrong.
The field names weren't misspelled, but I did have another field in that deck that was marked "Prevent empty entries". When I unchecked it, everything worked fine. :D
Is there a way to use both sanseido and j-e at the same time? 2 pop-ups one under the other.
arnaldosfjunior wrote:
Is there a way to use both sanseido and j-e at the same time? 2 pop-ups one under the other.
No, not yet.
Chris are you the creator of the "rikaikun" extension for Google Chrome/Chromium?
Edit: Question marks are good...
Edit2: Forget it, it turns out Chrome extensions come with nametags ![]()
Last edited by frony0 (2012 August 04, 4:31 pm)
Hi. Could somebody re-upload the version that works with OSX?
I'm currently trying to get my EPWING dics to work with rikaisama, but it's not working..
Just giving a reminder to the author that the Anki 2 release is imminent, and Anki 2 decks have the format of .anki2.
The anki deck reading features of the add-on will need to be updated. Thanks for everything.
Zorlee wrote:
Hi. Could somebody re-upload the version that works with OSX?
I'm currently trying to get my EPWING dics to work with rikaisama, but it's not working..
Here you go. ^-^
@cb: Hey, is it possible to code a modification of Rikai-sama, so that other language learners also could profit from it? For example, German->English would be really cool to have, or anything else. Rikai-sama takes the Japanese dictionary as a basis to look up compounds; it'd be cool if you could chose which dicts Rikai-sama actually uses by yourself
Thank you very much in advance!! I hope this is not all too difficult to code...
ryuudou wrote:
Just giving a reminder to the author that the Anki 2 release is imminent, and Anki 2 decks have the format of .anki2.
The anki deck reading features of the add-on will need to be updated. Thanks for everything.
Thanks for the reminder. Anki 2 doesn't really interest me so I've been putting it off.
Tori-kun wrote:
@cb: Hey, is it possible to code a modification of Rikai-sama, so that other language learners also could profit from it? For example, German->English would be really cool to have, or anything else. Rikai-sama takes the Japanese dictionary as a basis to look up compounds; it'd be cool if you could chose which dicts Rikai-sama actually uses by yourself big_smile Thank you very much in advance!! I hope this is not all too difficult to code...
It's possible, but I'm not interested in adding such a feature.
Last edited by cb4960 (2012 September 02, 11:54 am)
Thanks for your reply, cb4960. Unfortunately, I don't know how to code this.. I would be grateful if some other foreign language learner with coding skills could make this possible. I would even pay for it ![]()
cb4960 wrote:
ryuudou wrote:
Just giving a reminder to the author that the Anki 2 release is imminent, and Anki 2 decks have the format of .anki2.
The anki deck reading features of the add-on will need to be updated. Thanks for everything.Thanks for the reminder. Anki 2 doesn't really interest me so I've been putting it off.
Why? It has a lot of great new features so far. The new learning mode is quite amazing.
Rikaisama isn't recognizing my 広辞苑 EPWING installation. The directory structure looks like this:
KOJIEN/
CATALOGS
KOTOL.KEY
FUROKU/
DATA/
GAIJI/
KOJIEN/
DATA/
GAIJI/
MOVIE/
This is 広辞苑第六版 DVD-ROM版. It works fine with cb4960's other program Epwing2Anki, but with Rikaisama it just acts as if I haven't added any EPWING dictionaries (i.e. EPWING mode does nothing, and if I remove the Rikaichan dictionaries from my Firefox addons Rikaisama says there are no dictionaries). @cb4960, any idea what's happening?
Maybe it's a dumb suggestion, but did you check properly the path? 'cause if you open the folder where catalog's file is in and press ok, then the path will be:
C:\\ .........\folderwithcatalogfile\folderwithcatalogfile\
it tricked me and it took me some time to understand this was the problem.
Just my 2 yen ^__^
It seems to be correct. I even moved it to a path with no spaces in it in case that was the issue. The text box in the Rikaisama settings says C:\EPWING\KOJIEN and the CATALOGS file is at C:\EPWING\KOJIEN\CATALOGS .
By the way, note that it is a CATALOGS file and not a CATALOG file. Maybe it's a newer, extended EPWING format? Is anyone else using the 広辞苑 EPWING dictionary successfully with Rikaisama? cb4960 seems to support it in Epwing2Anki, but maybe because Rikaisama is older it doesn't support it? (But then again this DVD version of 広辞苑 is several years old so it can't be a very recent format change, if that's what it is...)
Last edited by flamingspinach (2012 September 17, 9:12 am)
flamingspinach wrote:
It seems to be correct. I even moved it to a path with no spaces in it in case that was the issue. The text box in the Rikaisama settings says C:\EPWING\KOJIEN and the CATALOGS file is at C:\EPWING\KOJIEN\CATALOGS .
By the way, note that it is a CATALOGS file and not a CATALOG file. Maybe it's a newer, extended EPWING format? Is anyone else using the 広辞苑 EPWING dictionary successfully with Rikaisama? cb4960 seems to support it in Epwing2Anki, but maybe because Rikaisama is older it doesn't support it? (But then again this DVD version of 広辞苑 is several years old so it can't be a very recent format change, if that's what it is...)
The path you entered is correct (C:\EPWING\KOJIEN). Spaces don't matter. Rikaisama can use any EPWING dictionary, including Kojien (Epwing2Anki on the other hand can only use certain ones). Rikaisama and Epwing2Anki use the exact same tool, eplkup, to lookup words in EPWING dictionaries.
Rikasama will create a file in your system's temp directory and passes it to eplkup. If the path of this temp file contains a non-acsii (ex. Japanese) character, then it won't work properly. To find you system's temp directory, press Windows Key + R, type %temp% into the box and press OK.
Another user reported that their virus scanner was making EPWING lookups incrediably slow (he was using Panda Antivirus). Maybe disable your virus scan temporarily to see if that helps.
Last edited by cb4960 (2012 September 17, 2:04 pm)
I was wondering what the options were for running this version of Rikaichan on a tablet device? I'm used to reading books on my Kindle and iPad and will like to read Japanese books that are in text file format on a tablet. I know its a bit early to ask but will Rikachan work (or will plan to be supported) under Windows 8? I see that there will be a few full Windows 8 tablets available and that Firefox will be available for Windows 8 (but not RT so it needs to be a Windows 8 tablet).
There is an iPad version of Rikaichan but I'm not sure it will allow to read from a text file and it definitely doesn't have the Anki integration.
PotbellyPig wrote:
I was wondering what the options were for running this version of Rikaichan on a tablet device? I'm used to reading books on my Kindle and iPad and will like to read Japanese books that are in text file format on a tablet. I know its a bit early to ask but will Rikachan work (or will plan to be supported) under Windows 8? I see that there will be a few full Windows 8 tablets available and that Firefox will be available for Windows 8 (but not RT so it needs to be a Windows 8 tablet).
There is an iPad version of Rikaichan but I'm not sure it will allow to read from a text file and it definitely doesn't have the Anki integration.
Rikaisama should work on any Windows XP or Windows 7 tablet or any x86-based Windows 8 tablet when those become available. I have no plans to port Rikaisama to Andriod, iOS or Windows 8 RT.
Noticed something which I believe to be a bug.
If you highlight a word in certain conjugations it is recognized by the english dictionary but not sanseido. Copying it with C will produce the unconjugated form from the english dictionary with definition, which sanseido will then recognize once pasted somewhere.
Not sure how the dictionary lookups are performed, so perhaps it is impossible, but perhaps a cross reference can be performed on the english dictionary to search again with sanseido if the first sanseido lookup fails to produce anything? Something like a hybrid dictionary?
Example :
こき下ろされた
Just wondering: is rikaisama still being updated? the latest version seems to have been out since January. If there is a new version on the way, I would really support including support for pitch accent, as already suggested (there are still so few materials to work on pitch accents!). BTW, if anyone feels courageous enough to include pitch accents to Core x000 Anki decks (especially the optimized one), it would be great as well!

