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

  • 相关阅读:
    hadoop——数据清洗测试
    本地配置hadoop
    从textarea中获取数据后按原样显示
    form自动提交
    艺术和代码的结合 turtle + python 的结合
    python-->微信支付
    python-图片流传输(url转换二维码)
    python-qrcode-二维码
    Java 通过先序中序序列生成二叉树
    Java 实现二叉树的构建以及3种遍历方法
  • 原文地址:https://www.cnblogs.com/quantumman/p/9426303.html
Copyright © 2020-2023  润新知