Cloze Word Counter
An Anki addon that replaces [...] with the number of words contained in the cloze deletion.
β¨ What's New in Version 1.1.0
- New option: Choose between showing
[...] or [1] for single words
- Flexible configuration: Complete control over when and how to display the counter
- Better compatibility: Works perfectly with Anki 2.1.50+
π Features
- Automatically counts words in cloze deletions
- Replaces
[...] with [number] (e.g., [3] for three words)
- NEW: Option to keep
[...] for single words
- Works with all types of cloze cards
- Fully configurable
π How to Use
- Create Cloze deletion type cards
- In card templates, where
[...] normally appears, it will now show the word count
- Configure behavior through addon preferences
Examples:
{{c1::house}} β [...] (if configured) or [1]
{{c1::big house}} β [2]
{{c1::very big house}} β [3]
βοΈ Configuration
Go to Tools β Add-ons β Cloze Word Counter β Config
Main options:
show_dots_for_single_word (NEW OPTION):
true: Single words appear as [...]
false: Single words appear as [1]
format: Customize counter format
"[{count}]" β [3]
"({count} words)" β (3 words)
"{count}w" β 3w
show_on_question: Show counter on question side
show_on_answer: Show counter on answer side
enabled: Enable/disable addon
π§ Configuration Example
{
"enabled": true,
"format": "[{count}]",
"show_on_question": true,
"show_on_answer": true,
"show_dots_for_single_word": true
}
π Changelog
v1.1.0
- β
Added option to keep
[...] for single words
- β
Improved addon configuration
- β
Bug fixes
v1.0.0
- β
Initial release
- β
Basic word counting in clozes
- β
Customizable settings
π― Compatibility
- Anki 2.1.50+
- Tested on Anki 25.02.5
- Works on Windows, Mac, and Linux
π Support
Issues or suggestions? Contact through GitHub or leave a comment on AnkiWeb.
Tip: For the best experience, set show_dots_for_single_word: true if you prefer to keep the traditional [...] look for single words, or false if you want to always see numbers.