JLPT Database graph relation crawler

AnkiWeb addon 1321136162

Crawls cross-references from selected grammar cards up to a chosen depth, then tags the discovered notes and optionally builds filtered decks, browser views and execution logs.
AI-generated summary; may contain mistakes.

note-managementtaggingsearchfiltered-decks

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-04-13
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python
Description language
en

Maintenance

active

  • Last update or commit: 2026-06-15 (139 days before the snapshot).
  • Commits in the last year: 30.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-04-13
History across monthly snapshots

Loading…

Similar addons

JLPT Color Tags

Looks up Japanese vocabulary on Jisho to color card fields by easiest JLPT level and add JLPT or Common tags, with configurable fields, decks, and preserved HTML.

note-managementtaggingformattingdictionary

5 votes 57% approval πŸ‘ 5 Β· πŸ‘Ž 0 Anki 25.09.2~ Updated 2025-11-15
LLM Tag Linker

Uses an LLM to generate English concept tags for selected notes and displays their connections in an interactive, offline 3D knowledge graph.

aitagging

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-06-18
JLPT Tracker Dashboard

Displays a customizable real-time dashboard in Anki tracking vocabulary and grammar progress across JLPT levels N5–N1, with study-pace completion estimates, exam countdown, and separate metrics.

progress-tracking

9 votes 70% approval πŸ‘ 9 Β· πŸ‘Ž 0 ⭐ 2 Anki 2.1.3~ Updated 2026-06-08
Mindmap from tag hierarchy

Creates mindmaps, graphs, and visualizations from Anki tag hierarchies, requiring Graphviz to be installed and available on the system PATH.

tagging

17 votes 73% approval πŸ‘ 16 Β· πŸ‘Ž 1 ⭐ 6 Anki <=2.1.66 Updated 2022-11-16
Youtube Audio Miner

Stores YouTube videos in a searchable sentence database, adds matching audio, sentences, and screenshots to existing cards, and creates Subs2SRS decks from videos or playlists.

card-creationimportdeck-management

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 5 Anki 2.1.16~ Updated 2022-08-28
Audio Extractor from selected Cards

Batch-exports audio from selected cards by scanning all note fields for sound references, copying files to a chosen folder with optional numeric prefixes and duplicate prevention.

export

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-04-13

Description

Anki Relation Crawler Add-on

An automated Anki add-on based on the grammar-note designed to crawl through interconnected grammarstructures and build study clusters based on cross-references. It scans your selected base cards, follows embedded links to find related topics, and can automatically group them for focused study sessions.

βš™οΈ How It Works

The crawler relies on two specific fields in your Anki notes (configurable at the top of the script):

  1. Source Label Field (Level And Grammar Point): The main title or identifier of the note.
  2. Target Field (Connected Grammar Points from jlptsensei (optional)): The field containing internal Anki references (e.g., [Grammar Point|nid123456]).

When executed, the add-on reads the internal references of the selected cards, searches the database for those matching notes, and repeats this process depending on the "Search Depth" (Degree) you specify.

✨ Features

  • Recursive Search Depth (Degree): Choose how deep the crawler should follow links. A degree of 1 finds immediate neighbors; a degree of 2 finds neighbors of those neighbors.
  • Smart Tagging System: Automatically tag all discovered notes. You can let the add-on generate a tag based on the card names and depth, or input a custom tag name. The final tag is also copied to your clipboard.
  • Instant Filtered Decks: Optionally compile all found and tagged cards into a brand new Custom Study/Filtered Deck with one click, perfect for reviewing related concepts together.
  • Browser Integration: View the entire network of discovered cards instantly in the Anki Card Browser.
  • Detailed Logs: Get an execution report at the end showing exactly which cards were found, which were skipped, and where links might be broken.

πŸš€ Usage Guide

  1. Open the Anki Browser.
  2. Select one or more "Base Cards" you want to start the crawl from.
  3. In the top menu, click Edit -> Tag & Process Degree Relations, or use the keyboard shortcut Ctrl+Alt+R.
  4. A series of pop-up dialogs will guide you through the process:
    • Relation Degree: Enter the search depth (0 to 5).
    • Add Tags: Decide whether you want to apply a tag to the results.
    • Custom Tag: If tagging is enabled, you can define a specific tag name or use the auto-generated one.
    • Filtered Deck: Decide if you want an Anki Filtered Deck created automatically for these tags.
    • Browser Overview: Choose whether to display the results in the browser immediately.
    • Execution Log: Choose to see a detailed summary of the script's operations once finished.

⚠️ Requirements & Notes

  • The script targets notes specifically within a deck named grammar. Ensure your target cards are located there, or modify the deck:grammar search string in the script to match your setup.
  • It parses Anki NID links formatted exactly as [Name|nid12345].
  • Certain hardcoded exceptions for specific grammar points (like 1:に) are mapped out in the EXCEPTIONS dictionary at the top of the file to improve search accuracy.

README

Disclaimer

Due to filesize issues the deck (old version) with audiofiles can be found on https://drive.google.com/file/d/1P3xBSHHB26fl5I7XyeRaTjwXtzGfPcpA/view?usp=sharing

The light version without the audiofiles is here

You cannot rename the deck otherwise the crawler addon will not work (so rename it to "grammar" after you downloaded it)

JLPT Grammar Graph Database

This is a relational grammar database that provides an overview of different Japanese grammar patterns and their connections. These connections can be visualized via add-ons.

The note type is designed so that only the back is visible. It functions as a database and intermediary tool during the sentence mining process; it is not intended for traditional flashcard reviewing, but rather for looking up reference information.

πŸ”· Add-ons specifically for this grammar note

These optional add-ons enhance the functionality of the note type but are not strictly required:

  • Manual Linker Add-on: AnkiWeb ID 744725736 – Allows establishing connections manually by selecting a group of cards to mutually link them to each other. (Based on the Notelink Add-on installed during setup).
  • Relation Degree Graph & Crawler: AnkiWeb ID 1321136162 – The engine used for visualizing the grammar network and crawling connections.

Note Visuals and Functionality Demo

https://github.com/user-attachments/assets/0e4ca214-63b5-4fa3-8457-0beb05aa9284

Crawler Addon Demo

With the Crawler Addon you can create clusters and with the help of the NoteLinker addon (see setup) you can also visualize the connections in a anki native overview

The " γΏγŸγ„" cluster of degree 2 and 3:

Video Link for degree 2: https://github.com/user-attachments/assets/01ecc6cf-03b4-4220-b0d1-26857b3ef7c2

Video Link for degree 3: https://github.com/user-attachments/assets/2b9c75aa-e750-413a-bc37-0b184a35c306


Big Graph Demo

Big Graph Demo Video click link:

https://github.com/user-attachments/assets/635b9d71-c994-43cc-bddb-f8bd3170f4fc


Field Descriptions

The note structure consists of the following fields:

Field Name Description
Level And Grammar Point Contains the JLPT level prefix, followed by a representative Japanese string identifying the grammar, and a condensed meaning description.
Link A URL linking to the original JLPT Sensei website entry. This field is empty for manually created cards.
Connected Grammar Points from jlptsensei Contains links to syntactically or semantically similar grammar points. These were copied from JLPT Sensei during the initial setup via the Notelinker add-on. Links can also be added manually using the Manual Linker add-on.
Notes Personal notes and custom reminders related to the grammar structure.
construction The grammar connection rules, copied from JLPT Sensei. This field serves as the structural baseline for generating the corresponding regex patterns. For manual cards, this content can be generated with AI, keeping the underlying HTML structure intact to preserve the layout.
examplesentences Sample sentences copied from JLPT Sensei. For manual cards, this can contain personal examples or sentences encountered during reading.
title audio TTS audio file reading out the text in the Level And Grammar Point field.
construction audio TTS audio file reading out the text in the construction field.
examplesentence audio TTS audio file reading out the text in the examplesentences field.
regexpattern Regular expression designed to match the specific grammar pattern. It is read by the grammarhub browser extension to detect and match grammar structures on web pages.
mined sentence Contains the context sentences collected via grammarhub. It is populated automatically with bidirectional links by the grammarminer add-on.

Usecases

1. The Relation Crawler & Filtered Decks

This workflow utilizes the Relation Degree Graph & Crawler add-on to build specific study sets.

  1. Select Cards: Highlight base cards in the Anki Browser.
  2. Start the Crawler: Go to Edit -> Tag _Process Degree Relations.
  3. Configure Cluster: Choose your search depth (Degree).
  4. Create Study Session: Use the add-on's built-in feature to automatically generate a Filtered Deck for the identified grammar cluster.
  5. Interactive Learning: Use the direct links on the back of each card to jump to related points.

2. Browser Mining with GrammarHub & GrammarMiner

This workflow automates the extraction of contextual sentences from web pages and links them directly to your base database.

  1. Pattern Matching: The grammarhub browser add-on reads the regexpattern field from your database to detect, match, and display grammar points directly in the browser while reading.
  2. Sentence Collection: When you mine a sentence, grammarhub stores the contextual data and generates two TSV files.
  3. Database Update: The grammarminer Anki add-on processes these TSV files. It automatically creates new, individual simplemining grammar cards for your active review and updates the underlying base cards with the mined sentences, establishing bidirectional links between the base card and the mining card.

Merging Audio from the Legacy Deck Version

To import the audio files from the old deck version into the updated format, use the following local media directory method:

  1. Download the legacy deck version containing the audio files from the provided Google Drive link.
  2. Import the legacy deck into Anki. This automatically extracts and stores all audio files into your local collection.media folder.
  3. Delete the legacy deck from Anki. The audio files will remain in your local media folder.
  4. The updated cards will automatically recognize and play the audio files because the file naming convention has not changed.