static void ai_spec_similarWord(S s) { if (nempty(ai_search_dollarX(s, "maybe similar to?", "$X"))) ret; S closest = levenClosestIC(listMinusIC(allIndexedFullTerms(), s), s); if (closest != null && neqic(s, closest)) ai_postTriple(s, "maybe similar to?", closest); }
Began life as a copy of #1011437
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: | #1011629 |
Snippet name: | ai_spec_similarWord |
Eternal ID of this version: | #1011629/3 |
Text MD5: | a09b8a7eac1894d0e810d1f109f8a54c |
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-23 18:29:41 |
Source code size: | 281 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 366 / 414 |
Version history: | 2 change(s) |
Referenced in: | [show references] |