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

15
LINES

< > BotCompany Repo | #1012799 // ai_spec_whatIsTheLength

JavaX fragment (include)

static void ai_spec_whatIsTheLength(S s) {
  new Matches m;
  if (!swic(unquote(s), "how long is ", m)) ret;
  S postUnder = optQuote(s);
  S thing = m.get(0);
  print("ai_spec_whatIsTheLength thing: " + thing);
  
  // trigger required speculations
  
  post(postUnder, "possibly related to:", thing);
  ai_triggerSpeculationOn(thing);
  
  // harvest answer
  post(ai_forward(thing, "has length"), "answers", postUnder);
} 

Author comment

Began life as a copy of #1012794

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: #1012799
Snippet name: ai_spec_whatIsTheLength
Eternal ID of this version: #1012799/10
Text MD5: bf20f828d742346cde4130e328bdab41
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-13 17:32:00
Source code size: 439 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 295 / 326
Version history: 9 change(s)
Referenced in: [show references]