alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.36k stars 1.04k forks source link

Add or modify dataset or dictionary #1515

Open Minecraft-111 opened 4 months ago

Minecraft-111 commented 4 months ago

Hello, thanks to the contributor's code, I can successfully train the Vosk recipe, but how can I add or modify the dataset or dictionary and continuing training? Do I need to execute prepare_dict.sh and train_mono.sh? But this will start over again and gives up the previous training, how can I avoid that?

nshmyrev commented 4 months ago

You can run only last stages (tri3 and chain) and skip mono0 and tri1/tri2 parts.

Minecraft-111 commented 4 months ago

Thanks for your help, I will try it later. How about modifying the dictionary? Do I need to run the prepare_dict.sh?

nshmyrev commented 4 months ago

Yes, sure