ssricardo / anki-plugins

Contains a set of addons for the open source application Anki Desktop
95 stars 20 forks source link

Feature request: being able to make several answers and accept it as correct if any of them is entered. #119

Open EugeneTarasenko opened 2 years ago

EugeneTarasenko commented 2 years ago

Sometimes, when using cloze deletions there are several answers, and any of them can be correct. For example, the sentence:

"We could have lunch outside if it weren't/wasn't raining."

Here both "weren't" and "wasn't" are correct. So after entering either answer it should be accepted as correct.

Currently after entering either "weren't" or "wasn't" the answer is considered as wrong and marked like this:

Screen Shot 2022-10-09 at 11 19 20

But it would be nice to accept it as correct and display it like this:

Screen Shot 2022-10-09 at 11 19 01

The syntax could be like this:

We could have lunch outside if it {{c1::weren't | wasn't::not to be}} raining

EugeneTarasenko commented 4 months ago

Here is another example where this feature is needed:

"Yes. {{c1::I'll turn | I will turn::(I + to turn)}} on the light."

In this case, the answer can be either 'I'll turn' or 'I will turn.' Both spellings are correct, and either one should be accepted as correct.