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

20
LINES

< > BotCompany Repo | #1026965 // Recognize Last Recording As English Speech With DeepSpeech

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (7920L/40K).

!7

cmodule DeepSpeechLastRecording > DynPrintLogAndEnabled {
  //switchable S envVars;
  switchable bool useKnownPlaces;
  
  start {
    dm_requireQuickAudioRecord();
    dm_onNewRecording_q/*OrWAVOnClipboard*/(voidfunc(File f) enter {
      if (!enabled) ret;
      //print("Analyzing " + f.getName());
      fS text = deepspeech(f, /*+envVars*/ +useKnownPlaces);
      flatInfoBox(text);
      swing {
        S info = "DeepSpeech english";
        dm_rawSpeechRecognized(module(), text, info, f);
      }
    });
  }
}

Author comment

Began life as a copy of #1019326

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026965
Snippet name: Recognize Last Recording As English Speech With DeepSpeech
Eternal ID of this version: #1026965/11
Text MD5: 8b43c241cc06874a3ef7991aebbf9ca6
Transpilation MD5: 85a9acf61c21d31453db9dc888192706
Author: stefan
Category: javax / audio recognition
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-13 13:21:08
Source code size: 542 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 5769
Version history: 10 change(s)
Referenced in: [show references]