You do not always need a full speech-to-text service to add voice control to a project.
If your app, robot, web tool, or small device only needs commands such as:
turn on the light turn off the light next previous stop
Enter fullscreen mode
Exit fullscreen mode
then a small keyword-spotting model can be a practical starting point. It listens for a known vocabulary, returns a command label, and lets your application decide what to do next.
This article shows the complete shape of that workflow: define a command list, generate one multi-keyword model, run it locally, and map the result to safe application actions.
KWS or ASR?
Keyword spotting (KWS) and automatic speech recognition (ASR) solve different problems.
What your project needs A sensible first choice
Detect one wake phrase Single-keyword KWS
Recognize 2–10 known commands Multi-keyword KWS
Transcribe arbitrary speech ASR
Understand open-ended intent ASR plus intent parsing
Verify who is speaking Speaker verification
KWS does not try to…