Download Jar. Libraryless. Click here for Pure Java version (3607L/25K).
1 | sS cheetah_demo_recognize16KWAV(File wav) { |
2 | File dir = assertNotNull("Cheetah dir not set", cheetah_dir()); |
3 | File exe = newFile(dir, "cheetah_demo"); |
4 | assertFileExists(exe); |
5 | ret backtick(f2s(exe) + " " |
6 | + f2s(newFile(dir, "lib/linux/x86_64/libpv_cheetah.so")) + " " |
7 | + f2s(newFile(dir, "lib/common/acoustic_model.pv")) + " " |
8 | + f2s(newFile(dir, "lib/common/language_model.pv")) + " " |
9 | + f2s(newFile(dir, "resources/license/cheetah_eval_linux_public.lic")) + " " |
10 | + f2s(wav)); |
11 | } |
12 | |
13 | sS cheetah_demo_recognize16KWAV(S wav) { |
14 | ret cheetah_demo_recognize16KWAV(newFile(wav)); |
15 | } |
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: | 298 / 795 |
Version history: | 5 change(s) |
Referenced in: | [show references] |