Libraryless. Click here for Pure Java version (17155L/120K).
!7 module SpeechToCalendarEntry > DynPrintLogAndEnabled { start { dm_onTopInput_q(voidfunc(S s) { print("StC: " + s); if (!enabled) ret; S ymd = ai_ymdFromEnglishSentence(s); if (empty(ymd)) ret; print("Speech to calendar: " + ymd); S sentence = ai_dropTimeSpecifiers(s); dm_requireAndCallModule("#1020691/Calendar", 'addEntry, ymd, sentence); }); } }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020721 |
Snippet name: | Speech To Calendar Entry [dev.] |
Eternal ID of this version: | #1020721/3 |
Text MD5: | 699051c2a148277506d2fd673565c9d5 |
Transpilation MD5: | d76bafd413f69a9921cc14112bb29521 |
Author: | stefan |
Category: | javax / stefan's os / a.i. |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-31 23:48:16 |
Source code size: | 420 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 291 / 1613 |
Version history: | 2 change(s) |
Referenced in: | -