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

9
LINES

< > BotCompany Repo | #1029138 // onPassiveSpeechRecognized - for "passive mode"

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3950L/26K).

static int onPassiveSpeechRecognized_interval = 100;

// f gets only the utterance
static TailFile onPassiveSpeechRecognized(IVF1<S> f) {
  if (f == null) null;
  ret watchQuotedLog_future(passiveSpeechRecognitionLog(), onPassiveSpeechRecognized_interval, voidfunc(S s) {
    f.get(afterSquareBracketStuff(s));
  });
}

Author comment

Began life as a copy of #1014810

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029138
Snippet name: onPassiveSpeechRecognized - for "passive mode"
Eternal ID of this version: #1029138/2
Text MD5: 5b0a4f08bf2350fe1f45e89e47715685
Transpilation MD5: 93aaddb4b24d1af42d5e55395b47cc08
Author: stefan
Category: javax / speech
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-21 21:33:50
Source code size: 326 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 198
Version history: 1 change(s)
Referenced in: [show references]