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

12
LINES

< > BotCompany Repo | #1012136 // ai_spec_searchForAnswer_trace [with tracing, dev.]

JavaX fragment (include)

static void ai_spec_searchForAnswer_trace(S s) {
  Set<Traced<S>> cluster = litciset(tracedParam(s));
  cluster = ai_cluster_forward_trace(cluster, "parses to triple");
  //print("Cluster: " + cluster);
  if (empty(cluster)) ret;
  ai_expandCluster_trace(cluster);
  //print("Cluster expanded: " + cluster);
  cluster = ai_cluster_backward_trace(cluster, "answers triple");
  //print("Cluster: " + cluster);
  if (empty(cluster)) ret;
  ai_postTriple_multi(untraceAll(cluster), "answers", s);
}

Author comment

Began life as a copy of #1012033

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: #1012136
Snippet name: ai_spec_searchForAnswer_trace [with tracing, dev.]
Eternal ID of this version: #1012136/1
Text MD5: 6ae850ffe67ee529fef3ef9a05061ab4
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-21 10:30:55
Source code size: 505 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 281 / 290
Referenced in: [show references]