static S ai_matrix_verbToAnswer(S s) { if (eqic(s, "is")) ret "yes"; if (eqic(s, "is not")) ret "no"; if (swic(s, "under ")) null; // results of matrix functions clutter up matrix page new Matches m; if (ewic(s, " is", m)) ret m.rest(); if (ewic(s, " is not", m)) ret m.rest() + " not"; null; }
Began life as a copy of #1013071
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: | #1013073 |
Snippet name: | ai_matrix_verbToAnswer |
Eternal ID of this version: | #1013073/4 |
Text MD5: | 1e1ae06f749e02e5891c045b9371474f |
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-27 07:54:44 |
Source code size: | 326 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 415 / 419 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |