Uses 408K of libraries. Click here for Pure Java version (16126L/113K).
!7 sclass ProduceStandardAnswers > DynPrintLog { void start { onSpeechRecognized_notMine(voidfunc(S s) { //if (!ai_shouldAnswerAtLeastSometimes()) ret; L<S> answers = startingWithICTrim_drop("[standard answer]", generalDefinition_texts_nlMatch(s)); S out = dropGlobalID(random(answers)); //dm_say(out); dm_proposeVoiceOutput(out); }); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016956 |
Snippet name: | Produce Standard Answers |
Eternal ID of this version: | #1016956/10 |
Text MD5: | 9af6b892035cf3c74ec632abe933f858 |
Transpilation MD5: | efadde2ec2cd04bc65793f7efe35d17a |
Author: | stefan |
Category: | javax / speech |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-11 13:44:50 |
Source code size: | 402 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 511 / 6938 |
Version history: | 9 change(s) |
Referenced in: | -