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

6
LINES

< > BotCompany Repo | #1012973 // ai_findIndexedTerm - changes spelling to DB version

JavaX fragment (include)

1  
static Sym ai_findIndexedTerm(Sym term) {
2  
  Sym s = ai_shortenForIndex(term);
3  
  Sym result = ai_navigableShortTerms().floor(s);
4  
  if (result == null) null;
5  
  ret findInListIC(ai_expandShortenedKeys(result), term);
6  
}

Author comment

Began life as a copy of #1011619

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: #1012973
Snippet name: ai_findIndexedTerm - changes spelling to DB version
Eternal ID of this version: #1012973/1
Text MD5: 8190de6fcc536ed881b3e920a0d3f493
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-18 23:45:02
Source code size: 220 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 419 / 435
Referenced in: [show references]