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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteur principal: Soni, Aniket Abhishek
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912299383521280
author Soni, Aniket Abhishek
author_facet Soni, Aniket Abhishek
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_21025
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improving Speech Recognition Accuracy Using Custom Language Models with the Vosk Toolkit
Soni, Aniket Abhishek
Sound
Machine Learning
Audio and Speech Processing
I.2.7; H.5.2
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.
title Improving Speech Recognition Accuracy Using Custom Language Models with the Vosk Toolkit
topic Sound
Machine Learning
Audio and Speech Processing
I.2.7; H.5.2
url https://arxiv.org/abs/2503.21025