Anki add-on: Grammar Trainer

Grammar Trainer transforms grammar practice into interactive fill-in-the-blank exercises. Create cards manually or with optional AI assistance. AI can generate realistic example sentences, create smart distractors, and help you build high-quality grammar cards directly inside Anki using interactive dropdown cloze cards. Perfect for learning Danish, Swedish, Norwegian, English, Spanish, German, French, Italian , or virtually any language. Whether you're studying verb conjugations, tenses, prepositions, articles, cases, or sentence structure, Grammar Trainer helps you learn through active recall instead of passive reading. I originally built this add-on for my own Danish studies because I wanted a faster way to create high-quality grammar cards. After using it daily, I decided to share it with the community. If you use another language and notice something that could be improved, please let me know—or feel free to fork the project and adapt it to your needs. Quick Preview Create grammar cards manually or with optional AI assistance Generate cards using Gemini or Mistral AI Fully customizable settings and grammar options Interactive grammar practice with dropdown answers Features Create grammar cards manually or with optional AI assistance Supports Google Gemini and Mistral AI Interactive dropdown grammar exercises Automatic cloze generation Multi-cloze (double blank) support Smart AI distractor generation Keyboard shortcuts for faster reviews Automatic and manual Text-to-Speech (TTS) Language, difficulty, and grammar badges Light and Dark mode support Customizable card appearance Great for practicing Verb conjugations Grammar rules Tenses Prepositions Articles Cases Pronouns Sentence structure Vocabulary in context Language exams and school courses How to use Create cards manually or use the optional AI Generator. Choose your language, grammar topic, and difficulty. Review using interactive dropdowns. Use keyboard shortcuts or your mouse. Flip the card to reveal explanations and translations. Optional AI Providers Mistral AI – Free API available for many users. Google Gemini – Fast models with a generous free tier. AI is completely optional. You can create and study grammar cards without an AI provider, or connect Gemini or Mistral to generate cards faster. If you have suggestions, notice grammar that doesn't behave correctly in your language, or have ideas for new features, I'd love to hear from you. Although I originally built Grammar Trainer for learning Danish, I designed it to support many languages. If you use it for another language and notice something that could be improved, feel free to open an issue or fork the project. I'd be happy to make the add-on even better for everyone. Report an issue or suggest a feature on GitHub Practice grammar, build confidence, and keep learning! — Adel Related Add-on A companion add-on for: Multiple Choice Dropdown . A companion add-on for: Cloze Dropdown . A companion add-on for: Mouse Buttons as Review Shortcuts .

GitHub repository: doummar/grammar_trainer
Languages: Python