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

10
LINES

< > BotCompany Repo | #1012194 // ai_partsOf

JavaX fragment (include)

static L<S> ai_partsOf(S whole) {
  Set<S> cluster = ai_makeCluster(whole);
  cluster = ai_cluster_forward(cluster, "consists of");
  cluster.addAll(ai_cluster_forward(cluster, "parses to"));
  for (S s : cluster) {
    L<S> l = ai_parseAndList(s);
    if (l(l) >= 2) ret l;
  }
  null;
}

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: #1012194
Snippet name: ai_partsOf
Eternal ID of this version: #1012194/3
Text MD5: cd64b771217f4a5947c0b144df076f27
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-23 18:29:13
Source code size: 297 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 516 / 493
Version history: 2 change(s)
Referenced in: [show references]