Sonorus AI (sonorus-ai)
Sonorus AI is an enhanced speech recognition library built on top of OpenAI's Whisper, optimized for Indian multilingual contexts:
- 🇮🇳 Native Hinglish Transcription: Transcribes Hindi speech directly into clean, phonetic Roman English script (
--language Hinglish). - ✍️ Phonetic Corrections: Built-in dictionary post-processing to fix common transliteration slips (e.g.,
bina bikhar,mohabbat,guroor). - 📁 Organized Outputs: Automatically saves transcriptions into sorted folders (
outputs/Hinglish/,outputs/Hindi/,outputs/English/) in.txtformat without cluttering your project root.
⚡ Quick Start
1. Installation
Install via PyPI:
pip install sonorus-ai
Or install the latest version directly from GitHub:
pip install git+https://github.com/Krishnanshu3708/sonorus-ai.git
Prerequisite: Make sure
ffmpegis installed on your system:
- Windows (Chocolatey):
choco install ffmpeg- Windows (Scoop):
scoop install ffmpeg- Mac (Homebrew):
brew install ffmpeg- Ubuntu/Debian:
sudo apt update && sudo apt install ffmpeg
🚀 Usage
Option A: In Python
import sonorus
# 1. Load the model (turbo, tiny, base, small, medium, large)
model = sonorus.load_model("turbo")
# 2. Transcribe Hindi speech directly into Hinglish (Roman English script)
result = model.transcribe("hindi_meeting.mp3", language="Hinglish")
print(result["text"])
# Standard English / Multilingual transcription
result_en = model.transcribe("english_podcast.mp3")
print(result_en["text"])
Option B: Command Line (CLI)
Transcribe directly from your terminal using sonorus:
# Transcribe Hinglish with automated phonetic correction & clean folder organization
sonorus "audio.mp4" --model turbo --language Hinglish
# Transcribe standard English/Multilingual
sonorus "lecture.mp3" --model turbo
# Transcribe multiple files at once
sonorus audio1.flac audio2.mp3 --model turbo
To see all available CLI options:
sonorus --help
📊 Available Models
| Size | Parameters | Multilingual Model | Required VRAM | Relative Speed | Recommended For |
|---|---|---|---|---|---|
| tiny | 39 M | tiny |
~1 GB | ~10x | Fast testing / CPU |
| base | 74 M | base |
~1 GB | ~7x | Low-spec devices |
| small | 244 M | small |
~2 GB | ~4x | Balanced accuracy & speed |
| medium | 769 M | medium |
~5 GB | ~2x | High accuracy & translation |
| large | 1550 M | large |
~10 GB | 1x | Best quality |
| turbo | 809 M | turbo |
~6 GB | ~8x | Recommended for Hinglish & English |
🛠️ Local Development
If you want to contribute or build from source:
git clone https://github.com/Krishnanshu3708/sonorus-ai.git
cd sonorus-ai
pip install -e .
Run tests:
pytest
📜 License
This project is licensed under the MIT License.
Metadata
Release files for sonorus-ai 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sonorus_ai-0.1.1.tar.gz | 805.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sonorus_ai-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / sonorus_ai-0.1.1.tar.gz
| Download URL | sonorus_ai-0.1.1.tar.gz |
|---|---|
| Size | 805.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c4b22cfb313cbe2a155156a900ce1dcc34575f4f2d02d18810c856a1d92f4ec
|
|
BLAKE2b-256 checksum How to use checksums |
12b54b38875e5f908a6bdf7123a66cdcb9dade232f7f7cd97df11d4a7836f76c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / sonorus_ai-0.1.1-py3-none-any.whl
| Download URL | sonorus_ai-0.1.1-py3-none-any.whl |
|---|---|
| Size | 803.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3dccd477f99b01bd573eb8c8140347064d3c0bca352efea8a0998ea0d8ecf4c
|
|
BLAKE2b-256 checksum How to use checksums |
74f5e504e194d1bdf87942293147baf5e2c5c41471a5b88f7ba02329503fdc85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for sonorus-ai 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.