is it possible to decompile a epwing and furthermore turn it into a mdx with css ?
This post should not be in “日语”(sharing mdx)。Please change the tag to “技术与词典编修”.
Obtain dictionaries
GoldenDict-NG supports a wide range of dictionary formats, including EPWING and MDX.
感谢分享!这种EPWING格式词典可以在 GD 上使用。但是我总觉得MDX 格式可以把图片与文字分开好,通过解开MDD可以看到书里的插图,尤其可以知道百科词典里的插图都有什么。看图也是一种学习。还是希望有人能帮这种EPWING格式转变成MDX格式。
hello, thanks for the response but this is not what i was asking… I’m aware of the capabilities of goldendict-ng , i do have the epistularum collection (i even host them) and I’m also aware of the goldendict-ng article in tatsumoto’s website , since I’m a former contributor.
i have a medical dictionary in epwing and i wish i could turn it into mdx , to add some styling and some other stuff, since mdx/mdict is a better format.
exactly , mdx has more capabilities when we talk about appearance , that’s why i asked if it’s possible to turn a epwing into mdx
I an not interested in this, know nothing about this topic. Just Google.
I think you may convert the format to json, then try to work on the json file.
The yomichan dictionary processor on github will unpack an epwing to a zipped json.
Or you can just download one of the pre-processed json files people have already made for yomichan.
The only issue is that epwings have a limited character set so obscure kanji come out as bitmaps and you have to run that through OCR.
Reddit - Dive into anything
A JSON file is simply a text file that uses JSON formatting. These files are used to store structured data and are identified by their “. json” extension.
请使用官方的EBDump导出数据,用其他第三方的软件都会有格式乃至条目的损失。
导出的数据都是文本格式(plain-text),所以需要再处理。
图片和字体的处理,则请参考下面这篇,里面代码虽然有问题,但思路是对的——
词库制作中可能有用的软件、技术整理[201710919] - 词库制作交流区 - Dictionary-Making - PDAWIKI
字体好像没说
其实就是类似处理单色图的思路:
原数据
“narrow”——8x16
{"bitmap":[0,0,0,16,56,16,0,16,16,16,16,16,16,16,0,0],"code":41250}
每个数字转成二进制图案就是
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
“wide”——16x16
{"bitmap":[0,0,0,0,31,248,16,8,31,248,31,248,0,80,0,72,31,252,16,80,30,88,18,112,18,48,46,246,97,156,65,0],"code":53039}
就是
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
补全文件头,转写成存为bmp格式就好了。
very clever, thanks for an actual friendly response
ignoring the rudeness, yes I’ve already turned a yomichan dictionary into a mdx, you can see in the JP-PT dictionary here at the forum.
this is a very tiresome process and we must seek better ways of doing things (and again, if you’re not interested , then why replying in the topic?)
anyway, someone already answered with some proper information, i wouldn’t be asking in the forum if i already didn’t had googled it.
Just to clarify I did not try to be rude.
I was partly trying to reply to another poster.
I might have just replied in Chinese, but thought it might not be polite.
Sorry for being a busybody.
I am not telling you to Goggle. I say it to mean I am not an expert, but Google the information, trying to help.
Esselte Swedish-English (EPWING).7z (3,3 MB)
Dears,
Could anyone be so kind to convert this epwing dict to mdx or Goldendict/stardict format on Android?
Thanks
Pierangelo
hello, sorry for the late reply.
is it really possible to turn epiwing into plain text? if so, it might be easy to convert it to mdict
I gave it a try and did it. It’s interesting to decode those binary labels. I also replaced the image-typed characters into the corresponging letters.
swedish-english.rar (4.1 MB)
It’s a quick job so perhaps there exist errors. And the css file is from the original data – it could be further improved.
I have learned that there are at least two ways to turn the epwing files into text, and EBDump is one of them.
Great job!!!
Dear,
I posted , in the recent past, an indonesian english dictionary ( almost a txt), could you find any time ( no pressure) tò convert It in any accessible format
..
![]()
![]()
![]()
Regards
Pierangelo
A Swahili too
![]()
I’ll take a look at it soon, and will make it if possible.
