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.
related:
EB Library with UTF-8 support
http://web.archive.org/web/20241009105844/http://green.ribbon.to/~ikazuhiro/dic/ebu.html
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
If you can export it to a plain text format file then to turn it into MDX format is not difficult. Can you the former job? Other people have some hints for it in this poster.