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

6
LINES

< > BotCompany Repo | #1021690 // ai_allWordPrefixes

JavaX fragment (include)

static Set<S> ai_allWordPrefixes(S s) {
  Set<S> set = ciSet();
  for (S t : words2_noNumbers(s))
    addAll(set, allNemptyPrefixes(t));
  ret set;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021690
Snippet name: ai_allWordPrefixes
Eternal ID of this version: #1021690/3
Text MD5: 58464299612adbfc22c100f95d907977
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-24 15:16:26
Source code size: 154 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 232
Version history: 2 change(s)
Referenced in: [show references]