static void ai_spec_searchForAnswer(S s) { Set<S> cluster = litciset(s); cluster = ai_cluster_forward(cluster, "parses to triple"); //print("Cluster: " + cluster); if (empty(cluster)) ret; ai_expandCluster(cluster); //print("Cluster expanded: " + cluster); cluster = ai_cluster_backward(cluster, "answers triple"); //print("Cluster: " + cluster); if (empty(cluster)) ret; ai_postTriple_multi(cluster, "answers", s); }
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: | #1012033 |
Snippet name: | ai_spec_searchForAnswer |
Eternal ID of this version: | #1012033/6 |
Text MD5: | 4956758805015541530145fe66ffa2d8 |
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-16 07:12:28 |
Source code size: | 448 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 488 / 506 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1012136 - ai_spec_searchForAnswer_trace [with tracing, dev.] #1012153 - ai_spec_searchForAnswer_v2_all |