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

7
LINES

< > BotCompany Repo | #1013458 // ai_getIndexedTerm (get spelling from DB)

JavaX fragment (include)

1  
static S ai_getIndexedTerm(S s) {
2  
  S key = first(indexedTermsStartingWith(s));
3  
  if (key == null) null;
4  
  for (S term : ai_expandShortenedKey(key))
5  
    if (eqic(term, s)) ret term;
6  
  null;
7  
}

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: #1013458
Snippet name: ai_getIndexedTerm (get spelling from DB)
Eternal ID of this version: #1013458/3
Text MD5: a6566a1f867d5ef1f3700b2935b27036
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 12:59:04
Source code size: 197 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 404
Version history: 2 change(s)
Referenced in: [show references]