# English Vocabulary Profile Online CEFR词典（感谢）

**URL:** <https://forum.freemdict.com/t/topic/4998>\
**Category:** 技术交流与词典编修\
**Tags:** mdx, css, 在线词典, 技术, ﻿英语, 求助\
**Created:** [2021 年2 月 16 日 16:56 UTC](https://forum.freemdict.com/t/topic/4998 "2021-02-16T16:56:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 16 日 16:56 UTC](https://forum.freemdict.com/t/topic/4998/1 "2021-02-16T16:56:17Z")

</div>

![image](https://forumcdn.freemdict.com/uploads/default/original/2X/3/3585dbe82209c9f3f8c3d36ab96a7dd5fcf4631a.png)

> **[English Profile - Words](https://www.englishprofile.org/american-english/words/usdetail/3453)**
>
> Welcome to English Profile -- setting industry standards for English language learners. Linked to the Common European Framework for Reference for Languages (CEFR), English Profile will provide a detailed set of Reference Level Descriptions for...

---

<div class="post-metadata">

**Author:** ![Justin\_Chung](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/justin_chung/32/17978_2.png) [@Justin\_Chung](https://forum.freemdict.com/u/Justin_Chung)\
**Post date:** [2021 年2 月 16 日 16:59 UTC](https://forum.freemdict.com/t/topic/4998/3 "2021-02-16T16:59:39Z")

</div>

期待大侠出手

---

<div class="post-metadata">

**Author:** ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
**Post date:** [2021 年2 月 17 日 01:42 UTC](https://forum.freemdict.com/t/topic/4998/5 "2021-02-17T01:42:36Z")

</div>

你就把这些文件合成一个 txt 文件，其中按照 mdx 的格式来就能做词典了。

```plaintext
词头1
内容1，可跨多行
</>
词头2
内容2，可跨多行
</>

```

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 03:53 UTC](https://forum.freemdict.com/t/topic/4998/6 "2021-02-17T03:53:03Z")

</div>

大大，把信息弄下来就行了吗？，这样好像没有层级信息了

 ![Snipaste_2021-02-17_11-48-24](https://forumcdn.freemdict.com/uploads/default/original/2X/f/f906de7bda8343f8920218c83a24f6006df81e4d.jpeg)  
我也不会编程，排除法发现数据都在一行代码里（感觉我好像没必要下载下来…）

---

<div class="post-metadata">

**Author:** ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
**Post date:** [2021 年2 月 17 日 04:04 UTC](https://forum.freemdict.com/t/topic/4998/7 "2021-02-17T04:04:22Z")

</div>

你要引用 css 的  
将引用 css 的代码放到这些 div的上面。

> **[HTML 中引入 CSS 的方式 | 菜鸟教程](https://www.runoob.com/w3cnote/html-import-css-method.html)**
>
> 有 4 种方式可以在 HTML 中引入 CSS。其中有 2 种方式是在 HTML 文件中直接添加 CSS 代码，另外两种是引入 外部 CSS 文件。下面我们就来看看这些方式和它们的优缺点。 内联方式 内联方式指的是直接在 HTML 标签中的 style 属性中添加 CSS。 示例： 这通常是个很糟糕的书写方式，它只能改变当前标签的样式，如果想要多个 \<div\> 拥有相同的样式，你不得不重复地为每个 &a..

```html
<link rel="stylesheet" type="text/css" href="style.css">

```

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 04:26 UTC](https://forum.freemdict.com/t/topic/4998/8 "2021-02-17T04:26:15Z")

</div>

它代码对于我有点多，看不懂，我想着忍痛放弃原排版，先提取文字出来 😂  
MDX是不是相当于一个带目录的html文件夹啊？

---

<div class="post-metadata">

**Author:** ![hncs689](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/7cd45c/32.png) [@hncs689](https://forum.freemdict.com/u/hncs689)\
**Post date:** [2021 年2 月 17 日 07:15 UTC](https://forum.freemdict.com/t/topic/4998/10 "2021-02-17T07:15:57Z")

</div>

1. 该网站的美版数据2016隔壁已有制作放出：[[独家]Cambridge English Vocabulary Profile 剑桥英语词汇概况[核心词汇学习词典] - MDict 词库资源区 - MDict Dictionaries - 掌上百科 - PDAWIKI - Powered by Discuz!](https://www.pdawiki.com/forum/forum.php?mod=viewthread&tid=17361&extra=page%3D1)
2. 新在线数据与2016年数据比较，有少量更新。
3. 同一网站同一数据的另一种多参数更方便的查询页面：[http://vocabulary.englishprofile.org](http://vocabulary.englishprofile.org)  
username: englishprofile  
password: vocabulary
4. 英版数据的mdx网上鲜有整理制作，应该与剑桥高阶第四版及剑桥词典在线版的CEFR标注一致。

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 07:19 UTC](https://forum.freemdict.com/t/topic/4998/11 "2021-02-17T07:19:56Z")

</div>

我刚刚也发现了，英美应该大部分相似（未对比足够多），这个项目多机构参与 剑桥牵头，释义还是有不同

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 09:56 UTC](https://forum.freemdict.com/t/topic/4998/12 "2021-02-17T09:56:49Z")

</div>

![HXE}0O7M)K7F7B22(17A8T](https://forumcdn.freemdict.com/uploads/default/original/2X/a/aaaec307d031e14b410a165bea2565838f4e1962.png)  
现在浏览器正常 ，mdx不行 ，是格式原因还是外部文件没连上啊？大神们 指条路

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 10:36 UTC](https://forum.freemdict.com/t/topic/4998/13 "2021-02-17T10:36:09Z")

</div>

![(IVQ5D}IPV9_YDCXZE3HQ~L](https://forumcdn.freemdict.com/uploads/default/original/2X/4/4f151b8371e6e699b4f720b847be80a04ca38b72.png)  
原先的引用是有什么问题吗？ 都看不懂啊啊

---

<div class="post-metadata">

**Author:** ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
**Post date:** [2021 年2 月 17 日 11:16 UTC](https://forum.freemdict.com/t/topic/4998/14 "2021-02-17T11:16:38Z")

</div>

奇怪  
你发下 mdx css 呢

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 11:27 UTC](https://forum.freemdict.com/t/topic/4998/15 "2021-02-17T11:27:23Z")

</div>

[demo.rar](https://forum.freemdict.com/uploads/short-url/5dmb7VABOQXjAJOvnj6A9LXShyt.rar) (14.9 KB)  
麻烦大佬了 我都是凭感觉整出来的 一路试错 🤣

---

<div class="post-metadata">

**Author:** ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
**Post date:** [2021 年2 月 17 日 13:14 UTC](https://forum.freemdict.com/t/topic/4998/16 "2021-02-17T13:14:58Z")

</div>

是因为你提取出来的 HTML 文件标签太乱了。

**HTML 文件的标签必须要成对出现** ，如果没有成对，不同的浏览器会有不同的解析方式，导致你在 chrome 上能用（虽然并不符合规范），然而在 gd 用不了。

你如果不会提取，那就把整个内容塞到 txt 里面去，不必去除掉不必要的部分，用 CSS 隐藏即可。

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 13:52 UTC](https://forum.freemdict.com/t/topic/4998/17 "2021-02-17T13:52:29Z")

</div>

![2O69FDK@H9)9HVV)DSU5F](https://forumcdn.freemdict.com/uploads/default/original/2X/a/af7b2757cf80b0eeedfe580e9cbba9e0bf556b26.png)

我都合成txt了，源文件所有信息都在一行，不会整排版，放弃了。我上传文件，感兴趣的可以试试，没有就算了[SVP.rar](https://forum.freemdict.com/uploads/short-url/aQG5u6Z1DrFRNaVyqWH04NChjkc.rar) (2.1 MB)

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 13:55 UTC](https://forum.freemdict.com/t/topic/4998/18 "2021-02-17T13:55:11Z")

</div>

谢谢您指点，能力还是不够，只能放弃了

---

<div class="post-metadata">

**Author:** ![W2K](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/w2k/32/5_2.png) [@W2K](https://forum.freemdict.com/u/W2K)\
**Post date:** [2021 年2 月 17 日 14:41 UTC](https://forum.freemdict.com/t/topic/4998/19 "2021-02-17T14:41:01Z")

</div>

我就弄出来6556个

 ![Screenshot 2021-02-17 222528](https://forumcdn.freemdict.com/uploads/default/original/2X/b/b6a7963c7c024ed27a570ba1995c0e26dbde6d4a.png)

**发音，不会联网发音，得用js吧，我不会，本地发音自己下吧。**

 ![Screenshot 2021-02-17 222648](https://forumcdn.freemdict.com/uploads/default/original/2X/a/a596a222250a822ca8e6559c94bd646be85ac8b4.png)

**展开按钮要字体才能显示正常（我猜的），展开看里面id都有，会js的上应该可以解决。**

 ![Screenshot 2021-02-17 222756](https://forumcdn.freemdict.com/uploads/default/original/2X/e/e9727442aebe12984bf604d1e3172abd612005a6.png)

![Screenshot 2021-02-17 223730](https://forumcdn.freemdict.com/uploads/default/original/2X/8/8f39faa2c7688d56ed8dd9ec41eae1d86e3884ae.png)

**水贴一层** 😂 🤣 🤣 🤣 🤣 🤣

[cfe.mdx](https://forum.freemdict.com/uploads/short-url/g9iNRcAcIc4bxZRxOh67WxKYqqf.mdx) (2.5 MB)  
[cfe.css](https://forum.freemdict.com/uploads/short-url/5RyWm5AFpw6JnmRrd5e44NNay9x.css) (61.5 KB)

---

<div class="post-metadata">

**Author:** ![gtxxeon](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/gtxxeon/32/9651_2.png) [@gtxxeon](https://forum.freemdict.com/u/gtxxeon)\
**Post date:** [2021 年2 月 17 日 15:02 UTC](https://forum.freemdict.com/t/topic/4998/20 "2021-02-17T15:02:43Z")

</div>

非常感谢！！不知道你们有技术的弄起来复不复杂。我都整一天了  
我看了一下，您发的文件似乎不能展开例句，不知道是文件如此还是适配问题（当然这不重要，我就只是想要信息量小的释义表，其他靠词典就行了）

---

<div class="post-metadata">

**Author:** ![Sirabbas](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/sirabbas/32/71180_2.png) [@Sirabbas](https://forum.freemdict.com/u/Sirabbas)\
**Post date:** [2021 年2 月 17 日 16:47 UTC](https://forum.freemdict.com/t/topic/4998/21 "2021-02-17T16:47:22Z")

</div>

Not working well, please fix it

---

<div class="post-metadata">

**Author:** ![W2K](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/w2k/32/5_2.png) [@W2K](https://forum.freemdict.com/u/W2K)\
**Post date:** [2021 年2 月 18 日 06:06 UTC](https://forum.freemdict.com/t/topic/4998/22 "2021-02-18T06:06:15Z")

</div>

> [@gtxxeon](#):
>
> 不知道你们有技术的弄起来复不复杂。我都整一天了

cd到单个文件夹合并一个txt文件，要的词典内容就一条正则全出来了，然后提出词头顺便把要引入的css给加上了（也是一条正则）。

看看大的结构我把开头的一个div的封闭标签删了，最后面删俩还是仨啊没用的\</div\>，就完事了。

css样式直接用的官网网站的，样式有的不起作用因为class层级（开头的一个div的封闭标签删了）官网上的多（这么说也不知道对不对），试好了把删的那div的封闭标签的那个标签，css文件在文本编辑器里一搜一删就这样了。充其量再引入个Raleway字体和官网显示一样。

我也不会他们说的洗版，这些也就用半小时甚至更少，你试一下就知道了 😂。

你说的技术啥的和我不沾边，我就是前来水一帖的。

要是不折叠想要和不想要的就用display显示隐藏好了

> [@Sirabbas](#):
>
> Not working well, please fix it

不fix it，都承认水贴一层了当然是不会做了。

---

<div class="post-metadata">

**Author:** ![Sirabbas](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/sirabbas/32/71180_2.png) [@Sirabbas](https://forum.freemdict.com/u/Sirabbas)\
**Post date:** [2021 年2 月 18 日 06:21 UTC](https://forum.freemdict.com/t/topic/4998/23 "2021-02-18T06:21:50Z")

</div>

I can’t do this, you should discuss it with experts

[下一页](https://forum.freemdict.com/t/topic/4998.md?page=2)
