egorsmkv / ukrainian-stt-bot

Telegram bot for Ukrainian Speech-to-Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Bot: Speech-to-Text for the Ukrainian language based on Silero

This is a repository with demonstration code that uses the Silero Model for Ukrainian in the task of Speech-to-Text recognition.

How to run

Install dependencies and enter the python environment:

pipenv install
pipenv shell

Run the bot:

export TOKEN="...."
python bot.py

Other

Convert a file to the PCM wav file

ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000 output.wav

About

Telegram bot for Ukrainian Speech-to-Text


Languages

Language:Python 100.0%