查看: 11595|回复: 33
打印 上一主题 下一主题

[英英] The Highly Selective Dictionary for the Extraordinarily Literate

[复制链接]

该用户从未签到

5

主题

25

回帖

846

积分

举人

Rank: 4

积分
846

灌水大神章小蜜蜂章笑傲江湖章

跳转到指定楼层
1
发表于 2014-8-13 07:04:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Hello,
This is my first post here and would like to present my first Mdict dictionary. I do not speak Chinese so please forgive me.

Dictionary name: The Highly Selective Dictionary for the Extraordinarily Literate
Words: 1179

The Highly Selective Dictionary for the Extraordinarily Literate.zip (116.75 KB, 下载次数: 566)

该用户从未签到

0

主题

53

回帖

205

积分

童生

Rank: 2

积分
205
推荐
发表于 2016-6-28 21:30:06 | 只看该作者
shmildys 发表于 2016-6-28 20:55
maybe you could decompress dictionary from mdx to txt, then use tab to format txt document and Exc ...

Anyway, putting here ones again.
Tried this method you offered. But have to say that txt file has more complicated structure. And can not be transformed to csv format by just adding tabs into it. There should be a script in Excel, that do it with each of records step by step. I just looking for the way to extract words and corresponding definitions and transcripts from a dictionary. It is a pitty but I can not do it by my self, since I am not a developer.

该用户从未签到

7

主题

228

回帖

704

积分

举人

Rank: 4

积分
704

灌水大神章小蜜蜂章笑傲江湖章

推荐
发表于 2016-6-28 20:55:14 | 只看该作者
Slav 发表于 2016-6-28 18:38
Have to say, that have the same question about creating Mdict dictionaries. Please correct me, but a ...

maybe you could decompress dictionary from mdx to txt, then use tab to format txt document and Excel will read tab to separate them.

该用户从未签到

0

主题

53

回帖

205

积分

童生

Rank: 2

积分
205
推荐
发表于 2016-6-28 18:38:22 | 只看该作者
本帖最后由 Slav 于 2016-6-28 21:07 编辑

Have to sayI have the same question about creating Mdict dictionaries. Please correct me if I am wrong, but there are no any MDX editor available, in order to extract dictionary to Excel file directly?

该用户从未签到

5

主题

25

回帖

846

积分

举人

Rank: 4

积分
846

灌水大神章小蜜蜂章笑傲江湖章

2
 楼主| 发表于 2014-8-13 07:07:47 | 只看该作者
I am still not familiar with the Mdict format. I am unable to find documentation on the format. Please help me find one!

该用户从未签到

2121

主题

2961

回帖

6万

积分

翰林院修撰

不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

Rank: 12Rank: 12Rank: 12

积分
61056

翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

3
发表于 2014-8-13 07:45:41 | 只看该作者
medwatt 发表于 2014-8-13 07:07
I am still not familiar with the Mdict format. I am unable to find documentation on the format. Plea ...


Welcome, medwatt.
Thank you for sharing. You already did it fairly well. See




-To know more about the mdx/mdd format,
1. Download MdxBuilder.zip.
http://www.octopus-studio.com/index.en.htm
http://www.octopus-studio.com/download.en.htm
http://www.octopus-studio.com/download/MdxBuilder.zip
2. Unzip it.
3. Read manual_Eng.txt

To convert mdx into txt, you can refer to https://bitbucket.org/xwang/mdict-analysis .

Or use GetDict 2.6 (code by yhssdl ) GetDict2.6.rar (42.53 KB, 下载次数: 248) . Unluckily, only Chinese interface is available now, but it's easy to use.

该用户从未签到

2121

主题

2961

回帖

6万

积分

翰林院修撰

不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

Rank: 12Rank: 12Rank: 12

积分
61056

翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

4
发表于 2014-8-13 08:05:32 | 只看该作者
Here are En-En dictionaries of mdx/mdd format in this board https://www.pdawiki.com/forum/fo ... teline&typeid=4

Most of these are converted from other dictionary formats like Lingvo, Babylon etc. But some are exclusive in mdx/mdd format, and some are more beautiful than other formats. eg.

Shorter Oxford English Dictionary Sixth Edition https://www.pdawiki.com/forum/thread-11746-1-1.html {We offered ru-board the data, but the dsl version actually disappointed us. The mdx/mdd made by Hugh is much more gorgeous. }
Vocabulary.com Dictionary https://www.pdawiki.com/forum/thread-12743-1-1.html
Webster's New World College Dictionary (not 2005 version, but 2010 )https://www.pdawiki.com/forum/thread-11994-1-1.html
The BBI Combinatory Dictionary of English 3rd(2010) https://www.pdawiki.com/forum/thread-11771-1-1.html

……


该用户从未签到

5

主题

25

回帖

846

积分

举人

Rank: 4

积分
846

灌水大神章小蜜蜂章笑傲江湖章

5
 楼主| 发表于 2014-8-13 08:19:39 | 只看该作者
Thanks for the links. I used to create all of my dictionaries in DSL but due to its limitations (such as <table>) I have been looking for a replacement. I thought about DSLGD but its not supported by the community. Mdict is much better than DSL because it was built with HTML and CSS online.

Just some few questions:
1). What are the supported HTML tags. Is there a reference list ?
2). Is there some editor specifically built for editing Mdict files ?


Thanks !!

该用户从未签到

2121

主题

2961

回帖

6万

积分

翰林院修撰

不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

Rank: 12Rank: 12Rank: 12

积分
61056

翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

6
发表于 2014-8-13 09:12:52 | 只看该作者
本帖最后由 Oeasy 于 2014-8-13 09:14 编辑
medwatt 发表于 2014-8-13 08:19
Thanks for the links. I used to create all of my dictionaries in DSL but due to its limitations (suc ...



Q:1). What are the supported HTML tags. Is there a reference list ?
A: Theoretically, mdx supports all HTML tags, including <table>. MDict PC version is fundamentally a tiny (offline & online) web browser. Er, HTML5 may be not supported right now.
     If you're using GoldenDict, you can actually use xml tag + css instead of html tag.
eg.
source txt file:
  1. test
  2. <link href="test.css" rel="stylesheet" />
  3. <test> test </test>
  4. </>
复制代码
and test.css
  1. test {font-weight:bold; color:red; font-size:500%;}
复制代码
The test.mdx appeared like this in GoldenDict. test.rar (790 Bytes, 下载次数: 76)




Q: 2). Is there some editor specifically built for editing Mdict files ?
A: No.
mdx/mdd files can't be edited directly, just like Lingvo format .lsd, which is zipped and can't be modified directly. You can convert .mdx into .txt source file, just like converting lsd into dsl. After editing the .txt, You can convert it into mdx again.

There is a software here { 所见即所得的编辑工具medit v0.06 ,支持Sql语句,HTML直接编辑 https://www.pdawiki.com/forum/thread-12645-1-1.html }.
It does treat the mdx source txt file like sql database, and can edit every entry WYSIWYG. You can have a try. Unfortunately, its interface is Chinese.




该用户从未签到

0

主题

417

回帖

6416

积分

会元

Rank: 7Rank: 7Rank: 7

积分
6416

笑傲江湖章灌水大神章

7
发表于 2014-8-13 09:35:13 | 只看该作者
Thanks !

该用户从未签到

5

主题

25

回帖

846

积分

举人

Rank: 4

积分
846

灌水大神章小蜜蜂章笑傲江湖章

8
 楼主| 发表于 2014-8-13 09:56:26 | 只看该作者
Oeasy . . . . Many thanks !!
I have about 90 DSL dictionaries . . . I'll be converting all to Mdict . . . . Just to add more editing features :)
  • TA的每日心情
    奋斗
    昨天 09:58
  • 签到天数: 1625 天

    [LV.Master]伴坛终老

    73

    主题

    4466

    回帖

    6万

    积分

    翰林院孔目

    Rank: 10Rank: 10Rank: 10

    积分
    60593

    灌水大神章小蜜蜂章笑傲江湖章翰林院专用章管理组专用章

    9
    发表于 2014-8-13 11:22:13 | 只看该作者
    "I have about 90 DSL dictionaries . . . I'll be converting all to Mdict . . . . Just to add more editing features :)--"thanks ever so much for your generosity and looking forward to seeing your converted dictionaries.
  • TA的每日心情
    开心
    2018-10-7 22:18
  • 签到天数: 1 天

    [LV.1]初来乍到

    0

    主题

    90

    回帖

    314

    积分

    秀才

    Rank: 3Rank: 3

    积分
    314
    10
    发表于 2014-8-13 15:44:10 | 只看该作者
    Thank for your incredible generosity!BTW,where are you from?

    该用户从未签到

    5

    主题

    25

    回帖

    846

    积分

    举人

    Rank: 4

    积分
    846

    灌水大神章小蜜蜂章笑傲江湖章

    11
     楼主| 发表于 2014-8-14 01:16:43 | 只看该作者
    Oeasy . . . is it possible to use internal style sheets such as:
    <head>
    <style>
    </style>
    </head>
    Also: when using MdxBuilder, I cannot add an external CSS file. It says "Invalid style format style"!

    该用户从未签到

    2121

    主题

    2961

    回帖

    6万

    积分

    翰林院修撰

    不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

    Rank: 12Rank: 12Rank: 12

    积分
    61056

    翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

    12
    发表于 2014-8-14 01:25:03 | 只看该作者
    medwatt 发表于 2014-8-14 01:16
    Oeasy . . . is it possible to use internal style sheets such as:


    Yes, it's acceptable.

    该用户从未签到

    5

    主题

    25

    回帖

    846

    积分

    举人

    Rank: 4

    积分
    846

    灌水大神章小蜜蜂章笑傲江湖章

    13
     楼主| 发表于 2014-8-14 01:28:51 | 只看该作者
    本帖最后由 medwatt 于 2014-8-14 01:37 编辑

    I'm having problems using CSS correctly. The file you provided yesterday (test.mdx) did not load the CSS. Can you provide a file or example where internal stylesheet is used and how to load CSS files in MdxBuild.
    Thanks

    [EDIT] Is it possible to link the style sheet just once instead of for every entry?

    Instead of this
    word1
    <link rel="stylesheet" type="text/css" href="csh.css"/>
    .......
    </>
    word2
    <link rel="stylesheet" type="text/css" href="csh.css"/>
    .......
    </>
    word3
    <link rel="stylesheet" type="text/css" href="csh.css"/>
    .......
    </>

    This
    <link rel="stylesheet" type="text/css" href="csh.css"/>
    word1
    .......
    </>
    word2
    .......
    </>

    该用户从未签到

    2121

    主题

    2961

    回帖

    6万

    积分

    翰林院修撰

    不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

    Rank: 12Rank: 12Rank: 12

    积分
    61056

    翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

    14
    发表于 2014-8-14 01:41:27 | 只看该作者
    medwatt 发表于 2014-8-14 01:28
    I'm having problems using CSS correctly. The file you provided yesterday (test.mdx) did not load the ...

    test_internal_css.rar (726 Bytes, 下载次数: 79)

    该用户从未签到

    2121

    主题

    2961

    回帖

    6万

    积分

    翰林院修撰

    不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

    Rank: 12Rank: 12Rank: 12

    积分
    61056

    翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

    15
    发表于 2014-8-14 01:45:36 | 只看该作者
    本帖最后由 Oeasy 于 2014-8-14 01:46 编辑
    medwatt 发表于 2014-8-14 01:28
    I'm having problems using CSS correctly. The file you provided yesterday (test.mdx) did not load the ...



    Actually, the code
    1. <link rel="stylesheet" type="text/css" href="csh.css"/>
    复制代码
    is optional.

    If the mdx and css are in the same directory,  the css which has the same name of the mdx will take effect automatically, no <link.....> needed.

    该用户从未签到

    2121

    主题

    2961

    回帖

    6万

    积分

    翰林院修撰

    不忘初心。送分大人,灌水砖家。擅长抛砖引玉,挖坑不填。

    Rank: 12Rank: 12Rank: 12

    积分
    61056

    翰林院专用章灌水大神章笑傲江湖章小蜜蜂章管理组专用章

    16
    发表于 2014-8-14 02:03:18 | 只看该作者
    本帖最后由 Oeasy 于 2014-8-14 10:36 编辑


    The "Style" on MdxBuilder is MDict Format File (*.txt), not *.css file. "MDict Format File" is NOT *.css, but a special piece of code to help decrease the size of MDict source file. To read [manual_Eng.txt] may be helpful.



    If you want to use external *.css, there're three ways.

    1. Note: GoldenDict doesn't support this! Only MDict itself supports it right now.
    <link href="test.css" rel="stylesheet" /> is not needed. Just put test.css and test.mdx in the same directory, the css will take effect automatically.
    [test.mdx + test.css, no <link href="test.css" rel="stylesheet" /> in the source txt file, but the .css and .mdx file should have the same name and in the same directory. ]

    2.
    <link href="faint.css" rel="stylesheet" /> is needed. On this condition, the css file can have different name with the mdx file. Just put them in the same directory, it will take effect.
    [test.mdx + faint.css,  <link href="faint.css" rel="stylesheet" /> in the source txt file, the .css and .mdx can have different names, but should be in the same directory.]

    3.
    <link href="faint.css" rel="stylesheet" /> is needed. You can zip the css into the mdd file. Just treat the css file as data.
    [test.mdx + test.mdd, <link href="faint.css" rel="stylesheet" /> in the source txt file, faint.css is in the mdd.  The .css and .mdx can have different names. The mdx and mdd should have the same name and in the same directory ]






    You can upload a sample of your source txt file with tens of entries. This may save a lot of time.





  • TA的每日心情
    慵懒
    2020-12-11 08:19
  • 签到天数: 104 天

    [LV.6]常住居民II

    30

    主题

    2044

    回帖

    1万

    积分

    状元

    Rank: 9Rank: 9Rank: 9

    积分
    11260

    灌水大神章小蜜蜂章笑傲江湖章

    17
    发表于 2014-8-14 09:02:12 | 只看该作者
    Learning!
  • TA的每日心情
    难过
    前天 16:01
  • 签到天数: 757 天

    [LV.10]以坛为家III

    1

    主题

    1544

    回帖

    9595

    积分

    进士

    Rank: 8Rank: 8

    积分
    9595

    灌水大神章

    18
    发表于 2014-8-14 11:38:01 | 只看该作者
    Thank you for sharing.

    该用户从未签到

    8

    主题

    743

    回帖

    1300

    积分

    解元

    Rank: 5Rank: 5

    积分
    1300

    灌水大神章

    19
    发表于 2014-8-15 00:30:46 | 只看该作者
    thx

    该用户从未签到

    0

    主题

    577

    回帖

    409

    积分

    禁止发言

    积分
    409
    22
    发表于 2016-2-23 20:54:56 | 只看该作者
    Oeasy 发表于 2014-8-13 08:05
    Here are En-En dictionaries of mdx/mdd format in this board https://www.pdawiki.com/forum/forum.php?m ...

    该用户从未签到

    24

    主题

    701

    回帖

    4442

    积分

    翰林院修撰

    不傲嬌的傲嬌

    Rank: 12Rank: 12Rank: 12

    积分
    4442

    灌水大神章小蜜蜂章笑傲江湖章翰林院专用章管理组专用章

    24
    发表于 2016-5-9 03:42:21 | 只看该作者
    Thank you for sharing this dictionary.
  • TA的每日心情
    开心
    2023-1-18 23:24
  • 签到天数: 211 天

    [LV.7]常住居民III

    427

    主题

    4539

    回帖

    9万

    积分

    超级版主

    Rank: 12Rank: 12Rank: 12

    积分
    92011

    灌水大神章小蜜蜂章笑傲江湖章翰林院专用章管理组专用章城管大队长

    25
    发表于 2016-5-9 08:57:47 | 只看该作者
    thank u for sharing of the dictionary.