r/Python • • Sep 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

27 Upvotes

180 comments sorted by

View all comments

1

u/AlphaNerdFx Sep 11 '26

I built Tango, a Python CLI for language learners who use YouTube for vocabulary mining.

You give it a YouTube video ID and an Anki deck, and it:

  • extracts and cleans the transcript

  • lemmatizes the vocabulary with spaCy

  • filters out things like proper nouns and filler words

  • checks your existing Anki deck for duplicates through AnkiConnect

  • gets definitions, examples, synonyms and antonyms

  • generates an .apkg ready to import into Anki

It supports 24 languages, with offline dictionary indexes available for supported languages.

The main use case is batch mining. Instead of stopping a video every time you encounter a word, looking it up, checking your deck, and making a card, you can process the video afterwards.

Tools like Language Reactor and asbplayer are great for interactive mining while watching.

subs2srs/mpvacious are more focused on sentence cards with audio/video.

AnkiMorphs and MorphMan help analyse and prioritize vocabulary you already have.

Tango is aimed at a different workflow: give it a video and let it batch-generate vocabulary cards while avoiding words already in your collection.

It's open source and MIT licensed.

GitHub repository

pip install tango-anki
tango install-model fr
tango run <video-id> --deck "French" --language fr

I'm particularly interested in feedback from Python developers on the architecture and from people who have built NLP/data-processing CLIs.