Joined: Jul 2007
Posts: 1,879
Thanks:
19
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?
Joined: Oct 2007
Posts: 4,582
Thanks:
0
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...
Edited: 2011-01-15, 10:02 pm
Joined: Feb 2009
Posts: 532
Thanks:
9
@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.
Edited: 2011-01-15, 10:04 pm
Joined: Feb 2009
Posts: 532
Thanks:
9
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).
Joined: Oct 2007
Posts: 4,582
Thanks:
0
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.
Edited: 2011-01-15, 10:36 pm
Joined: Apr 2008
Posts: 1,184
Thanks:
0
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.
Joined: Feb 2009
Posts: 532
Thanks:
9
PM me the file and I'll look at it. The file might have weird encoding issues.
Joined: Oct 2007
Posts: 4,582
Thanks:
0
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.
Edited: 2011-01-15, 11:20 pm
Joined: Feb 2009
Posts: 532
Thanks:
9
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.
Edited: 2011-01-15, 11:30 pm
Joined: Oct 2007
Posts: 4,582
Thanks:
0
It has to do with the line endings I think. I'll try tinkering with LF/CRLF or whatever in Ultraedit.
Joined: Feb 2009
Posts: 532
Thanks:
9
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).
Joined: Mar 2008
Posts: 1,533
Thanks:
0
Another vote for vertical text! I've found I really enjoy reading Japanese vertically, for some reason.
Joined: Feb 2009
Posts: 532
Thanks:
9
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.
Joined: Aug 2007
Posts: 576
Thanks:
0
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?