Libraryless. Click here for Pure Java version (2844L/20K/67K).
1 | !7 |
2 | |
3 | p { |
4 | S keyphrase = "computer", threshold = "1e-50"; |
5 | S cmd = "pocketsphinx_continuous -inmic yes -keyphrase " + bashQuote(keyphrase) + " -kws_threshold " + threshold; |
6 | backtickToConsole_lineBuf(cmd, voidfunc(S line) { |
7 | print("Line read: " + quote(line)); |
8 | }); |
9 | } |
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: | 461 / 556 |
Referenced in: | [show references] |