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.

  • 相关阅读:
    Codeforces 992C(数学)
    Codeforces 990C (思维)
    Codeforces 989C (构造)
    POJ 1511 Invitation Cards(链式前向星,dij,反向建边)
    Codeforces 1335E2 Three Blocks Palindrome (hard version)(暴力)
    POJ 3273 Monthly Expense(二分)
    POJ 2566 Bound Found(尺取前缀和)
    POJ 1321 棋盘问题(dfs)
    HDU 1506 Largest Rectangle in a Histogram(单调栈)
    POJ 2823 Sliding Window(单调队列)
  • 原文地址:https://www.cnblogs.com/quantumman/p/9426303.html
Copyright © 2011-2022 走看看