AnkiWeb
- Rating
- 19 (👍 19 · 👎 0)
- Updated
- 2025-03-18
- Anki versions
- 25.03~
- Description language
- en
AnkiWeb addon 1827331674
Improves feedback for type-in-answer cards with multiple correct answers by rearranging answers before diffing, supports lenient validation, and groups combining marks for Indic scripts.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 25.03+ | 2025-03-18 |
Loading…
Compares typed answers against multiple correct answers separated by slashes, marking a matching alternative correct while hiding other possible answers.
Turns Anki cards into multiple-choice quizzes with up to five options, shuffling, selectable answer reveal, explanations, images, customizable feedback, and settings.
Converts Anki cloze deletions into interactive dropdown multiple-choice quizzes with customizable feedback, answer ordering, keyboard shortcuts, and automatic card flip.
Review single- and multiple-choice Anki questions in a clean exam-style screen showing your answer, correct answer, color-coded feedback, optional explanations, and auto-clearing selections.
Transforms Anki cloze cards into interactive fill-in-the-blank exercises with multiple input fields, instant feedback, hints, dropdown answers, and duplicate-cloze autofill.
Creates interactive multiple-choice dropdown quizzes in Anki with shuffled answer choices, customizable distractors, optional hints, and cross-device review.
Answer Set is an Anki add-on which gives better feedback for "type in the answer" style cards if there are multiple correct answers and improves support for Indic scripts.
To install, open Anki and go to Tools > Add-ons in the menu bar, then click
"Get Add-ons..." and enter this code: 1827331674
If you try to have multiple answers in a "type in the answer" style card in Anki, you will run into some issues. For instance, if you had "depart, go, leave" as the answer but typed "leave, go" instead, you would get:

This makes it difficult to see which answers you got correct, and which you actually did get wrong. With this add-on, the "correct" answers are rearranged before showing the difference, and so only this would be shown:

This is particularly useful for language learning, since often there will be multiple words matching a definition or multiple definitions for the same word.
This add-on also makes it possible to mark certain words in an answer as optional by putting them in parentheses or square brackets, or to accept any one of a set of words within an answer by separating them with slashes. See here for more details.
For some languages such as Tamil (தமிழ்), the script requires combining characters to represent vowels. Here is an example of the diff that Anki gives by default when typing "திரமபு" (tiramabu) instead of "திரும்பு" (tirumbu):

Separating the combining marks from the letters that they attach to make it difficult to see what is actually wrong, so this add-on groups combining marks before showing the difference:

If the "correct" answer contains ;, then ; will separate the answer choices
for rearranging. Otherwise, , will be used. This means that this:
a, b, c; d, e, f
Will be parsed into a, b, c as one answer and d, e, f as another. If you
want to use different answer choice separators, you can configure them in the
Anki add-on config page.
There are a few special features which can be enabled/disabled in the add-on config in Anki:
Additionally, there is an "Equivalent Strings" config option to treat certain words as equivalent when checking answers. For instance, you may want to treat "I am" and "I'm" as being the same. To see all available options, open the add-on config page in Anki.
For Anki 25.03+, this add-on is implemented using the
reviewer_will_compare_answer and reviewer_will_render_compared_answer hooks.
In older versions of Anki, it is implemented using monkey patching instead since
these hooks were not implemented yet.
The diffs between "given" and "correct" answer choices are rendered using a modified version of the Longest Common Subsequence, with a preference for grouping error regions together. It also has been modified to support "lenient validation", where brackets, text separated by slashes, and certain other characters are allowed to be missing from the given answer. Combining characters are grouped before finding the difference to improve support for non-ASCII text.
The answer rearranging algorithm uses the diff between "given" and "correct" answer choices to determine which correct answer is closest to which given answer for rearranging. The closest pair is grouped together first, then the next closest, and so on until there are no more pairs.
2025-03-18:
2024-10-05:
2024-04-28:
2024-03-18:
2024-03-17:
2024-02-20:
2024-02-08:
2024-01-21:
2024-01-14:
2024-01-08:
2023-12-27:
2023-12-11:
2023-12-10:
2023-11-29:
2023-11-26:
2023-11-15:
2023-07-13:
2023-06-15:
If you find a bug, please open an issue in this repository describing the issue.