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

7
LINES

< > BotCompany Repo | #1011639 // ai_spec_acronym

JavaX fragment (include)

static void ai_spec_acronym(S s) {
  if (!isIdentifier(s) || l(s) < 2) ret;
  //if (nempty(ai_search_dollarX(s, "maybe short for?", "$X"))) ret;
  for (S word : allIndexedTerms())
    if (eqic(toAcronym(word), s))
      ai_postTriple(s, "maybe short for?", word);
}

Author comment

Began life as a copy of #1011629

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: #1011639
Snippet name: ai_spec_acronym
Eternal ID of this version: #1011639/5
Text MD5: 6b7ab630c7e0234556edc6d85ef5657c
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 06:04:23
Source code size: 271 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 358 / 388
Version history: 4 change(s)
Referenced in: [show references]