please include function onSpeechRecognized.
// f : voidfunc(S) - gets only the utterance
static TailFile onSpeechRecognized_withoutMyUtterancesAndTyped(fO f) {
ret watchQuotedLog_future(speechRecognitionLog(), onSpeechRecognized_interval, voidfunc(S s) {
if (cic(squareBracketStuff(s), 'typed)) ret;
S heard = afterSquareBracketStuff(s);
long timestamp = parseFirstLong(s);
if (!isItMyUtterance(timestamp, heard).a)
pcallF(f, heard);
});
}Began life as a copy of #1016794
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019365 |
| Snippet name: | onSpeechRecognized_withoutMyUtterancesAndTyped |
| Eternal ID of this version: | #1019365/7 |
| Text MD5: | 68ec85b4dc6e48e01deea53c33db67c6 |
| Author: | stefan |
| Category: | javax / speech |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-04 16:15:18 |
| Source code size: | 477 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 872 / 849 |
| Version history: | 6 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |