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

13
LINES

< > BotCompany Repo | #1011617 // ai_speculate_all

JavaX fragment (include)

1  
static int ai_speculate_all(S prefix) {
2  
  int n = websMadeInThread();
3  
  for ping (S key : cloneList(allIndexedTermsStartingWith(prefix))) {
4  
    for ping (S word : cloneList(ai_expandShortenedKeys(key))) {
5  
      ai_speculate(word);
6  
    }
7  
  }
8  
  ret websMadeInThread()-n;
9  
}
10  
11  
static int ai_speculate_all() {
12  
  ret ai_speculate_all("");
13  
}

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: #1011617
Snippet name: ai_speculate_all
Eternal ID of this version: #1011617/5
Text MD5: 3236a0b98ed5e01ca82017ee09730a5a
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-01 02:54:24
Source code size: 345 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 473
Version history: 4 change(s)
Referenced in: [show references]