Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 889 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 889 Bytes

nerd-dictation-uinput

Simple speech to text using Vosk and Uinput with russian language support.

Usage

  1. Download language model from Vosk website. Unpack it and rename model folder into just "model".

  2. 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
  1. Then install python requirements
pip install -r requirements.txt
  1. And run program
./nerd-dictation.py

Difference comparing to original nerd-dictation

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).