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

15
LINES

< > BotCompany Repo | #1026882 // cheetah_demo_recognize16KWAV

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (3607L/25K).

sS cheetah_demo_recognize16KWAV(File wav) {
  File dir = assertNotNull("Cheetah dir not set", cheetah_dir());
  File exe = newFile(dir, "cheetah_demo");
  assertFileExists(exe);
  ret backtick(f2s(exe) + " "
    + f2s(newFile(dir, "lib/linux/x86_64/libpv_cheetah.so")) + " "
    + f2s(newFile(dir, "lib/common/acoustic_model.pv")) + " "
    + f2s(newFile(dir, "lib/common/language_model.pv")) + " "
    + f2s(newFile(dir, "resources/license/cheetah_eval_linux_public.lic")) + " "
    + f2s(wav));
}

sS cheetah_demo_recognize16KWAV(S wav) {
  ret cheetah_demo_recognize16KWAV(newFile(wav));
}

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: #1026882
Snippet name: cheetah_demo_recognize16KWAV
Eternal ID of this version: #1026882/6
Text MD5: 8cdf2aab062541b1870ac7baa2e18c8a
Transpilation MD5: 9a1998214f2ecab3e5b2fc79a1355a3c
Author: stefan
Category: javax / speech recognition
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-31 18:49:19
Source code size: 606 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 297 / 794
Version history: 5 change(s)
Referenced in: [show references]