static void ai_spec_subclass(S s) { new Matches m; if (ai_isAOrAn(s, m)) { S x = m.rest(); for (S type : ai_texts(s, "is a", "$X")) post(x, "is a subclass of", type); } }
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: | #1012595 |
Snippet name: | ai_spec_subclass - a dog is an animal => dog is a subclass of animal |
Eternal ID of this version: | #1012595/1 |
Text MD5: | 34948496f2bba5ed3c39cc426b1c43b2 |
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 16:12:53 |
Source code size: | 197 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 395 / 420 |
Referenced in: | [show references] |