Speech recognition kit Vosk has supported quick reconfiguration of the vocabulary at runtime, so the pronunciation or audio quality doesn't need to be perfect as the program will try to match the word with the most similar sound in the given list. This makes Vosk suitable for building anything that accepts voice commands.
Rust binding https://github.com/wzhd/vosk-rs just updated this feature to support a phrase list instead of a word list . (Based on upstream commit: https://github.com/alphacep/vosk-api/commit/564fab7ec1ea097916a4251530ad151fef940c1f)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!