Download Jar. Uses 206K of libraries. Click here for Pure Java version (4224L/31K).
!7 sS hotWords = "computer|computer|the computer|the computers"; p { Class recognizer = hotwire(#1009816); //set(recognizer, startRecognition := true); set(recognizer, onUtterance := voidfunc(S utterance) { final new Matches m; if (matchStartMulti(hotWords, utterance, m)) thread { S rest = $1; infoBox(botAnswerWord() + " " + rest); blipAndWait(); } }); callMain(recognizer); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009884 |
Snippet name: | Hot Word Detection using Continuous Recognition [kinda works] |
Eternal ID of this version: | #1009884/7 |
Text MD5: | 79ec90a6e4c6f8306b56654090a3a1f0 |
Transpilation MD5: | 50725e0fec3622a9975b1e27f512d04e |
Author: | stefan |
Category: | javax / speech |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-23 19:44:36 |
Source code size: | 436 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 629 / 1468 |
Version history: | 6 change(s) |
Referenced in: | #1010315 - Speech Training [just listens] |