kanji koohii FORUM
Rikaichan: RevTK Community Edition - Printable Version

+- kanji koohii FORUM (http://forum.koohii.com)
+-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html)
+--- Forum: Learning resources (http://forum.koohii.com/forum-9.html)
+--- Thread: Rikaichan: RevTK Community Edition (/thread-5351.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


Rikaichan: RevTK Community Edition - cb4960 - 2013-11-23

BlackIce Wrote:Sorry for offtopic but is there a rikaisama-like software that works on a pdf file? The addon is really helpful for the browser & thanks btw!
Since recent versions of Firefox can open most PDF files, you can use Rikaisama.

Screenshot showing a PDF opened in Firefox:
[Image: transparency.png]


Rikaichan: RevTK Community Edition - SomeCallMeChris - 2013-11-28

Hmmm, I realized a problem today with the vocabulary '*' function.
Some of my cards have <div> tags around the word because Anki used to like to create gratuitous divs. However, the vocabulary recognition function doesn't ignore tags. I think there's a strip HTML option on -importing- a deck, but I don't see a way to strip HTML on -export-. It'd be nice if tags were cleanly ignored.

I can probably live with it - it's only a minority of cards and they're all mature, so it only comes up when it's one of those minority -and- I've nearly forgotten it and want to add it again. Still, it would be nice to not have to live with it. (Maybe there's a simple way to strip HTML from a particular field in all cards, but if there is, I don't know it.)

Also a problem for anybody who marks up words deliberately, but I don't know why anyone would.


Rikaichan: RevTK Community Edition - Inny Jan - 2013-11-28

SomeCallMeChris Wrote:Also a problem for anybody who marks up words deliberately, but I don't know why anyone would.
クセントをらわすたに?


Rikaichan: RevTK Community Edition - SomeCallMeChris - 2013-11-28

Inny Jan Wrote:
SomeCallMeChris Wrote:Also a problem for anybody who marks up words deliberately, but I don't know why anyone would.
クセントをらわすたに?
That hadn't occured to me.
But that would be in a kana-field for the back of the card, woudn't it?
The field in question would be one that contains just the vocabulary word itself, since that's the field to point rikaisama's vocabulary function at. If the vocabulary entry is a phrase like アクセントを表す為に it won't matter anyway, unless it's a set phrase found with its own entry in the dictionary you're using with rikai.


Rikaichan: RevTK Community Edition - Inny Jan - 2013-11-28

Yes, you are right, that would be in the “reading” field. But I happen to mark up the “expression” field as well. I have a deck that is based on “Kanji in Context” and as you are probably aware, when a new character is introduced in KiC, they show several examples of usage of that character.

For example, when you study 序 they give you that list:
順序
秩序
序列
年功序列
序文
序論
序曲

In my KiC deck I do:



年功




As for how to get rid of the gratuitous divs, I would try two approaches:
1. Export the deck to a text file and then re-import with the “ignore HTML” option on.
2. You probably could use the “search&replace” function to remove the unnecessary HTML mark up.


Rikaichan: RevTK Community Edition - cb4960 - 2013-11-28

Thanks for the feedback. I'll see about releasing a new version within the next few days to strip HTML tags after reading a line from the word list.


Rikaichan: RevTK Community Edition - dtcamero - 2013-11-28

Any chance of a Mac version for this wonderful program? Since the bootleg a couple years ago we're stuck with an ancient version of rikaisama...
For example anki import can't talk with anki any longer since the big update there...
Any charitable programmers want to help the Mac community out?
xo


Rikaichan: RevTK Community Edition - SomeCallMeChris - 2013-11-28

Inny Jan Wrote:As for how to get rid of the gratuitous divs, I would try two approaches:
1. Export the deck to a text file and then re-import with the “ignore HTML” option on.
2. You probably could use the “search&replace” function to remove the unnecessary HTML mark up.
Ah. Thank you. A couple of search-replaces did it. Could have done it in one if I'd bothered with a regex. I didn't realize that Anki had such a powerful search-replace.


Rikaichan: RevTK Community Edition - toshiromiballza - 2013-11-30

Why doesn't Rikaisama recognize 卸させる as a valid causative form of 卸す, but recognizes the passive form of 卸される as both?

Edit: it seems this affects all godan す verbs.


Rikaichan: RevTK Community Edition - Vempele - 2013-11-30

Rikaichan has the same bug.


Rikaichan: RevTK Community Edition - cb4960 - 2013-11-30

It seems that the bug was fixed in one of the beta versions of rikaichan. I'll see about merging the fix into Rikaisama soon.


Rikaichan: RevTK Community Edition - cb4960 - 2013-11-30

I have just uploaded version 19.6 of the Rikaisama Firefox extension.

Download version 19.6 via SourceForge

What's New?

● Merged code with rikaichan 2.08 beta 2 baseline. From the rikaichan website:
Quote:Rikaichan 2.08 beta 1 Fix deinflection rule for causative form of verbs ending in -su.
Rikaichan 2.08 beta 2 Handle v5k-s and v5u-s irregular verbs separately.
● HTML is now stripped from the Known/To-Do word lists.

cb4960


Rikaichan: RevTK Community Edition - SomeCallMeChris - 2013-11-30

Nice. Thank you. Smile


Rikaichan: RevTK Community Edition - toshiromiballza - 2013-11-30

Thanks.

Any chance of ever getting conjugation audio (and pitch information) in Rikaisama? http://forum.koohii.com/showthread.php?pid=199656#pid199656


Rikaichan: RevTK Community Edition - cb4960 - 2013-11-30

toshiromiballza Wrote:Thanks.

Any chance of ever getting conjugation audio (and pitch information) in Rikaisama? http://forum.koohii.com/showthread.php?pid=199656#pid199656
Maybe someday. In the meantime, you can rename your audio files from "kanji_kana".mp3 to "kana - kanji.mp3" and put the directory that contains the files into the "Clipboard & Save -> Saved audio" field.


Rikaichan: RevTK Community Edition - znebr47625 - 2013-12-17

cb4960 Wrote:
toshiromiballza Wrote:Thanks.

Any chance of ever getting conjugation audio (and pitch information) in Rikaisama? http://forum.koohii.com/showthread.php?pid=199656#pid199656
Maybe someday. In the meantime, you can rename your audio files from "kanji_kana".mp3 to "kana - kanji.mp3" and put the directory that contains the files into the "Clipboard & Save -> Saved audio" field.
I second this request and ask for more EPWING slots if possible.


Rikaichan: RevTK Community Edition - cb4960 - 2013-12-17

I'll see about adding more EPWING slots within the next two weeks or so.


Rikaichan: RevTK Community Edition - alexp - 2013-12-25

In EPWING mode, if you hover over 自由, you get the EPWING definition.

If you hover over 自由研究 (which happens to be in EDICT), it falls back to that.

[Image: EBJKapd.jpg]

This seems pretty broken to me. Why does Rikaisama have to be hung up on the first hit found by Rikaichan? Second in the list is 自由, which is perfectly findable in EPWING.


Rikaichan: RevTK Community Edition - cb4960 - 2013-12-26

alexp Wrote:In EPWING mode, if you hover over 自由, you get the EPWING definition.

If you hover over 自由研究 (which happens to be in EDICT), it falls back to that.

http://i.imgur.com/EBJKapd.jpg

This seems pretty broken to me. Why does Rikaisama have to be hung up on the first hit found by Rikaichan? Second in the list is 自由, which is perfectly findable in EPWING.
Seems to work for me:

[Image: hKV2vMo.png]

Which EPWING dictionary are you using? The above screenshot is for 『研究社 新和英大辞典 第5版』.


Rikaichan: RevTK Community Edition - alexp - 2013-12-27

I'm using 新明解国語辞典 as the first EPWING source, and a bunch of others afterwards.

The problem is generalized, though. Try these long expressions from EDICT:

知的所有権の貿易関連の側面に関する協定
消去及びプログラム可能読取り専用記憶装置
公共土木施設災害復旧事業費国庫負担法
国際連合大量破壊兵器廃棄特別委員会


Rikaichan: RevTK Community Edition - cb4960 - 2013-12-27

alexp Wrote:I'm using 新明解国語辞典 as the first EPWING source, and a bunch of others afterwards.

The problem is generalized, though. Try these long expressions from EDICT:

知的所有権の貿易関連の側面に関する協定
消去及びプログラム可能読取り専用記憶装置
公共土木施設災害復旧事業費国庫負担法
国際連合大量破壊兵器廃棄特別委員会
Are you certain that 自由研究 exists in 新明解国語辞典? I don't posses 新明解国語辞典 but using EBWin, it doesn't exist in other dictionaries such as 三省堂 スーパー大辞林, 広辞苑第六版, and 明鏡国語辞典.

None of those phrases exists in the EPWING dictionaries that I tried either, which is why it falls back to EDICT.


Rikaichan: RevTK Community Edition - Vempele - 2013-12-27

cb4960 Wrote:None of those phrases exists in the EPWING dictionaries that I tried either, which is why it falls back to EDICT.
But why is it showing the EDICT definition for 自由 just because the EPWING dictionary doesn't happen to have 自由研究?


Rikaichan: RevTK Community Edition - alexp - 2013-12-27

Sorry, I wasn't explaining myself clearly.
cb4960 Wrote:Are you certain that 自由研究 exists in 新明解国語辞典?
It doesn't, that's exactly the problem.
cb4960 Wrote:None of those phrases exists in the EPWING dictionaries that I tried either, which is why it falls back to EDICT.
That was my question, why does it fall back to EDICT?

Why not stay in EPWING mode and show the next best thing - the definition for 自由?

Why does the fact that EDICT happens to have a ridiculously long entry for
国際連合大量破壊兵器廃棄特別委員会
...totally preclude me from viewing the EPWING entry for
国際連合?


Rikaichan: RevTK Community Edition - cb4960 - 2013-12-27

Ah. Maybe I'll add another fallback option for such behavior.


Rikaichan: RevTK Community Edition - cb4960 - 2013-12-31

I have just uploaded version 19.7 of the Rikaisama Firefox extension.

Download version 19.7 via SourceForge

What's New?

● You may now add as many EPWING dictionaries as you want (Thanks arnaldosfjunior!). In previous versions, you were limited to 4 slots.

Note: You will need to manually re-enter your EPWING dictionaries after upgrading.

[Image: epwing.png]

cb4960