1 | static S ai_varyClassification(L<S> l) { |
2 | if (l(l) <= 1) ret null; |
3 | S original = unquote(last(l)); |
4 | for (S category : dropLast(l)) { |
5 | try answer random(listWithoutIC(ai_texts("$X", "is a subclass of", category), original)); |
6 | try answer random(listWithoutIC(ai_texts("$X", "is a", category), original)); |
7 | } |
8 | null; |
9 | } |
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: | 330 / 377 |
Referenced in: | [show references] |