Make Eudict for reviewing example sentences
Recently, I've started an activity of recording typical and nice English sentences from dictionaries or books to my personal Markdown document. By providing context and hints, this method is quite helpful and has been proved to be effective for remembering newly studied glossaries. Meanwhile, borrowing the concepts of creating memory chunks and recalling them with irregular repetitions from the book “A Mind for Numbers” being read, I feel it will be valuable if these sentences can be typeset onto flashcards to implement the said learning methods. Luckily, Eudict, which I'm now using everyday for reciting English words, has already provided such mechanism. The only thing left for me is to transform those Markdown texts to CSV file and uploaded to Eudict user books. In this post, I'll introduce the procedures.
When copying the example sentences from the dictionary into Markdown document, insert double vertical bars “||” between the original English text and the interpretation, or you can use any separator as you want.
Export the Markdown document into HTML file.
Paste the contents in the HTML file into LibreOffice Calc as “Unformatted text”.
In the “Text import” dialogue, enable “Merge delimiters” option, select “Separated by” “Other” and input the vertical bar “|” as the separator, and ensure the “Text delimiter” field is empty.

After pasting the sentences, replace the leading white spaces with null, which may exist at the front of each interpretation. The white spaces can be matched by using the regular expression ^\s*.

Select and copy all the processed contents into a simple text file. On my Linux system, I prefer Kate editor.
In the text file, first replace all the English commas with Chinese commas, which is suggested by Eudict, because the English comma will be used as field delimiter. Then replace all TAB characters with English commas.
Save the text file using GBK encoding.
Upload the text file to Eudict user books and you can see your imported sentences.

Click “下载”link on your defined dictionary book and scan the 2D barcode in Eudict APP to download.

Now, you can enjoy your repetitive study using Eudict flashcards according to the forgetting curve.
Make Eudict for reviewing example sentences的更多相关文章
- 【英语魔法俱乐部——读书笔记】 3 高级句型-简化从句&倒装句(Reduced Clauses、Inverted Sentences) 【完结】
[英语魔法俱乐部——读书笔记] 3 高级句型-简化从句&倒装句(Reduced Clauses.Inverted Sentences):(3.1)从属从句简化的通则.(3.2)形容词从句简化. ...
- 【英语魔法俱乐部——读书笔记】 2 中级句型-复句&合句(Complex Sentences、Compound Sentences)
[英语魔法俱乐部——读书笔记] 2 中级句型-复句&合句(Complex Sentences.Compound Sentences):(2.1)名词从句.(2.2)副词从句.(2.3)关系从句 ...
- 【英语魔法俱乐部——读书笔记】 1 初级句型-简单句(Simple Sentences)
第一部分 1 初级句型-简单句(Simple Sentences):(1.1)基本句型&补语.(1.2)名词短语&冠词.(1.3)动词时态.(1.4)不定式短语.(1.5)动名词.(1 ...
- hdu 3307 Description has only two Sentences (欧拉函数+快速幂)
Description has only two SentencesTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K ...
- 自然语言12_Tokenizing Words and Sentences with NLTK
https://www.pythonprogramming.net/tokenizing-words-sentences-nltk-tutorial/ # -*- coding: utf-8 -*- ...
- Reviewing the Blog Module
Reviewing the Blog Module Throughout the tutorial, we have created a fully functional CRUD module us ...
- word 中Sentences、Paragraph等含义和用法
word 中有Words,Characters,Sentences.Paragraph,Sections 具体含义如下表达式 含义 返回的对象 Words(index) ...
- Analyzing the Meaning of Sentences
1. How can we represent natural language meaning so that a computer can process these representation ...
- Description has only two Sentences(欧拉定理 +快速幂+分解质因数)
Description has only two Sentences Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 ...
随机推荐
- union的特性,去重与不去重
转载:https://blog.csdn.net/kingmax54212008/article/details/33762921 union的特性,去重与不去重 集合操作有 并,交,差 3种运算. ...
- css定位的各属性占位问题
CSS position 属性 不定位 static 元素框正常生成.块级元素生成一个矩形框,作为文档流的一部分,行内元素则会创建一个或多个行框,置于其父元素中. ----------------- ...
- [THUWC2017]随机二分图
题目大意 给一张二分图,有左部点和右部点. 有三种边,第一种是直接从左部点连向右部点,出现概率为50%. 第二种边一组里有两条边,这两条边同时出现或者不出现,概率都是50%. 第三种边一组里有两条边, ...
- Day048--jQuery自定义动画和DOM操作
内容回顾 BOM location.reload() 全局刷新页面 location.href location.hash location.pathname location.hostname lo ...
- Windows编写的shell脚本,在linux上无法执行
前两天由于要查一个数据库的binlog日志,经常用命令写比较麻烦,想着写一个简单的脚本,自动去刷一下数据库的binlog日志,就直接在windows上面写了,然后拷贝到linux中去运行,其实很简单的 ...
- C++(1):error: invalid conversion from ‘void (*)()’ to ‘void (*)(int)
void signaldemo_test(void) { struct itimerval tv, otv; signal(SIGALRM, sigFunc); //how long to run t ...
- SpringBoot系列: SpringBoot Web项目中使用Shiro 之二
==================================Shiro 的加深理解:==================================1. Shiro 和 Spring 系组 ...
- MySQL关于日志配置安全整改及处理方法
[环境介绍] 系统环境:Linux + mysql 5.7.18 + 主从复制架构 [背景描述] 需求:MySQL数据库都有每年的集团安全整改,常常要求弱口令扫描,基线扫描,漏洞扫描等等.对于MySQ ...
- MySQL入门(参考官网)
目录 一.登陆和退出 1. 远程主机 2. 登陆本机 3. 退出mysql 二.输入查询 三.创建和使用数据库 3.1 创建和选择数据库 3.2 创建表 3.3 将数据加载到表中 3.4 操作表格 3 ...
- SQL Server - AS
AS 是给现有的字段名/表名指定一个别名的意思.