Offline Arabic voice-to-English translator using Vosk and Argos Translate
Project description
Arabic Translator Tester Arabic Translator Tester is a Python-based project designed for offline Arabic speech-to-English translation. The project combines Vosk for Arabic speech recognition and Argos Translate for language translation, allowing users to convert spoken Arabic audio into English text without requiring an internet connection.
This repository is structured to work both as:
✅ A standalone GitHub project ✅ A publishable Python package on PyPI 🚀 Key Features 🔊 Offline Arabic Speech Recognition using Vosk 🌍 Arabic → English Translation using Argos Translate 📴 Works completely offline (no API keys required) 🧩 Can be used as a Python library or via CLI 🐍 Compatible with Python 3.9+ (tested with Python 3.12) ⚙ Dependencies This project relies on the following core technologies:
Vosk – Offline speech recognition engine Argos Translate – Offline neural machine translation Python Standard Libraries All dependencies are automatically installed via pip.
🧠 How It Works Audio Input: Arabic speech is provided as an audio file or microphone input Speech Recognition: Vosk converts Arabic speech into Arabic text Translation: Argos Translate converts Arabic text into English Output: Translated English text is returned to the user The entire pipeline runs locally, ensuring privacy, speed, and offline usability.
🧪 Usage Examples Python Library Usage from arabic_translator_tester import translate_audio
result = translate_audio("sample_arabic.wav") print(result) CLI Usage arabic-translator-tester sample_arabic.wav 🔨 Building the Package (For PyPI) To build the package locally:
pip install build twine python -m build This will generate a dist/ folder containing .whl and .tar.gz files.
🚀 Publishing to PyPI twine upload dist/* Make sure to:
Increment the version in pyproject.toml Use a unique package name on PyPI Use a PyPI API token for authentication 🔁 Updating the Package Update code Increase version number Rebuild and upload python -m build twine upload dist/* 📜 License This project is licensed under the MIT License. You are free to use, modify, and distribute this software.
🤝 Contributing Contributions are welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arabic_translator_tester-0.1.8.tar.gz.
File metadata
- Download URL: arabic_translator_tester-0.1.8.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b84f277aa84dd0aa792e219f3cc7fdb5f338c5f7853ae3ae1b2a19cc54abd18c
|
|
| MD5 |
a51053718fae0a246fa58fbe1ca939db
|
|
| BLAKE2b-256 |
a4d0b263c911f4210e0c71a216020bbf3ae94d0bc647e54a738cb785135d14a1
|
File details
Details for the file arabic_translator_tester-0.1.8-py3-none-any.whl.
File metadata
- Download URL: arabic_translator_tester-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98fc4f40fdf5b82b4cdceeb1b35dff2c48eb33f14ae84645c23a549a4e8af03b
|
|
| MD5 |
810b3822947a90ffe8fb4db631194e7b
|
|
| BLAKE2b-256 |
7e18861df720bd31556068f91af23f603d551004a669dcc56e1bda4988f39170
|