This is a third-party script/app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.
[ General Script Installation instructions ] You’ll need a script host plugin like TamperMonkey
[ Open Framework Installation ]
Download the script here:
Description
This is a collection of filters for use with Self Study Quiz and Item Inspector scripts. The filters will be automatically added to the Filter tab in both software settings dialog.
These filters provide a variety of searches for Wanikani Items. Each filter uses as input a series of search terms separated by commas. If you use an IME Japanese commas are accepted. Matches for each search term will be returned.
The filters are:
- Global Search: Searches for characters, meanings and readings in all items. A match occurs if the search term is a substring of either characters, meanings or readings
- Exact Search: Searches for characters, meanings and readings in all items. A match occurs if the search term is identical to characters or readings For meanings a match occurs if the search term is identical to one of the words in the meaning.
- Kunyomi search: Searches for kanji. A match occurs if the search term is a kunyomi reading.
- Onyomi search: Searches for kanji. A match occurs if the search term is an onyomi reading.
- Components Search: Searches for radicals and kanji. If the search term is a kanji, a match occurs for radicals in the kanji. If the search term is a vocabulary, a match occurs for the kanji in the vocabulary. If the search term is both a kanji and a vocabulary, both the corresponding radicals and kanji will match.
- Used In Search: Searches for kanji and vocabulary. If the search term is a radical, a match occurs for the kanji using this radical. If the search term is a kanji, a match occurs for the vocabulary using this kanji. If the search term is both a radical and a kanji, both the corresponding kanji and vocabulary will match.
- WK Visually Similar: Matches kanji that are visually similar to the search term according to Wanikani built-in visually similar feature.
- Allow List Search: Matches items where the search term is a substring of an entry in the allow list. The ‘#’ search term matches when the allow list is empty. The ‘*’ search term when the allow list is non empty.
- Block List Search: Matches items where the search term is a substring of an entry in the block list. The ‘#’ search term matches when the block list is empty. The ‘*’ search term when the blocklist is non empty.
- Context Sentences Search: Searches the context sentences for search terms.
- Mnemonics/Notes Search: Searches the reading and meaning mnemonics, hints and user notes for search terms.
These filters are broad by design. They will match all three item types unless some of them are inapplicable. You may particularize the search to a specific item type by using the Item Type filter which is built-in Self-Study Quiz and Item Inspector.
Note to developers
You should use wkof.wait_state('statsFilters', 'ready')
.to wait for the completion of the filters initialization.
This code is released under the MIT license and is available on github.
Version History
Version 1.4.0 - Adds support of kana only vocabulary
Version 1.3.1 - Released under the MIT license.
Version 1.3.0 - Adds Context Sentences and Mnemonics searches. Expand Allow List and Block List searches for non-empty searches.
Version 1.2.0 - Fixing typos, handling radicals with spaces in them, bug fix.
Version 1.1.1 - Fixing typo, performance improvement, adding placeholders
Version 1.0.0 - Original Release.