请教:批量导入“txt词表”, 再 批量导出“音,义,句等详细内容”(按 指定某词典内容...
本帖最后由 somebook 于 2016-11-7 21:21 编辑请教大家:哪一个平台?可以有这个功能:
通过txt文件格式“批量地”...导入...纯粹词条...后,
然后可以
再“批量地”...导出...各个单词...都带有音标,词性,具体详细释义,例子 等信息的… 批量导出信息。
(注意:导出的是和“某指定词典”上一模一样的内容,而不是“平台自带的词典内容”)
(以类似于word等文件格式导出,可方便打印)
----------------------------------------------------------------------------------------------------
比如:通过txt文件格式“批量地”...导入:
======================================
apple
orange
等词语
======================================
可以 “选择某剑桥词典”,按照....这个剑桥词典的内容,
“批量地”... 导出...各个词条的详细信息 :
=============================================================================
apple noun [ C or U ]uk /ˈæp.əl/ us/ˈæp.əl/
A1 a round fruit with firm, white flesh and a green, red, or yellow skin:
to peel an apple
apple pie/sauce
an apple tree
More examples:
He was munching on an apple.
He took a bite out of the apple.
The apple tree at the bottom of the garden is beginning to blossom.
Newton reasoned that there must be a force such as gravity, when an apple fell on his head.
Do you have any cooking apples?
------------------------
orange noun uk /ˈɒr.ɪndʒ/ us/ˈɔːr.ɪndʒ/
orange noun (FRUIT)
A1 [ C ] a round sweet fruit that has a thick orange skin and an orange centre divided into many parts:
a glass of orange juice
More examples:
Vitamin C is found in oranges and other citrus fruit.
She went to the shop to get some oranges but they had none?==========================================================================
(以类似于word等文件格式导出,可方便打印) (欧陆PC版,有此功能,不但很麻烦,且最后又效果不佳 本帖最后由 somebook 于 2016-11-7 21:24 编辑
欧陆PC版 “导出格式”只有html,xml,txt三种,没有 类似或接近word的“导出格式”,不方便 信息完整,和 打印出来。 本帖最后由 somebook 于 2016-11-7 21:29 编辑
即:
用txt文档批量导入“一群瘦子”进去, 按照 “指定的某词典”的 内涵培养 后,
批量导出“一群胖子”出来… (用类word格式载他们出来) 且 词一多, 本帖最后由 somebook 于 2016-11-7 21:35 编辑
欧陆PC版 导出格式 不理想,
且词数目一多,欧陆还会出错……哎!
因为对 音标的“忠诚和完整”要求高,所以 发帖 请高手大家指点迷津!
thanks!
祝愉快!^_^ 本帖最后由 deeke 于 2016-11-7 22:42 编辑
我觉得可能 “批处理” 或 AutoHotkey 或 按键精灵 之类的可以实现。 感谢“deeke”的回复。 我水平实在太差,我得先百度看看 你说的这几个概念 是什么…… 本帖最后由 deeke 于 2016-11-7 23:08 编辑
可能用AutoHotkey 的脚本 比较简单。
1.从 txt 文件读取一个单词
2.用 GoldenDict 查询该单词
3.用 GoldenDict 的打印(Ctrl+p)或保存(F2)
4.如果保存为html文件,再找一个 html2doc 之类的小工具转换成 word 文档
5.回 txt 文件 读取下一个单词
AutoHotkey 中文论坛:http://ahk8.com/index.php 本帖最后由 lxchen2001 于 2016-11-8 02:15 编辑
Source Editor 可以完成这个需求论坛上搜搜
得到的mdx源文件之后再文本化 (html -> txt) 本帖最后由 asicsfree 于 2016-11-8 21:51 编辑
用 patcho8c
1. 按3下esc叫出 patch mode
2. 把下面用 'paste from csv' 貼上:
^(.+?)\n((.+\n)*)</>\n,,<table><tr><td>\1</td></tr><tr><td>\2</td></td></table>
<a.*?</a>,,
3. 選擇 word list
4. 把得到的 html 用 Word 打開就可以了。
步驟2 可適當修改成要輸出的樣子。
页:
[1]