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

19
LINES

< > BotCompany Repo | #1008299 // lispSolveQuestionVerbose - solve in thought space

JavaX fragment (include)

// returns answers in english
static L<S> lispSolveQuestionVerbose(S q) {
  Lisp l = englishToLisp_best(q);
  print(q);
  openThoughtSpace();
  fromUser(lisp("vouwrrhtmajsgaby", l)); // emit question
  //set applyAlwaysRules_step_debug;
  applyRules();
  L<Lisp> answers = lispTruth1("nywfcwkkcknzhmdy");
  new L<S> out;
  for (Lisp la : answers) {
    S a = lispToEnglish(la);
    printIndent(a);
    out.add(lispToEnglish(la.get(0))); // drop the "A:" prefix
  }
  //printLispStatements();
  thoughtSpace(null);
  ret out;
}

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: #1008299
Snippet name: lispSolveQuestionVerbose - solve in thought space
Eternal ID of this version: #1008299/4
Text MD5: 42a4c1a2e6896194279c8c4ae3685e85
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-08 01:12:31
Source code size: 544 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 399 / 418
Version history: 3 change(s)
Referenced in: [show references]