Back

Epwing2Anki - Tool For Automatically Generating Anki Vocabulary Cards

#37
(1.2) Fine tune generates an exception, and I can't generate the sample word list either. The log is empty, it just doesn't do anything. It creates a file 1KB, UTF-8, but that's it.

I'll try 1.1 to see if it does the same thing.

Ah, figured out the problem with 1.2. Don't copy over the previous install! (Doh!) A fresh copy in a fresh directory fixed everything.

Found this in one of the sentences from the Daijirin for 毒性:

Quote:あいた,<img src="data:image/bmp;base64,Qk3eAAAAAAAAAD4AAAAoAAAAEAAAABAAAAABAAEAAAAAAKAAAABtCwAAbQsAAAIAAAACAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAADAAAADAAAADAAAAHAAAAOAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAA" alt="?"/><img src="data:image/bmp;base64,Qk3eAAAAAAAAAD4AAAAoAAAAEAAAABAAAAABAAEAAAAAAKAAAABtCwAAbQsAAAIAAAACAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAwAAAADAAAAAMAAAAA4AAAABwAAAADAAAAAAAAAAAAAAAAAAAAAAAA" alt="?"/>。あ,___なお方なあ/滑稽本・浮世風呂 2。
And in the Kenkyuusha 5th for 菌:
Quote:シイタケの菌を榾木(<sub>ほ</sub><sub>た</sub><sub>ぎ</sub>)に打ち込む。
Probably need something to filter out HTML from sentences... but the stuff from the 菌 entry... is that for Ruby? I thought I turned that off. >_>a

That said, I dumped my 332 words list from KO Book 2, and it created about 1500 sentences, and couldn't find entries for 40 of them. (Not sure what's up with that.)

EDIT: One thing that would be another neat option: if no sentences are found, just create placeholder entries for those words in the output file. It makes it easier to add sentences to the spreadsheet later if you're following some kind of order like KO or KiC.

Still, it saves a ton of time. This and dictscrape in some combo could seriously blast through this stuff.
Edited: 2012-07-22, 6:49 pm
Reply

Messages In This Thread