Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1011648 // ai_spec_checkFact

JavaX fragment (include)

static void ai_spec_checkFact(S question) {
  for (S fact : ai_texts(question, "asks about fact:", "$X")) {
    if (ai_hasTriple_vary(fact, "is", "never a certain fact"))
      ai_postTriple("You can never be sure about that", "answers", question);
    if (ai_hasTriple_vary(fact, "is", "probably not true"))
      ai_postTriple("Probably not", "answers", question);
  }
}

Author comment

Began life as a copy of #1011646

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: #1011648
Snippet name: ai_spec_checkFact
Eternal ID of this version: #1011648/4
Text MD5: b9c6a84ec13ab19799b4a29685a8f5d0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-02 02:08:59
Source code size: 379 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 308 / 351
Version history: 3 change(s)
Referenced in: [show references]