1 | static void ai_spec_addQuestionsToChatLine(S line) { |
2 | S text = ai_textOfChatLine(line); |
3 | if (empty(text)) ret; |
4 | if (containsWord(text, "it")) { |
5 | ai_postTriple(line, "begs the question", quote([[What is "it"?]])); |
6 | ai_postTriple(line, "see:", [[The "it" in ]] + line); |
7 | } |
8 | } |
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: | #1011437 |
Snippet name: | ai_spec_addQuestionsToChatLine (spec = speculative = checks if it's a chat line first, so safe to call on anything) |
Eternal ID of this version: | #1011437/6 |
Text MD5: | 8a728230c4644325bad8335ba271eabb |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-31 18:39:45 |
Source code size: | 289 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 540 |
Version history: | 5 change(s) |
Referenced in: | [show references] |