Bỏ qua đến nội dung

Cloze Anything

Chờ xử lý #anki #addon #cloze #anything
https://github.com/matthayes/anki_cloze_anything/issues
9/12/2021

Cách tải addon Cloze Anything

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

330680661

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 330680661 và copy

22
1

Mô tả chi tiết

This is the plugin corresponding to the Cloze Anything project. This plugin automates some of the otherwise manual work that would be required when following the approach of this project. While this plugin is not necessary to follow this approach, it does make it a lot easier. You may also be interested in the related shared deck that includes sample cards utilizing the card templates.

The Cloze Anything provides a template-based cloze implementation that:

is completely independent from Anki’s Cloze Deletion,

does not require any modifications to Anki (via a plugin) for it to work,

and provides more flexibility in cloze card generation

This is achieved purely through JavaScript in the card template and a novel application of Anki’s built-in (awesome) Selective Card Generation feature. The big benefit of this is that you can generate cloze cards from existing notes, for which you may already have cards. It has no dependency on Anki’s Cloze note type nor any other note types, which means you don’t have to migrate your cards to a new note type. It is compatible with Anki Desktop, AnkiMobile, and AnkiDroid.

Getting started is easy. You can either download the shared deck or follow the instructions for setting up the templates manually.

Replicating Anki functionality with JavaScript and card templates is not the goal however. The goal is endless flexibility. You can add cloze cards to any existing note type (“cloze anything”) simply by adding new fields and card templates based on the instructions found here. You can also modify the templates completely, using them simply as a guide.

Further details on the approach and how the plugin works can be found on the Github page. Below you will find only a short description of how the plugin works.

The plugin does two things to make it easier for you to edit cloze deletions when following this approach:

Hooks into Anki’s […] button in the editor so that you can use it on other notes besides those based on Anki’s Cloze type.

Synchronizes edits from the ExpressionCloze field (or similarly named field) to the other fields ExpressionCloze1, ExpressionCloze2, etc. that enable the corresponding cloze cards.

Support

If you experience a problem or have any comments/ideas, please open an issue at the Issues page for the project on Github.

Version History

0.1: Initial Release (2019-12-17)

0.2: Add menu actions Auto-cloze Full Field and Create Missing Cards (2019-12-29)

0.4: Update to work with Anki 2.1.49 (2021-12-08)

License

Copyright 2019-2021 Matthew Hayes

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Liên kết hỗ trợ


Reviews (23)

👍 2024-05-05

Excellent.

👍 2024-01-29

I hope the author would update the addon and fix bugs. This addon is essential for me.

👍 2023-08-31

any learner’s saver

👍 2023-02-08

This works well, but only if you manually type in the code for a cloze (e.g., ((c2::Quiero)) ver un ((c1::video)).

If you don’t manuall type it in the Anki button for cloze doesn’t work. You click it and it looks like it works, but as soon as you go to a different field it reverts back to Quiero rather than remaining ((c2::Quiero)).

👍 2023-01-03

It’s so good being able to add cloze sentences to my existing vocab notes! I will use this extensively for my own language learning and encourage my ESL students to use it too.

👍 2022-11-24

I think this addon is super underrated. I’ve been using it for a really long time now, and while making a new card I thought about how much easier this is than making separate cloze deletion cards, so thought I’d leave a comment. It works perfectly and substantially reduces the amount of work in making cloze deletion cards.

I also like to type-out my cloze answers as I find it helps me memorize spelling. Using this addon you can do this pretty easily. The instructions say to have your Express

👍 2022-04-06

It does not work for me although I add ”Cloze” at the end of the word or sentence!! Comment from author Have you read the instructions at https://github.com/matthayes/anki_cloze_anything#how-the-template-works ? “Cloze” is added to the field name, not the word or sentence, and you need additional Cloze1, Cloze2, etc. fields.

I suggest you download the sample deck as a starting point and working from there: https://ankiweb.net/shared/info/1637056056

👍 2022-03-11

Super cool but is it possible to set up so that only the questioned cloze is revealed on the back, with other clozes staying hidden?

👍 2022-03-01

best plugin

👍 2022-02-28

This is the way to go; I’ve never been a fan of the separation ‘normal’ <—> ‘cloze’ Note Types. Changing one into the other can be a hassle if the number of Fields don’t match.

Is someone from Anki reading this?

Wouldn’t it be worth a thought giving up Anki’s ‘Cloze’ Note Type in favour of this approach here?

👍 2022-01-24

It is a great addon and works perfectly!

👍 2021-09-05

An amazing Add-On, it has enabled my card type.

👍 2021-07-27

VERY underrated addon, A MUST for every anki user in my opinion.

👍 2021-06-09

This add-on is superb! It took me some to get used to but thanks to the phenomenal documentation on github it wasn’t all that difficult. The amount of flexibility this provides is immense. It was exactly what I was looking for. Here’s what me me get it:

I use Anki’s card generation feature alot, by creating customized notes. This allows me to fill in fields quickly and then have Anki generate a bunch of cards based on those fields. But for certain cards i need both the cloze-part and the card

👍 2020-08-22

This is awesome and offers so much flexibility! Thank you for all the work you put into this project.

I modified the card types slightly to add a touch more flexibility, which I will explain below for others that might need the same.

My issue was that the default setup only allowed for an Expression to Meaning (Front to Back) production card and different variations of clozes of the Expression. I needed a full Meaning to Expression card and the ability to season the card to my liking. Tr

👍 2020-07-26

This works well as long as you follow the requirements for card and field naming. So happy that I didn’t need to duplicate notes to add cloze deletions! Big thanks to the author for all the time they saved me. :)

👍 2020-07-09

This is exactly what I need! Thank you so much, I am sure it will save my time a lot

👍 2020-06-05

Works on AnkiDroid too:

https://i.ibb.co/9wZzRpk/Screenshot-2020-06-05-17-13-05.jpg

https://i.ibb.co/fHKxhdM/Screenshot-2020-06-05-17-13-29.jpg

👍 2020-06-02

This template was a great help for generating a vocabulary deck that suited my needs. The creator also gave me some good advice on how to get the most out of it.

👍 2020-05-12

Seems great. Do you plan to upload a video on how it works? It would be perfect for people with poor tech skills like me. Comment from author I probably won’t be doing this due to the time it would take for me to prepare a video. However if you can provide me with some feedback about what parts of the documentation on the github page are unclear or hard to follow I can work on improving them or writing some more straightforward how-to guides.

👍 2020-05-03

Awesome, thank you so much!

👍 2020-03-05

wow. Its just… GREAT.

👍 2020-01-05

The Cloze Anything project fits my needs perfectly. It is a pity its functionality is not built into vanilla Anki’s cloze capabilities.

I learn languages mostly with sentence flashcards. While the recognition side (L2→L1) is straightforward even with the most complex of sentences, production (L1→L2) tends to be confusing with longer sentences. The solution is to break down production cards into shorter, simpler pieces using cloze deletion. The Cloze Anything method removes the need to have al