Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1019365 // onSpeechRecognized_withoutMyUtterancesAndTyped

JavaX fragment (include)

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);
  });
}

Author comment

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: 240 / 267
Version history: 6 change(s)
Referenced in: [show references]