Scientific Programming
160 subscribers
158 photos
30 videos
138 files
446 links
Tutorials and applications from scientific programming

https://github.com/Ziaeemehr
Download Telegram
ساخت خودکار فلش‌کارت‌های هوشمند با کمک مدل زبانی و پایتون

مدتی پیش در مورد ساخت فلش‌کارت با چت جی پی تی نوشتم.
اینجا
حالا یه قدم جلوتر رفتم و یه پکیج پایتون ساختم که کل فرایند- استخراج متن تا اصلاح و اضافه کردن صدا-رو خودش انجام می‌ده.
🔊 تفاوت مهم نسخه جدید اینه که صداها با مکث‌های طبیعی بین جمله‌ها تولید می‌شن و نتیجه خیلی روان‌تر و گوش‌نوازتر شده.
🧠 بخش اصلی تولید کارت‌ها همچنان توسط مدل زبانی (GPT) انجام میشه، و داخل پکیج یه ابزار پیشنهادی برای استفاده مستقیم از GPT هم در نظر گرفته شده تا راحت‌تر بشه کارت‌ها رو ساخت و ویرایش کرد.
📦 سورس‌کد و مستندات روی گیت‌هاب در دسترس هست:
👉 https://github.com/Ziaeemehr/ankideck/
چند ویژگی اصلی پکیج:
استخراج متن از فایل‌های PDF (حتی نسخه‌های اسکن‌شده)
تولید خودکار فلش‌کارت دو ستونه (مثلاً فرانسوی فارسی)
افزودن تلفظ با کیفیت بالا (TTS)
زمان‌بندی مکث‌ها و بهبود طبیعی بودن صداها
اگر به یادگیری زبان یا ساخت ابزارهای آموزشی با هوش مصنوعی علاقه دارید، فکر می‌کنم این پروژه می‌تونه براتون جالب باشه.
خوشحال می‌شم نظرتون رو بدونم 🙌
#AI hashtag#ChatGPT #Python #EdTech hashtag#Anki #LanguageLearning #OpenSource


Building Smart Flashcards Automatically with ChatGPT and Python
A while ago, I shared a post about creating flashcards with ChatGPT.
Now I’ve taken it a step further - I built a Python package that automates the whole process: extracting text, cleaning and structuring cards, and adding high-quality audio.
🔊 The new version generates voices with natural pauses between sentences, so the listening experience feels much smoother and more realistic.
🧠 The main part of card generation still relies on a GPT-based language model, and the package includes a suggested GPT tool that makes it super easy to create and refine your cards.
📦 You can find the source code and docs here:
👉 https://github.com/Ziaeemehr/ankideck
Main features:
Extract text from PDFs (even scanned ones)
Automatically generate bilingual flashcards (e.g., French Persian)
Add TTS audio with natural timing
Fully automated and customizable workflow
If you're into language learning or AI-powered study tools, this project might be worth checking out.
Would love to hear your thoughts! 🙌