kanji koohii FORUM
yomichan: a tool for reading books with Anki vocab deck integration - 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: yomichan: a tool for reading books with Anki vocab deck integration (/thread-7074.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-15

Yomichan is a Rikaichan-like application for reading Japanese books in text file format and vocab/sentence mining the hell out of them. When you encounter new words Yomichan can add them to your Anki deck with one click.

[Image: reader.png]

You can get Yomichan from the Anki shared plugin site here: https://ankiweb.net/shared/info/934748696

Documentation and usage instructions are available on the Yomichan homepage.
Report issues on the Yomichan GitHub page.


yomichan: a tool for reading books with Anki vocab deck integration - rich_f - 2011-01-15

Looks good.

One thing that jumped to mind right off the bat: Will there be a way to dump the sentence the word was in into a card?


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-15

Nice!

Normally when I see people asking about Rikaichan but outside the browser, I'd roll my eyes and repeat for the thousandth time to try Stardict (though now I'd recommend Lingoes, in part because of the mouse+hotkey pop-up activation).

However, I must applaud you because you've added something I've always wanted: direct card creation. I'd prefer this capability as a plugin for web browsers/Stardict/Lingoes/etc. but maybe in the future... ;p

Questions: Does the text viewer have rubi support? & I don't see in the screenshot how Yomichan knows which deck to use? Presuming Anki must be open to use the feature, does it just use whatever deck is active?

And did I miss anything about adding/managing dictionaries? i.e. Edict, Meikyo, Genius...


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-15

Shouldn't be to big of a problem to do that. It can just be another % escape marker. Can be added after what's here has been hammered on. Sentences weren't a priority in the first release since I only do vocab Wink


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-15

@nestor:

No rubi support. Adding it would require hacking at the text widget, which I'm not sure is useful considering you can already get the definition and reading by mousing-over the word.

When run as a plugin, it uses whatever deck Anki has open. Possibility exists of using libanki in the future to work without being an Anki plugin, but for the time being I don't really care about this.

Dictionary right now is hardcoded to EDICT. This will change soon.


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-15

FooSoft Wrote:@nestor:

No rubi support. Adding it would require hacking at the text widget, which I'm not sure is useful considering you can already get the definition and reading by mousing-over the word.

When run as a plugin, it uses whatever deck Anki has open.

Dictionary right now is hardcoded to EDICT. This will change soon.
For me rubi support just means ugly brackets in ebooks are removed and turned to aesthetically pleasing furigana. ;p


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-15

In that case it probably just makes sense to add basic support for stripping out the ugly brackets. That's what I do with my text files anyway (outside of yomichan).


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-15

FooSoft Wrote:In that case it probably just makes sense to add basic support for stripping out the ugly brackets. That's what I do with my text files anyway (outside of yomichan).
Yeah that's always an option, though more of a last ditch thing since I prefer to know what readings the author chose (for the most part that's probably not a huge factor, though what about Haruki Murakami?). Anyway, back to our regularly scheduled programming. Don't mind me, I've always obsessed over the rubi thing. ;p


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-15

Oh, another suggestion: Customizable pop-up triggering. Ex: Lingoes lets you use any of the mouse-buttons, or just mouse-over, in conjunction with any combination or lack thereof of ctrl/shift/alt.

Edit: That's actually probably low priority in itself since Yomichan's lookups are internal, but in conjunction with possible hotkeys for card creation and whatever other features within Yomichan, customizable shortcuts could be nice.

Right now my middle mouse button is copy or paste or something (I just changed it from universal scrolling so I forget ^_^). Would this be activated in Yomichan or is it disabled or something. Anyway I shouldn't make further suggestions till I try it out. Will wait for executables since I'm a n00b about running programs without them.


yomichan: a tool for reading books with Anki vocab deck integration - jettyke - 2011-01-15

Very very good that you made it, thank you!!!

But I just can't figure out why IQ84 reads well for me, but my alice in wonderland text has only 2 lines shown :S

It just stops showing any information in the middle of a sentence in a random place.


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-15

PM me the file and I'll look at it. The file might have weird encoding issues.


yomichan: a tool for reading books with Anki vocab deck integration - jettyke - 2011-01-15

FooSoft Wrote:PM me the file and I'll look at it. The file might have weird encoding issues.
Sent!


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-15

Ohhh I see the plugin is just a regular plugin. Okay, it works fine so far, I really like this card creation ability.

I had to switch middle button back to universal scroll to get it to work, unfortunately (same thing happens in Lingoes so I use a different button and leave middle button customized as Copy). But at least it's disabled and doesn't trigger that scroll when I hit it.

Some texts wouldn't open till I converted (I guess it has to be UTF-8 + DOS?), then they worked fine, but others seem to break partway through despite being in the same format; still working that out.


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-15

Yeah, I'm looking at the text break thing, it's weird. Happens only on Windows. Figures. As far as encodings go, Yomichan can read shiftjis, utf8 & utf16. I wasn't aware of any other encodings frequently used.


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-16

It has to do with the line endings I think. I'll try tinkering with LF/CRLF or whatever in Ultraedit.


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-16

It's a problem with utf-16 encoding. The decoding library appears to be bugged on Windows. I have a workaround though, so I'll probably have a fix tomorrow though Big Grin


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-16

That's weird, my .txt definitely wasn't in UTF-16. I saw a thread at that stack overflow place that mentions UTF-16 and line breaks problems, so at least I was close. Maybe. But whatever I did seemed to fix it. I think I switched from UNIX/MAC to DOS or the other way around.

Anyway, it's perfect now.

At any rate, you've made an old dream come true, so thanks. Smile - http://forum.koohii.com/showthread.php?pid=71286#pid71286


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-16

I just fixed it actually Big Grin Stupid Windows line endings bug, haha.

Just redownload it from the link in the first post. No version bump since this was a really small change and only a couple of people got yomichan thus far.


yomichan: a tool for reading books with Anki vocab deck integration - iSoron - 2011-01-16

FooSoft Wrote:In that case it probably just makes sense to add basic support for stripping out the ugly brackets. That's what I do with my text files anyway (outside of yomichan).
But then you won't be able to see the clever uses of furigana (for example, in Gosick, the reading of 混沌 is カオス).

I'd be very interested in a book reader with better rendering capabilities, such as proper furigana support and vertical text rendering; could not find any for Linux. I even started a prototype some time ago (screenshot, source code), but never got any further than that (it was originally intended to run on Maemo).


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-16

Yeah, vertical reading would be super nice. Another thing I'm planning to do even though it might be kind of a hassle (Qt doesn't support vertical text, so it would need a custom text renderer just like in your GTK example).


yomichan: a tool for reading books with Anki vocab deck integration - wccrawford - 2011-01-16

Another vote for vertical text! I've found I really enjoy reading Japanese vertically, for some reason.


yomichan: a tool for reading books with Anki vocab deck integration - Delina - 2011-01-16

I would love to use this, but my laptop does not have a middle mouse button - it's Panasonic and scrolls with a funny round touchpad. Any chance of a re-mapping option? I could carry an external mouse, but between that and Skype-y headphones my peripherals will weigh more than my computer... Wink


yomichan: a tool for reading books with Anki vocab deck integration - nest0r - 2011-01-16

Delina Wrote:I would love to use this, but my laptop does not have a middle mouse button - it's Panasonic and scrolls with a funny round touchpad. Any chance of a re-mapping option? I could carry an external mouse, but between that and Skype-y headphones my peripherals will weigh more than my computer... Wink
Not sure if this helps at all, but I just tried out a hunch, and for me at least, whatever button I set as 'universal scrolling' is seen as 'middle button' by Yomichan (and I bet it's the same for Lingoes). So umm, whatever you want to do with that information as a temp workaround. ;p


yomichan: a tool for reading books with Anki vocab deck integration - FooSoft - 2011-01-16

I'll add a shift key modifier for mousing over text for next alpha release (probably next weekend). I don't want to do a full on mouse customization thing because on the whole I want text left & right clicking to work normally in the text area.


yomichan: a tool for reading books with Anki vocab deck integration - zazen666 - 2011-01-16

I'd like to try this out. Where are people getting text versions of books?

also, does this work on the "old build" anki deck for older mac?