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

6
LINES

< > BotCompany Repo | #1011645 // ai_spec_doYouThink

JavaX fragment (include)

static void ai_spec_doYouThink(S s) {
  new Matches m;
  if (learnedFlexMatch("do you think *", s, m)
    || learnedFlexMatch("Is it true that *", s, m))
    ai_postTriple(s, "asks about fact:", dropPunctuationAtEnd(m.rest()));
}

Author comment

Began life as a copy of #1011437

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: #1011645
Snippet name: ai_spec_doYouThink
Eternal ID of this version: #1011645/3
Text MD5: 1b08b9d775337c95b90a8746e286c1d5
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 01:30:09
Source code size: 234 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 467
Version history: 2 change(s)
Referenced in: [show references]