Цифровой садик - приветственная

Цифровой садик - приветственная | Полный список всего, что тут есть | RSS | Подписаться через follow.it

09.04.2022

org-drill

Источник: https://orgmode.org/worg/org-contrib/org-drill.html

Настройки для org-drill

Подключить.

(require 'org-drill)

Предупреждать о карточках, которые долго не выучиваются. Скажем, 30 повторений. Варианты - nil (не предупреждать), skip (ещё и не пересматривать), warn (пересматривать, но предупреждать)

(setq org-drill-leech-failure-threshold 30)
(setq org-drill-leech-method nil)

В любом случае карточка получает leech тег, можно пересматривать потом, что с ними делать.

Что пересматривать в поисках карточек

(setq org-drill-scope 'directory)

file The current buffer, ignoring hidden items. This is the default. tree The subtree starting with the entry at the cursor. (Alternatively you can use M-x org-drill-tree to run the drill session – this will behave the same as org-drill if 'tree' was used as the value of SCOPE.) file-no-restriction The current buffer, including both hidden and non-hidden items. file-with-archives The current buffer, and any archives associated with it. agenda All agenda files. agenda-with-archives All agenda files with any archive files associated with them. directory All files with the extension '.org' in the same directory as the current file. (The current file will also be included if its extension is .org) (file1 file2 …) A list of filenames. All files in the list will be scanned.

Какой алгоритм

(setq org-drill-spaced-repetition-algorithm 'sm2)

Org-Drill supports three different spaced repetition algorithms, all based on SuperMemo algorithms. These are:

SM2 an early algorithm, used in SuperMemo 2.0 (1988), which remains very popular – Anki and Mnemosyne, two of the most popular spaced repetition programs, use SM2. This algorithm stores an 'ease factor' for each item, which is modified each time you rate your recall of the item. SM5 (default) used in SuperMemo 5.0 (1989). This algorithm uses 'ease factors' but also uses a persistent, per-user 'matrix of optimal factors' which is also modified after each item repetition. Simple8 an experimental algorithm based on the SM8 algorithm. SM8 is used in SuperMemo 8.0 (1998) and is almost identical to SM11 which is used in SuperMemo 2002. Like SM5, it uses a matrix of optimal factors. Simple8 differs from SM8 in that it does not adapt the matrix to the individual user, though it does adapt each item's 'ease factor'.

Убирать заголовки вопросов

(setq org-drill-hide-item-headings-p t)

Возможность настраивать в конкретном файле

Per-file customisation settings

Most of Org-Drill's customisation settings are safe as file-local variables. This means you can include a commented section like this at the end of your .org file to apply special settings when running a Drill session using that file:

# Local Variables:
# org-drill-maximum-items-per-session:    50
# org-drill-spaced-repetition-algorithm:  simple8
# End:

You can achieve the same effect by including the settings in the 'mode line' (this must be the first line in the file), like so:

# -*- org-drill-maximum-items-per-session: 50; org-drill-spaced-repetition-algorithm: simple8 -*-

Как устроены карточки

В описании org-drill утверждается, что пустые карточки не используются при, собственно, пересматривании карточек. Так вот, у меня так не работает. Возможно, достаточно установленных свойств, чтоб карточка казалась не пустой.

Простейший вариант

# * Item                                   :drill:
# What is the capital city of Estonia?
# 
# ** The Answer
# Tallinn.

С убиранием слова

# * Item                                   :drill:
# The capital city of Estonia is [Tallinn].

С подсказкой - через ||

Вопрос:
Type 1 hypersensitivity reactions are mediated by [immunoglobulin E||molecule]
and [mast cells||cell type].

Отображение вопроса:
Type 1 hypersensitivity reactions are mediated by [molecule…] and [cell type…].

C убиранием нескольких по очереди

There are several types of predefined multicloze card:

  • hide1cloze – one of the marked areas is hidden during review; the others all remain visible. The hidden text area is chosen randomly at each review. (Note: this type used to be called 'multicloze', and that card type is retained as a synonym for 'hide1cloze'.)
  • show1cloze – only one of the marked areas is visible during review; all the others are hidden. The hidden text area is chosen randomly at each review.
  • hide2cloze – like hide1cloze, but 2 marked pieces of text will be hidden, and the rest will be visible.
  • show2cloze – like show1cloze, but 2 marked pieces of text will be visible, the rest are hidden.

There are also some types of multicloze card where some pieces have an increased or decreased chance of being hidden. These are intended for use when studying languages: generally it is easy to translate a foreign-language sentence into your own language if you have met it before, but it is much harder to translate in the other direction. Therefore, you will want to test the harder direction more often.

  • hide1_firstmore – only one of the marked pieces of text will be hidden. 75% of the time (guaranteed), the first piece is hidden; the rest of the time, one of the other pieces is randomly hidden.
  • show1_firstless – only one of the marked pieces of text will be visible. Only 25% of the time (guaranteed) will the first piece will be visible; the rest of the time, one of the other pieces is randomly visible.
  • show1_lastmore – only one of the marked pieces of text will be visible. 75% of the time (guaranteed), the last piece will be visible; the rest of the time, one of the other pieces is randomly visible.
# * Fact
#   :PROPERTIES:
#   :DRILL_CARD_TYPE: hide1cloze
#   :END:

# The capital city of [New Zealand] is [Wellington], which is located in
# the [North||North/South] Island and has a population of about [400,000].

Двусторонняя

A two sided card can have more than 2 subheadings, but all subheadings after the first two are considered as "notes" and will always be hidden during topic review.

# * Noun                                               :drill:
#     :PROPERTIES:
#     :DRILL_CARD_TYPE: twosided
#     :END:

# Translate this word.

# ** Spanish
# la mujer

# ** English
# the woman

# ** Example sentence
# ¿Quién fue esa mujer?
# Who was that woman?

Многосторонняя

The multisided card type is similar to twosided, except that any subheading has a chance of being presented during the topic review. One subheading is always shown and all others are always hidden.

# * Noun                                               :drill:
#     :PROPERTIES:
#     :DRILL_CARD_TYPE: multisided
#     :END:

# Translate.

# ** Spanish
# la mesa

# ** English
# the table

# ** Picture
# [[file:table.jpg][PICTURE]]

# The user will be shown the main text and either 'la mesa', or 'the table', or a picture of a table.

Если у вас есть мысли, комментарии, предложения или отклики по поводу этой страницы или этого цифрового сада в целом, напишите мне сообщение на agnessa@agnessa.pp.ru. Мне ооочень интересно!

Задонатить.


An IndieWeb Webring 🕸💍