grammarminerlinker

AnkiWeb addon 984445827

Imports bulk-mined sentence cards into Anki, suspends pronunciation card layouts, injects sentences into grammar notes, and creates bi-directional links between grammar points and vocabulary cards.
AI-generated summary; may contain mistakes.

card-creationimportreview-flownote-management

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-08-17
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, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-08-17 (76 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-08-17
History across monthly snapshots

Loading…

Similar addons

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
Cambridge Dictionary

Creates Anki notes by web-scraping Cambridge Dictionary, pulling word definitions, grammar, IPA, audio, meanings and examples, plus fetching words from saved lists with automatic deletion.

card-creationimportdictionary

32 votes 48% approval 👍 21 · 👎 11 ⭐ 41 Updated 2024-02-12

Description

Anki Grammar-Miner & Linker Add-on

An automated solution for importing bulk-mined individual sentence cards into Anki, suspending redundant card layouts, and building robust, bi-directional link relationships between your grammar study notes and individual vocabulary/sentence mining cards.

🛠️ Requirements & Setup

Before running the import workflow, ensure your Anki database has the exact structure matching the hardcoded values used in the add-on:

  1. Target Deck: You must have a deck named exactly mining.
  2. Note Type for Individual Cards: You must have a note type named exactly miningsimple. It should contain the fields you want to import, including at least a Word field and a Frequency field.
  3. Grammar Note Fields: Your existing grammar notes must belong to a note type that contains the following fields:
    • mined sentences
    • Level And Grammar Point

✨ Features & Workflow Steps

When triggered, the add-on coordinates a 4-step pipeline:

1. Dynamic Individual Card Creation

The add-on reads your selected Individual Cards TSV file. It automatically maps the column headers directly to your Anki field names. It generates new notes inside the mining deck, automatically applies the tag grammar to them, and tracks their newly created Anki Note IDs (nid).

2. Automatic Pronunciation Suspension

To prevent card clutter, the script checks each newly created card template. If a template name contains the word "pronounciation" (case-insensitive), that card layout is immediately suspended (set to queue -1), meaning you will not be prompted to review it until manually unsuspended.

3. Sentence Injecting & Cross-Linking

The script parses the Grammar Updates TSV file. It matches the sentences to your existing grammar cards via their static Anki note ID. If a sentence references a placeholder bracket containing an external ID code (e.g. [ID-CODE]), it replaces it with a dynamic reference pointing directly to the newly created card layout: [Sentence Text|nid1234567890]. New sentences are always prepended (injected at the very top) of your existing mined sentences field.

4. Bi-directional Backlinking

While updating the grammar note, the add-on goes back to the newly created card layout and appends a link pointing back to the grammar point inside its Frequency field using HTML breaks (<br>). This establishes a completely circular cross-reference system.

🚀 How to Use

  1. Prepare your two source files as Tab-Separated Values (.tsv):
    • Individual Cards File: Must contain a column header named "Note ID", along with fields like "Word".
    • Grammar Updates File: A two-column file where column 1 is the existing Anki Note ID (nid) of your grammar note, and column 2 contains the lines of sentences separated by <br>.
  2. Open Anki.
  3. In the main top menu bar, click on Grammar-Miner -> Grammar Mining Hub Import.
  4. A file dialogue will prompt you to select your Individual Cards file (anki_individual_cards.tsv).
  5. A second file dialogue will prompt you to select your Grammar Updates file (anki_grammar_updates.tsv).
  6. The progress bar will display, and once completed, a success dialog box will appear. Your database is now successfully synchronized, linked, and clean!