Grammar Trainer

AnkiWeb addon 700037818 Built with AI

Creates interactive fill-in-the-blank and dropdown grammar exercises manually or with optional AI, supporting multiple languages and active-recall practice during Anki reviews.
AI-generated summary; may contain mistakes.

card-creationaiclozequiz

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-11-09
Anki versions
25.07.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-11-09 (22 days before the snapshot).
  • Commits in the last year: 21.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

GitHub

Repository
doummar/grammar_trainer Β· more by doummar
Stars
⭐ 0 · forks 0 · open issues 0
Last commit
2026-11-09
License
A license file that GitHub does not recognize
Languages
Python
Tests
0

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.1025.072026-07-01
25.07.1+2026-11-09
History across monthly snapshots

Loading…

Similar addons

Sentence Builder

Provides interactive word tiles for building sentences or inserting missing words, with answer checking, distractors, audio/images, explanations, and customizable styling for language and grammar practice.

appearancecard-templatesquizmobile-compatible

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.07.1~ Updated 2026-11-29
AI_LEARNING_HUB

Turns Anki vocabulary decks into nine AI-generated language games with multilingual exam-level practice, hints, offline word matching, and customizable fast or detailed question generation.

aigamificationclozequiz

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 Anki 26.09~ Updated 2026-10-20
Quizify Tool

Renders Markdown in Anki cards as interactive question typesβ€”fill-in-the-blank, multiple choice, reveal, annotations, collapsible/tabbed blocks, recitation, audio, code and mathβ€”with editor tools and bulk Markdown import.

review-flowformattingcard-templatesclozequizmobile-compatible

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 173 Anki 2.1.1~ Updated 2025-02-16
Drag Drop

Creates interactive drag-and-drop flashcards where you label images or sort items into categories, with instant feedback, shuffling, theme and layout options, across Anki Desktop, AnkiDroid and AnkiMobile.

card-creationappearancecard-templatesquizmobile-compatible

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.07~ Updated 2026-10-02

Description

Grammar Trainer is an Anki grammar practice add-on for creating interactive fill-in-the-blank, dropdown cloze, and grammar exercises. Create cards manually or use optional AI assistance to generate example sentences, grammar cards, and smart distractors.

Practice verb conjugations, tenses, prepositions, articles, cases, pronouns, sentence structure, and vocabulary in context using active recall instead of simply reading grammar rules.

Grammar Trainer supports Danish, Swedish, Norwegian, English, Spanish, German, French, Italian, and other languages. The AI features are optional: you can create and study grammar cards without connecting an AI provider.

Quick Preview

Create interactive grammar cards manually or with optional AI

Generate grammar cards with Gemini or Mistral AI

Customize grammar topics, card appearance, and study options

Practice grammar with interactive dropdown answers

Features

  • Interactive grammar exercises
  • Fill-in-the-blank grammar practice
  • Dropdown cloze answers
  • Create cards manually
  • Optional AI card generation
  • Google Gemini support
  • Mistral AI support
  • AI-generated example sentences
  • Smart AI distractors
  • Automatic cloze generation
  • Multi-cloze support
  • Keyboard shortcuts
  • Automatic and manual Text-to-Speech (TTS)
  • Language, difficulty, and grammar badges
  • Customizable card appearance
  • Light Mode and Dark Mode

Grammar Practice

  • Verb conjugations
  • Grammar rules
  • Tenses
  • Prepositions
  • Articles
  • Cases
  • Pronouns
  • Sentence structure
  • Vocabulary in context
  • Language exams
  • School and university courses

Optional AI

Grammar Trainer can work completely without AI. You can create grammar cards manually and use all core interactive review features without connecting an AI provider.

If you want faster card creation, connect Google Gemini or Mistral AI to generate realistic example sentences, grammar exercises, and distractors.

  • Google Gemini β€” AI-powered card generation
  • Mistral AI β€” AI-powered card generation

How It Works

  1. Create a grammar card manually or use the optional AI Generator.
  2. Choose your language, grammar topic, and difficulty.
  3. Complete the interactive dropdown exercise during review.
  4. Use keyboard shortcuts or your mouse.
  5. Flip the card to see explanations and translations.

Languages

Grammar Trainer is designed to be multi-language, not limited to one language. It can be used for Danish, Swedish, Norwegian, English, Spanish, German, French, Italian, and other languages.

It can be adapted to different grammar systems, learning levels, and study needs.

Simple and Flexible

You can use Grammar Trainer as a simple grammar practice add-on or combine it with AI for faster card creation.

The goal is simple: create a grammar exercise, answer it actively, and understand why the answer is correct.

Support

If you find a bug, notice grammar that does not work correctly in your language, or have a feature suggestion, please report it on GitHub.

Report an issue or suggest a feature on GitHub


Related Add-ons

FocusFlow β€” study sessions, focus tools, and progress tracking.

Cloze Dropdown β€” interactive dropdown cloze cards.

Multiple Choice Dropdown β€” interactive multiple-choice dropdown cards.

Mouse Buttons as Review Shortcuts β€” use mouse buttons and scrolling as Anki review shortcuts.

README

Grammar Trainer Add-on

A professional, Qt6-compatible Anki add-on to automatically generate grammar cloze-dropdown exercises directly inside your cards using Gemini AI.

Installation Instructions

Method 1: Direct Folder Copy (Easiest & Fastest)

  1. Open Anki.
  2. Go to the top menu bar and select Tools -> Add-ons.
  3. In the Add-ons manager, click the View Files button. This opens Anki's local add-ons directory in your file manager.
  4. Create a new folder named ai_grammar_dropdown inside that directory.
  5. Unzip all the files in this downloadable pack directly inside that newly created ai_grammar_dropdown folder.
  6. Restart Anki.

Method 2: Package as .ankiaddon

  1. Select all files in this directory (manifest.json, __init__.py, settings.py, etc.) and add them to a standard ZIP archive.
  2. Rename the extension of the resulting zip file from .zip to .ankiaddon (e.g., ai_grammar_dropdown.ankiaddon).
  3. Inside Anki, select Tools -> Add-ons, then drag and drop the .ankiaddon file directly onto the add-ons list, or click Install from file and select the .ankiaddon file.
  4. Restart Anki.

How to Use

  1. Setup your API Key:

    • Inside Anki, go to Tools -> Grammar Trainer.
    • Paste your Gemini API key and select your preferred default language and difficulty tier. Click Save.

    πŸ’‘ How to Get a 100% Free API Key (For Students):

    1. Go to Google AI Studio (https://aistudio.google.com/) and sign in with any standard Google/Gmail account.
    2. Click Get API Key and click Create API Key.

    πŸ‡ͺπŸ‡Ί / πŸ‡¬πŸ‡§ If you are in Europe/EEA/UK: Google disables the completely free tier (Quota Limit: 0) in European regions due to local regulations. To get it 100% free, simply connect a VPN to the United States (or another non-EU country) before creating your API key and while using the generator inside Anki. This bypasses the region restriction and grants you standard free access! Alternatively, adding a Pay-As-You-Go billing profile is extremely cheap (generating 100 exercises costs less than a single penny!).

  2. Create a Card Manually (Default β€” No AI / No API Key Needed):

    • Open the generator by clicking the brain icon (🧠) in Anki's editor toolbar or pressing Ctrl+Shift+G. Manual Entry is the first tab.
    • Type your sentence, marking each blank with ___ (three or more underscores) β€” use it twice for a double-blank card.
    • Enter the correct answer and a comma-separated list of wrong options for each blank.
    • A table lists every option (the correct answer first). Optionally write why each option is right or wrong; leave cells empty for a simpler card.
    • Optional: click Generate Missing Explanations to let the AI fill only the empty cells (needs an API key). It never changes text you wrote, and you can edit the results before saving.
    • Click Create Card (or Insert into Card). No AI call is ever made when you save.
  3. Optional: Generate a Card with AI (the AI: Generate Card and AI: Suggest Options tabs):

    • Enter a target sentence you want to practice, or leave it blank to let the AI build one from scratch.
    • Choose the target language, difficulty tier (A1-C2), and the grammar topic (Verb Forms, Nouns, Adjectives, Prepositions, etc.).
    • Click Generate and Create Card.
    • The card is parsed and saved instantly to your current active deck!
  4. Practice:

    • Review your cards. The blank space is replaced by a dropdown menu populated with smart grammatical distractors.
    • Choose your answer and click Check Answer to get instant feedback and a detailed grammatical breakdown explaining the syntax rules!