1 | static void ai_spec_acronym(S s) { |
2 | if (!isIdentifier(s) || l(s) < 2) ret; |
3 | //if (nempty(ai_search_dollarX(s, "maybe short for?", "$X"))) ret; |
4 | for (S word : allIndexedTerms()) |
5 | if (eqic(toAcronym(word), s)) |
6 | ai_postTriple(s, "maybe short for?", word); |
7 | } |
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: | 461 / 494 |
Version history: | 4 change(s) |
Referenced in: | [show references] |