A lightweight offline translator + dictionary using Argos Translate, Stanza, and NLTK. Runs locally with no internet required after first setup.
- 🌐 Fully offline after first run
- 🔄 English ↔ Vietnamese translation
- 📖 Built-in dictionary (WordNet + translation)
- 🧠 Sentence-aware translation (Stanza)
- 📦 Portable (no global install needed)
sudo apt update
sudo apt install python3 python3-pip -ybrew install pythonwinget install Python.Python.3git clone https://github.com/ThanhMiLa/argostranslate.git
cd argostranslatepython "Translate Offline GUI Argos.py"-
Cần internet
-
App sẽ tự:
- tải thư viện (argos, nltk, stanza)
- tải model dịch
- tải dictionary
👉 Sau khi hoàn tất, file .offline_ready sẽ được tạo
=> từ đó về sau chạy 100% offline
project/
├── lib/ # Python packages (local)
├── argos_packages/ # model dịch
├── stanza_resources/ # model NLP
├── nltk_data/ # dictionary data
├── .offline_ready # đánh dấu đã setup
- Không dùng global Python packages
- Tự cài vào
lib/thông qua:
pip install --target ./lib- Override path để chạy portable
- Lần đầu bắt buộc phải có mạng
- Nếu lỗi model:
rm .offline_readyrồi chạy lại
Có thể build thành .exe bằng PyInstaller nếu muốn share cho người không biết Python.
Made by Kaivian