9 1
Contact Author Sign in to rate

High Yield Tags

0.02MB. Updated 2021-08-07.
The author has shared 83 other item(s).


This add-on is as requested by u/DoctorToBeIn23. It allows you to select cards in browser and obtain the following table: * the list the tags present in your selection * how many time each tags are present in this selection (counting once by card) * what percent of selected cards have this tag * how many percent of the cards with this tags are selected sorted in decreasing order of number of occurrence of tags. Once cards are selected in browser, you can show the count with ctrl+shift+T or Help>Number of tags Please report any error on https://github.com/Arthur-Milchior/anki-number-of-selected-tags


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1650216564
I like the idea and it does work, but it takes way too long. So long that I never use it unless I'm willing to wait 10min for it to generate a report.
on 1630035386
It's a great add-on, but only for small quantities of cards. I tried using it for about 7.5k cards and it took about 7-8 minutes before it even showed up a tab. However, even after the window opened, it was blank so it was all for nothing. Other than that, it works perfectly as intended.
on 1626216319
Add-on breaks when trying to use the "Number of Tags" function

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-07-13 16:32:15

Caught exception:
Traceback (most recent call last):
File "C:\Users\ayoba\AppData\Roaming\Anki2\addons21\1918380616\__init__.py", line 132, in <lambda>
a.triggered.connect(lambda: showTagsInfo(browser, browser.selectedCards()))
File "C:\Users\ayoba\AppData\Roaming\Anki2\addons21\1918380616\__init__.py", line 36, in showTagsInfo
info = tagStats(cids, highlights, highlights_percent)
File "C:\Users\ayoba\AppData\Roaming\Anki2\addons21\1918380616\__init__.py", line 96, in tagStats
nbCardWithThisTag = len(mw.col.findCards(search))
File "anki\collection.py", line 478, in find_cards
File "anki\_backend\generated.py", line 80, in search_cards
File "anki\_backend\__init__.py", line 106, in _run_command
anki.errors.InvalidInput: Invalid search: ⁨the escape sequence `⁨\#⁩` is not defined. If you want to search for a literal backslash `\`, prepend another one: `\\`.⁩
on 1622120837
on 1617286539
Should be implemented in Anki
Must have add-on
on 1609351630
Makes it much more convenient to find additional, relevant cards after searching!
on 1587459611
on 1585514244
Essential addon to keep control of an incresingly complex tag tree structure, especially if used together with other like Extend Tag Add.

Thank you!
on 1581420553
Thank you for this useful add-on! My tag collection is a mess.

Suggestion: option to configurate the shortcut
Comment from author
Done. Please tip. (you may need to reset the configuration to obtain the shortcuts preset.)
on 1581083716
Thank you for this add on currently is working as I hoped it would!!! <3