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

9
LINES

< > BotCompany Repo | #1012566 // ai_spec_theAdjectiveNoun

JavaX fragment (include)

// the $adjective $noun is a $noun
static void ai_spec_theAdjectiveNoun(S s) {
  new Matches m;
  if "the * *" {
    S a = m.get(0), n = m.get(1);
    if (isAdjective(a) && isNoun(n))
      ai_post(s, "is", a(n));
  }
}

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: #1012566
Snippet name: ai_spec_theAdjectiveNoun
Eternal ID of this version: #1012566/1
Text MD5: 2f3f4348ced1aa3dfb8c8d1a780f62e7
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 13:24:34
Source code size: 227 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 456 / 502
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)