Simple speech to text using Vosk and Uinput with russian language support.
-
Download language model from Vosk website. Unpack it and rename model folder into just "model".
-
Activate uinput module. It can be done in multiple ways (modprobe, useadd, etc.) but you can activate it without root using "keyboard-events.c" program. It's self-comiling code, just run it and it will compile and run by itself.
./keyboard-events.c
- Then install python requirements
pip install -r requirements.txt
- And run program
./nerd-dictation.py
Original nerd-dictation program is great for english language, but extremely laggy for russian. At least for the time of creating this program (year 2023).