zoukankan      html  css  js  c++  java
  • 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.

    1. 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.

    2. Export the Markdown document into HTML file.

    3. Paste the contents in the HTML file into LibreOffice Calc as “Unformatted text”.

    4. 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.

    5. 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*.

    6. Select and copy all the processed contents into a simple text file. On my Linux system, I prefer Kate editor.

    7. 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.

    8. Save the text file using GBK encoding (N.B. It should be UTF-8 encoding instead. 2020-08-23).

    9. Upload the text file to Eudict user books and you can see your imported sentences.

    10. 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.

  • 相关阅读:
    自己动手编译apache-tomcat-6.0.41-src源码
    搭建Tomcat6源代码阅读环境
    Windows CMD下一些有用的命令
    windows server域的概念以及wmic(centos上命令)
    C++虚函数的实现机制示例
    通过j-interop访问WMI实例代码
    C++虚函数示例
    创建一个Windows窗体
    UNICODE字符集(20140520)
    windows程序设计笔记
  • 原文地址:https://www.cnblogs.com/quantumman/p/9426303.html
Copyright © 2011-2022 走看看