-
Notifications
You must be signed in to change notification settings - Fork 0
[CARD]
Each Anki card generated by Tango has ten fields.
| Field | Content |
|---|---|
| Word | The lemmatized base form of the word, capitalised |
| Class | Part of speech: noun, verb, adjective, or adverb |
| Definition | First clean sentence of the definition |
| 1st Example Sentence | First example from the dictionary in the original language |
| 2nd Example Sentence | Second example from the dictionary if available |
| Example from Youtube Video | The transcript sentence containing the word |
| Synonyms | Up to 5 synonyms in the original language |
| Antonyms | Up to 5 antonyms in the original language |
| VideoID | The YouTube video ID (hidden, used for tracking) |
| Source | Which API provided the definition |
Tango generates recognition cards only. The front shows the word. The back shows everything else.
This is intentional. Production cards (seeing a definition and recalling the word) would make sense but would multiply the card count per word and bloat decks unnecessarily. Production practice can be added manually for words the user wants to study more deeply.
When no definition is found in any API source, Tango creates a minimal card with just the word on the front and the transcript sentence as the only example. The Definition field shows "No definition found". These cards still appear in your deck so you do not lose rare or informal vocabulary.
The genanki model ID is 1607392321. This number is baked into the .apkg file and tells Anki which card template to use. Do not change it manually. Changing it would cause Anki to treat all existing Tango cards as belonging to a different template, breaking their review history.
The card template uses Anki CSS variables like var(--fg) and var(--canvas) rather than hardcoded colours. This means cards automatically adapt to whatever theme the user has set in Anki, including dark mode.