View Single Post
Old 12-25-2017, 09:50 AM   #3
cryptocoryne
Member
cryptocoryne began at the beginning.
 
cryptocoryne's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2014
Location: stupidville, Florida
Device: DXG (B009), K4 (9023), PW1 (B024), KT2 (90C6)
Alas, I found the dictionary in the menu, but selecting it does nothing.

For my old K4, I think doukan is the better option. Seems a little more responsive and a lot of stardict dictionaries are usable but not pretty due to HTML horkage.

Koreader (on Kindle 5+) doesn't do the best job of rendering HTML-heavy stardicts. But it looks like duokan doesn't even try: it's all <i><b><blockquote>blah,blah,blah.

Hmmm. Can I remove the HTML tags from the .dict file and then rebuild the IDX file with some stardict editing tool? I tried running one dict through sed
Code:
sed -e 's/<[^>]*>//g' test.dict
, but then test.dict is no longer in sync with its test.idx file so looking up "aardvark" gives you the definition for "because." The word and definition are clearly legible and the dict is much smaller without all the HTML crap. If only I could rebuild the IDX.....

I'm using Arch Linux and I don't see any stardict editor in the pacman repos. yaourt has some "stardict-tools" but it is gonna take all year to compile its now-ancient dependencies. Is there a windows binary stardict editor?

Last edited by cryptocoryne; 12-25-2017 at 09:59 AM.
cryptocoryne is offline   Reply With Quote