Download Jar. Libraryless. Click here for Pure Java version (14170L/100K).
1 | !7 |
2 | |
3 | p { |
4 | botIfMain(); |
5 | consoleInputIfMain("What did you learn today?"); |
6 | } |
7 | |
8 | answer { |
9 | if "What did you learn today?" |
10 | ret search("I learned today"); |
11 | } |
12 | |
13 | static S search(S text) { |
14 | L<WebNode> nodes = indexedNodes2(text); |
15 | ret text + ": " + or2(joinWithSpace(map addDotIfNoPunctuation(web_uniqueOperandTexts(nodes, "", "that"))), "Nothing"); |
16 | } |
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: | #1010737 |
Snippet name: | What did I learn today bot |
Eternal ID of this version: | #1010737/5 |
Text MD5: | 72a1319f1c64145d8801ffb5eb454efc |
Transpilation MD5: | a83988ebd2c2e31446cdb7fba4e4f250 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-28 17:52:46 |
Source code size: | 362 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 646 / 1192 |
Version history: | 4 change(s) |
Referenced in: | [show references] |