# 改善mdx检索的设想：Xbench的高级搜索

**URL:** <https://forum.freemdict.com/t/topic/2567>\
**Category:** 软件经验交流展望\
**Tags:** mdx, xbench, 搜索\
**Created:** [2020 年7 月 17 日 05:57 UTC](https://forum.freemdict.com/t/topic/2567 "2020-07-17T05:57:15Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![步天歌](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/%E6%AD%A5%E5%A4%A9%E6%AD%8C/32/29973_2.png) [@步天歌](https://forum.freemdict.com/u/%E6%AD%A5%E5%A4%A9%E6%AD%8C)\
发布日期： [2023 年4 月 21 日 14:02 UTC](https://forum.freemdict.com/t/topic/2567/10 "2023-04-21T14:02:03Z")

</div>

> [@hkreporter](#):
>
> 一个想法是：只要能把mdx转化为tab分割的文件（词头一栏，内容一栏），就能把它转化为tmx的格式——从这种格式到tmx，只需要用GlossaryConverter转化一下就完成了。

有，我目前为止拆过的十几本mdx词典都可以仅凭「简单」的正则转成 tab 分割的文件，比如这本：

[大辞泉转制的ankihelper格式的txt - 技术交流与词典编修 - FreeMdict Forum](https://forum.freemdict.com/t/topic/10927)

但都需要结合具体文件具体分析，就不写该怎么做了，有需要可以把mdx发出来，我抽空看看（也可以找ChatGPT帮忙写，这东西写正则是真的好用，比自己慢慢抠快多了233）

另外，也可以考虑 Python 第三方库来操作，这里提到了一个库可以直接将mdx转为 tab 分割的文件：

[我真的是停不下来啊\_日本語非辞書形辞典\_v2\_mdx2all - 日语 - FreeMdict Forum](https://forum.freemdict.com/t/topic/18617)

---

_[View the full topic](https://forum.freemdict.com/t/topic/2567)._
