// f : voidfunc(S) - gets only the utterance static TailFile onUserUtterance(fO f) { ret onSpeechRecognized(f); } static void onUserUtterance(fS text, fO r) { onUserUtterance_addHandler(voidfunc(S s) { if (match(text, s)) callF(r); }); }
Began life as a copy of #1014810
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: | #1015151 | 
| Snippet name: | onUserUtterance - extended synonym of onSpeechRecognized | 
| Eternal ID of this version: | #1015151/3 | 
| Text MD5: | afa9102d145b011053fc4c968ba4f508 | 
| Author: | stefan | 
| Category: | javax / speech | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-05-20 14:47:17 | 
| Source code size: | 264 bytes / 11 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 835 / 768 | 
| Version history: | 2 change(s) | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015156 - onUserUtterance_plusLastN #1015647 - onUserUtterance_addHandler #1025594 - dm_onUserUtterance - executes in module queue  |