Belarusian digital voice will no longer grate on the ear with incorrect stresses. The neural network has finally been taught to distinguish "mUka" from "mukA"
The creation of a natural computer voice was long hampered by the specifics of Belarusian phonetics, where the meaning of identically written words changes depending on the stress. To teach the machine to understand the context of a sentence, developers applied an innovative approach. This allowed avoiding pronunciation errors that revealed the artificial origin of the audio.

As the creators of the open project BelVoice report in their Telegram channel,
the main obstacle to high-quality text-to-speech (TTS) conversion remained homographs. These are words that have the same spelling but different stress: for example, "mUka" (torment) and "mukA" (flour), "vUchyts" (to teach - imperfective) and "vuchYts" (to teach - perfective), "gAdy" (years) and "gadY" (reptiles).
Traditional algorithms used the most frequent variant from the dictionary without any consideration of context. Such an approach provided an accuracy of about 92%. At first glance, the number seems high, but for speech synthesis, this is a critical flaw: an eight-percent error rate means that
practically in every paragraph, the system made a phonetic error that immediately revealed the artificiality of the voice and grated on the user's ear.
To solve this semantic task, researchers integrated large language models (LLMs) into the process. The optimal solution was a digital analysis architecture with role distribution. First, a powerful neural network (e.g., Gemini Pro 3.1) processes data from the Grammatical Database and the Explanatory Dictionary of the Belarusian Language. Based on this array, an optimized prompt is created with clear rules and logical markers for a smaller inference model, which then directly works with the user's text.
All technical instructions for building this algorithm have been openly published by the developers on the GitHub platform.
The selection of the final model for the project was conducted on three specialized datasets: the CommonVoice base, a synthetic balanced 10/10 set, and the first fifteen chapters of Arkadz Charnyshevich's book "Zastsienak Malinauka" with entirely manual stress marking. Detailed research results are published on the Hugging Face platform.
The best ratio of speed and quality was demonstrated by the Gemma 4-31B model without enabling the reasoning function, which excessively slows down performance. On a sample of 1090 complex homographs in natural literary text, the system made only three errors, achieving an accuracy of 99.72%.
For comparison, the competing model Qwen3.8-27B made 25 errors on the same data volume, and Mistral-small-4 made 182 errors with an resulting accuracy of about 83 percent.
«Nasha Niva» — the bastion of Belarus
SUPPORT USNow reading
He had four teeth knocked out, and then was expelled from the country. Now the former political prisoner has been arrested in Latvia with six migrants in his car
He had four teeth knocked out, and then was expelled from the country. Now the former political prisoner has been arrested in Latvia with six migrants in his car
"I love the Belarusian language even more than Russian — it's closer to my heart." A Moroccan has lived in Salihorsk for 18 years and can't get enough
Comments