Anki add-on: Bury Cousins (related cards that aren't siblings)

Anki plugin to bury related cards even if they're not siblings. Configure rules so you can suppress similar cards from different notes. To configure, go to "Tools" > "Add-Ons" and select the "Bury Cousins" plugin and click "Config". In that menu you can rules for burying cards like "When reviewing a cloze deletion, bury any cloze cards whose text field is very similar to the reviewed card's text field" or "when reviewing a basic card, bury any basic cards whose Front field starts with the same characters as the reviewed cards Front field." Note: this plugin will not work with the Anki V3 scheduler which removes the hooks this relies on. In addition to burying cards according to these rules, you can also use the rules in the "detect duplicates" tool in the card browser. File or fix bugs here: https://github.com/AlexRiina/anki_cousins Available Rules Similarity scores fields on fuzzy similarity so "xxxyyy" and "xxyxyy" have a high match score similar but not super high. This test requires that the shorter field is at least 4 characters. Prefix looks at the percentage of the longer field that matches the shorter field so "1234567" and "123" match on the first 3 characters so their match score is 3/7. This test requires that the shorter card has at least 4 characters. Contains looks at whether the base field contains the second field exactly, regardless of the threshold you set. This test requires that the shorter field is at least 4 characters. The similarity field is currently ignored for this rule. Contained by looks at whether the exact base field is contained by the second field, regardless of threshold set. This is the reverse of contains. This test requires that the shorter field is at least 4 characters. The similarity field is currently ignored for this rule. Cloze contained by looks at whether cloze answers in the base field are in the second field. So if you have a cloze deletion like Rabbit babies are {{c1::altrical::precocial / altricial}} but don't want to see the definition of that word in the same session, you can suppress the definition card using "cloze contained by." This test requires that the shorter field is at least 4 characters. The similarity field is currently ignored for this rule.

GitHub repository: alexriina/anki_cousins
Repository description: Anki plugin to bury related cards even if they're not siblings.
Languages: Python, Makefile