

BepInEx plugin for YAPYAP that adds custom Vosk speech recognition languages and command grammars.
BepInEx/plugins/.Or use your preferred mod manager
Two things are enough:
Models/vosk-model-small-nl-0.22/).Localisation/dutch.txt).Then add an entry for that language in languages.json (see below).
if you need a boilerplate project you can look at this github page for an example of how to implement you own language Copy that setup and adapt filenames and content for your language.
One line per command:
KEY :: word1-word2-word3
Example (Dutch):
SPELL_ARC_BLINK :: FLITS
SPELL_ARC_SWAP :: WISSEL
Example entry:
{
"languages": [
{
"id": "dutch",
"displayName": "Nederlands (Community)",
"systemLanguage": "Dutch",
"modelFolder": "Models/vosk-model-small-nl-0.22",
"localisationFile": "Localisation/dutch.txt",
"fallback": "english"
}
]
}
SystemLanguage valueplugins/.txt under plugins/MIT — see LICENSE.