View Single Post
Old 11-12-2020, 10:08 AM   #13
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Would it be easy enough to edit the dictionary to add in the code to make the text a specific size?
That would depend on your skill set and how much time you're prepared to spend on the task. You'd need to be able to:
  1. Break the existing dictionary into its individual decompressed HTML files. That's 400+ files for the English-Vietnamese dictionary, 1100+ files for the Vietnamese-English.
  2. Write a program to loop round all these files applying whatever regex find/replaceall changes you want to apply to each word entry.
  3. Reverse step 1 to compress everything back to a single .zip

@geek1011's dictutil utility would probably help but you'd still need programming skills to convert the source HTML into dictutil's source format.

It would have been much better if the creator of these dictionaries had put a bit more thought (and testing) into their creation. Much as I'm grateful that others have shared so many different custom dictionaries many of the ones I've tried don't look as if they've had much TLC regarding what the final result actually looks like on a Kobo.
jackie_w is offline   Reply With Quote