View Single Post
Old 06-28-2022, 06:41 PM   #1089
allanahk
Connoisseur
allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.allanahk ought to be getting tired of karma fortunes by now.
 
allanahk's Avatar
 
Posts: 71
Karma: 2202292
Join Date: Nov 2018
Device: Kobo Libra 2
After my previous post on attempting to edit the Oxford Advanced Learners stardict format - I first tried to edit the .dict file directly but even removing a couple of characters breaks the penelope conversion :O

Instead, I edited the penelope format_stardict.py script directly since I'm much more familiar with python. You can edit the definition variable in the read_single_file() function using regex expressions. I tidied up the extraneous references to .jpg and .wav files, fixed the line and tab spacing etc.

The result is a lovely dictionary (I used to have it on my old kindle in mobi format) that provides a simplified definition for a wide variety of words. I often use it when the default dictionary definition is particularly obtuse, but it's also fantastic for English language learners (as the name would suggest) because it contains a lot of extra info and examples for more common or tricky words. Highly recommend it

I still don't know if I can just post the finished dicthtml.zip file here, but to be safe I'll just say that if you're interested send me a PM
Attached Thumbnails
Click image for larger version

Name:	IMG_6322.jpg
Views:	248
Size:	628.8 KB
ID:	194636   Click image for larger version

Name:	IMG_6317.jpg
Views:	257
Size:	597.1 KB
ID:	194637  
allanahk is offline   Reply With Quote