Improving Speech Recognition Accuracy Using Custom Language Models with the Vosk Toolkit

Although speech recognition algorithms have developed quickly in recent years, achieving high transcription accuracy across diverse audio formats and acoustic environments remains a major challenge. This work explores how incorporating custom language models with the open-source Vosk Toolkit can improve speech-to-text accuracy in varied settings. Unlike many conventional systems limited to specific audio types, this approach supports multiple audio formats such as WAV, MP3, FLAC, and OGG by using Python modules for preprocessing and format conversion.A Python-based transcription pipeline was developed to process input audio, perform speech recognition using Vosk's KaldiRecognizer, and export the output to a DOCX file. Results showed that custom models reduced word error rates, especially in domain-specific scenarios involving technical terminology, varied accents, or background noise. This work presents a cost-effective, offline solution for high-accuracy transcription and opens up future opportunities for automation and real-time applications.
View on arXiv@article{soni2025_2503.21025, title={ Improving Speech Recognition Accuracy Using Custom Language Models with the Vosk Toolkit }, author={ Aniket Abhishek Soni }, journal={arXiv preprint arXiv:2503.21025}, year={ 2025 } }