Libraryless. Click here for Pure Java version (2844L/20K/67K).
!7 p { S keyphrase = "computer", threshold = "1e-50"; S cmd = "pocketsphinx_continuous -inmic yes -keyphrase " + bashQuote(keyphrase) + " -kws_threshold " + threshold; backtickToConsole_lineBuf(cmd, voidfunc(S line) { print("Line read: " + quote(line)); }); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009577 |
Snippet name: | Hot Word Detection ["Computer!"] - requires PocketSphinx in path |
Eternal ID of this version: | #1009577/1 |
Text MD5: | 14b12c0a3b3a8d1ce7e414d8fc0d372b |
Transpilation MD5: | f0b0ff984641b83d0c7a7c9d157d2b81 |
Author: | stefan |
Category: | javax / speech |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-08 17:15:57 |
Source code size: | 280 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 460 / 554 |
Referenced in: | #1009578 - Linux: Hot Word Detection ["Computer!"] + "Eve" Icon - using PocketSphinx + Python wrapper |