Libraryless. Click here for Pure Java version (2041L/15K/48K).
1 | !759 |
2 | |
3 | !include #1001279 // Leopold |
4 | !include #1001293 // Emoticons |
5 | !include #1005191 // Logic (repeat input) |
6 | |
7 | p { |
8 | noSpeech = true; // Just recognition, don't talk |
9 | showPicture = false; // Let us see the text output |
10 | leoMain(); |
11 | } |
12 | |
13 | svoid recogTimeSettings(Intent intent) { |
14 | print("setting speech params"); |
15 | // 1 second minimum speech length |
16 | intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS, 1000); |
17 | |
18 | // Stop listening after pause of 1 second |
19 | intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS, 1000); |
20 | intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS, 1000); |
21 | |
22 | |
23 | } |
Began life as a copy of #1005193
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pnmttuucjkfb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005194 |
Snippet name: | Leo Improve German Recognition |
Eternal ID of this version: | #1005194/1 |
Text MD5: | 4e0d059371ea0a446041275189812cf0 |
Transpilation MD5: | f6a4f34c9ecad28b80fb345d38e2c459 |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-22 00:22:41 |
Source code size: | 695 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 519 / 616 |
Referenced in: | [show references] |