1 | // f : voidfunc(S) - gets only the utterance |
2 | static TailFile onUserUtterance(fO f) { |
3 | ret onSpeechRecognized(f); |
4 | } |
5 | |
6 | static void onUserUtterance(fS text, fO r) { |
7 | onUserUtterance_addHandler(voidfunc(S s) { |
8 | if (match(text, s)) |
9 | callF(r); |
10 | }); |
11 | } |
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: | 561 / 486 |
Version history: | 2 change(s) |
Referenced in: | [show references] |