Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1013071 // ai_matrix_answerToVerb

JavaX fragment (include)

static S ai_matrix_answerToVerb(S s) {
  if (eqic(s, "yes")) ret "is";
  if (eqic(s, "no")) ret "is not";
  if (nempty(s)) ret s + " is"; // "usually" etc.
  null;
}

Author comment

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: 296 / 332
Version history: 1 change(s)
Referenced in: [show references]