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)

static Sym ai_findIndexedTerm(Sym term) {
  Sym s = ai_shortenForIndex(term);
  Sym result = ai_navigableShortTerms().floor(s);
  if (result == null) null;
  ret findInListIC(ai_expandShortenedKeys(result), term);
}

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: 417 / 432
Referenced in: [show references]