Back

Epwing2Anki - Tool For Automatically Generating Anki Vocabulary Cards

#39
rich_f Wrote:(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.
The reason that you got this exception is because the settings.e2a file is incompatible from one version to the next.

rich_f Wrote: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>)に打ち込む。
This is normal. Anki will display it correctly. The image tags are for gaiji characters that I haven't added to my gaiji-to-UTF8 lookup table or cannot add because no equivalent exists. The superscript and subscript tags are a normal part of the entry. If you look the same entries up with EBWin, you will see the same thing.

rich_f Wrote:Probably need something to filter out HTML from sentences...
Just in case I wasn't clear above, the HTML tags are there by design. If you really want to, you can remove them from the import file with a regex. The only tags added are img, br, sup, and sub. I wouldn't recommend removing them unless you want your cards to look messed up.

rich_f Wrote:but the stuff from the 菌 entry... is that for Ruby? I thought I turned that off. >_>a
Kenkyuusha 5th sometimes uses subscript to indicate reading. The output of the "Expression (with ruby)" field will look something like this: "毒性[どくせい]". This is how ruby is formatted in Anki with the Japanese Support plugin.
Edited: 2012-07-22, 7:16 pm
Reply

Messages In This Thread