1 | static S ai_matrix_answerToVerb(S s) { |
2 | if (eqic(s, "yes")) ret "is"; |
3 | if (eqic(s, "no")) ret "is not"; |
4 | if (nempty(s)) ret s + " is"; // "usually" etc. |
5 | null; |
6 | } |
Began life as a copy of #1013059
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: | #1013071 |
Snippet name: | ai_matrix_answerToVerb |
Eternal ID of this version: | #1013071/2 |
Text MD5: | dcc326a6fdb17b2953ea775b461483c6 |
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-24 19:42:19 |
Source code size: | 170 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 365 / 401 |
Version history: | 1 change(s) |
Referenced in: | [show references] |