wrightak's rikaichan mod

Index » Learning resources

  • 1
 
nest0r Member
Registered: 2007-10-19 Posts: 5236 Website

Did someone already post about this?

http://wrightak.blogspot.com/2010/08/mo … ichan.html

"After my brief post on flashcards, I wanted to write about how I use Anki and a new tool that I've created to quickly grab vocab that I read on the web.

First, I'll take an example. I was reading this blogpost.

Let's take this sentence:

でも良い作品だとおもう。

and suppose that I don't know the word 作品. This is the information I want:

Word: 作品
Pronunciation: さくひん
Meaning: 製作したもの。
Sentence: でも良い___だと思う。
Gap: 作品
Source: URL to blog post... "

Sebastian Member
Registered: 2008-09-09 Posts: 582

Whoa, it looks awesome!

Thanks a lot Wrightak for creating this mod, an Nest0r for posting it here.

The first thing I did with this was checking it with a Wikipedia article. Unfortunately, something in Wikipedia's format seems to prevent Wrightaks modified Rikaichan to get the original sentence where the word comes from. Fortunately, using a custom html with an embedded textarea  or something similar, like the one created by ISoron (Is there a way to get Rikaichan to work when not in Firefox?) and pasting the original text there solves the problem.

Edit: It seems the problem in Wikipedia occurs when there are linked words within the sentence you want to extract.

BTW, it seems that using this mod with glossaries or encyclopedias would be a very useful and fun way for feeding your SRS. Just look for one sentence definitions that include the term being defined and voilą.

Last edited by Sebastian (2010 September 06, 1:04 pm)

wrightak Member
From: Tokyo Registered: 2006-04-07 Posts: 873 Website

Hey, thanks for posting this here.

Sebastian wrote:

Edit: It seems the problem in Wikipedia occurs when there are linked words within the sentence you want to extract.

Yes, as I mentioned in the post, the sentence grabbing code can't bypass links yet. I'm planning on improving this. It's also annoying for twitter, where @ usernames are always links.

Despite this limitation, I find it works well. If you're reading a blog post or a news article (or a forum!), it usually isn't a problem. If you include the URL in the info you send to the text file, you can always go and amend the data anyway.

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
nest0r Member
Registered: 2007-10-19 Posts: 5236 Website

Perhaps you can run a link remover add-on for Firefox before the Rikaimod? If it works. Such as: https://addons.mozilla.org/en-US/firefox/addon/5124/

Only reason I thought of that was because I use the 'linkification' add-on and imagined they must have something that does the opposite...

Last edited by nest0r (2010 September 06, 11:30 pm)

Sebastian Member
Registered: 2008-09-09 Posts: 582

Bump.

Nothing to add, just that this mod deserves more attention.

Sequa Member
From: Germany Registered: 2006-11-02 Posts: 40

Agree, it's an amazing mod.
I just finished the core and finally start studying without precompiled lists. This plugin makes it so much easier!

  • 1