Bỏ qua đến nội dung

Filtered Deck From Tag

Chờ xử lý #anki #addon #filtered #deck #from #tag
https://github.com/sachingooo/anki-filtered-deck-by-tag
19/2/2023

Cách tải addon Filtered Deck From Tag

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

2058067048

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 2058067048 và copy

25
1

Mô tả chi tiết

Filtered Deck By Tag An Anki add-on that creates a filtered deck from the browser sidebar. Used for studying by tag instead of by deck.

Project GitHub page

Usage Right click a tag in the browser sidebar Select “Create Filtered Deck” from the right-click menu. A filtered deck will be created from the tag you right clicked on. Modify your searches in the config! See below for the config that I use.

Configuration Configuration options can be found in the add-on config, accessible from Tools → Add-ons → Select the add-on → Config.

There is an array named supplementalSearchTexts, which is an array of strings. For each string that you add, a new option will be added in the right click menu on the browse screen for tags, corresponding to that string. There is a paired array of strings named shortNames. These correspond to the names you want to give each of these options. These entries should correspond to the entries in supplementalSearchTexts. By default, there is a limit of 9999 cards that are added to the deck (maximum allowed by Anki). I personally use 300 cards as the limit, because it’s sufficiently high that I’d never personally want to study a deck that large without breaking it up. If you’d like to change the limit of the number of cards pulled into the filtered deck, modify the numCards in the config. The addon automatically unsuspends cards that should belong in the deck. To disable this, mark the unsuspendAutomatically configuration option as false. You can change the default order used for the filtered decks. It currently defaults to Order Due. In order to change this, modify the value of defaultOrder in the configuration to one of the following integer values: 0 for Oldest 1 for Random

2 for Increasing intervals 3 for Decreasing intervals 4 for Most lapses 5 for Order added 6 for Order due (default) 7 for Latest added first 8 for Relative overdueness. For more detail on what each of these orders mean, see the Anki User Manual

As an example, here’s what I use in my config:

{
	"numCards": 9999,
	"shortNames": [
		"high yield due",
		"high yield due and new",
		"due and new"
	],
	"supplementalSearchTexts": [
		"tag:#AK_Step1_v11::^Other::^HighYield::1-HighYield is:due",
		"tag:#AK_Step1_v11::^Other::^HighYield::1-HighYield (is:due OR is:new)",
		"(is:due OR is:new)"
	],
	"unsuspendAutomatically": true,
	"defaultOrder": 6
}

Notes This add-on creates the filtered deck. It does not regularly rebuild that filtered deck. For that, I recommend one of the rebuild all add-ons. Bug reports should be added to the issues page on the GitHub page.

Updates

1/16/2023 - Updated versions to support 2.1.49+ 2/18/2023 - Added multiple configuration, and support for custom default deck order. This update will overwrite your existing configuration. Please make a backup of your configuration before updating.


Liên kết hỗ trợ


Reviews (25)

👍 2026-01-08

It’s great! Thanks! If possible, it would be really cool to specify is:new OR is:due, which can be done manually but would be nice to automate.

👍 2025-05-20

Anki 25.02.5 (29192d15) (ao) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 Platform: Windows-10-10.0.26100

Traceback (most recent call last): File “C:\Users\User\AppData\Roaming\Anki2\addons21\2058067048_init_.py”, line 37, in <lambda> lambda: createFilteredDeck(item, "", "")) File “C:\Users\User\AppData\Roaming\Anki2\addons21\2058067048_init.py”, line 81, in _createFilteredDeck col.sched.rebuildDyn(did) File “anki.scheduler.legacy”, line 57, in rebuildDyn File “anki.scheduler.base

👍 2025-05-11

Thanks!

👍 2025-01-09

<3 <3 <3

👍 2024-11-25

Thank you! Great job!

👍 2024-11-18

Thank you!!! This is exactly what I needed!

👍 2024-11-16

Perfect work. Make it easier to create new filtered packages. Thanks and Regards from Bohemia appl734e@gmail.com

👍 2024-11-08

Thank you for this fantastic add-on! I use it every day. I have a question: It seems that I can’t create a new filtered deck using tags that are already part of another filtered deck. For instance, if I create an 80-card filtered deck with the tag “A,” any tags co-existing with “A” on those cards cannot be used to build additional filtered decks until the “A” deck is deleted. Is there a way to create multiple filtered decks using different tags from the same set of cards, without needing to dele

👍 2024-09-17

thanks a lot ! lots of love from india Comment from author ❤️ lots of love from the states

👍 2024-08-16

Easier to be more topical Comment from author Glad it worked for you!

👍 2024-06-15

Thanks! Comment from author Thanks!

👍 2024-03-02

Love this. Is there a way to have a filtered deck subtract from the new cards every day after completing? I want to do about 500 new per day, but after using the filtered deck it still says I have 500 new to complete. Comment from author After you empty the filtered deck, delete the filtered deck, or rebuild the deck, the new card count should update if your scheduling is set to allow the filtered deck to count for scheduling!

👍 2024-01-29

Actually answered the question and was easy to follow. Thank you!

👍 2023-12-27

How would your write it to have multiple tags. Say to include the high yield tag and the relatively high yield tag together? Comment from author In your supplementalSearchTexts array in the configuration, include a line along the lines of “(tag:tag1 OR tag:tag2)” where tag1 and tag2 are the names of your high yield and relatively high yield tags

👍 2023-10-15

Such a great addon! Save a lot of time making filtered decks, thank you sir! Keep creating! Comment from author Will do! Please feel free to provide any ideas you have for any other potential addons

👍 2023-08-19

Lifesaver!! Thank you so much!

👍 2023-06-30

What’s the best way to quickly create a filtered deck from multiple tags? Comment from author Like one deck that incorporates multiple tags in it?

👍 2023-06-01

Saved me from “change deck” over and over again. I owe you coffee / chai and much more but I can only afford coffee and chai atm :P

Got a donate link? Comment from author I do not! While I do sincerely appreciate the offer, it’s really not necessary. Good to know that this addon was helpful. Best of luck with your studying!

👍 2023-05-20

I am practicing for LSAT, which is a multiple choice exam. In each section of the exam, we are given 4 scenarios, each has 6 questions. Say, I create 24 multiple choice flashcards for 24 questions from a practice exam. I group these flashcards by tag (scenario1, scenario2, scenario3…, scenario###).

Is there a way I can create filtered deck to study 1 random scenario everyday with this add-on? Or is there a better way to program my study on Anki? Comment from author Interesting use case. I’m

👍 2023-05-14

Hi! Works fantastic!

I just have a question, does this reschedule cards based on the answers? Comment from author By default it does! If you view the options for the generated filtered deck, the “Reschedule cards based on my answers” checkbox should be clicked, so your studying in this deck acts like normal studying, rescheduling cards like normal. If you were to delete the filtered deck, it’ll send the cards back to where they typically live along with the history of the reviews you did while

👍 2023-04-15

Should have had this add-on from the get-go; I use the AnKing Deck which has hundreds of tags. This is soooo much easier than manually creating decks! Comment from author Glad it’s been able to help!

👍 2023-04-13

thank you and blessings in Jesus Christ name. Comment from author Best of luck with your studying 🎉

👍 2023-02-18

Nice add-on. I have one question: By default the filtered deck is orders card by “Order due” how do I change this to “Order added”? Comment from author I’ve been thinking about this - I’ll add an option for it later today and will update my comment here when I’ve uploaded!

Update: added custom configuration, alongside multiple configuration. As a warning, this update will override your existing configuration so please make a backup of the config for this addon before proceeding!

👍 2023-01-16

Thanks! Comment from author Happy studying!

👍 2022-12-24

Works really well! Comment from author Why thank you, person-who-tested-this-before-I-uploaded-it :)

Your sly anonymity has been foiled