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

10
LINES

< > BotCompany Repo | #1012194 // ai_partsOf

JavaX fragment (include)

1  
static L<S> ai_partsOf(S whole) {
2  
  Set<S> cluster = ai_makeCluster(whole);
3  
  cluster = ai_cluster_forward(cluster, "consists of");
4  
  cluster.addAll(ai_cluster_forward(cluster, "parses to"));
5  
  for (S s : cluster) {
6  
    L<S> l = ai_parseAndList(s);
7  
    if (l(l) >= 2) ret l;
8  
  }
9  
  null;
10  
}

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: 453 / 435
Version history: 2 change(s)
Referenced in: [show references]