static S ai_varyClassification(L<S> l) { if (l(l) <= 1) ret null; S original = unquote(last(l)); for (S category : dropLast(l)) { try answer random(listWithoutIC(ai_texts("$X", "is a subclass of", category), original)); try answer random(listWithoutIC(ai_texts("$X", "is a", category), original)); } null; }
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: | #1012612 |
Snippet name: | ai_varyClassification |
Eternal ID of this version: | #1012612/1 |
Text MD5: | 65b8493943c57bcceb3cb1cda5743323 |
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-07 23:59:15 |
Source code size: | 333 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 329 / 376 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |