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

4
LINES

< > BotCompany Repo | #1011084 // isNoun

JavaX fragment (include)

static overridable bool isNoun(S s) {
  if (ai_enabled() && has(s, "is", "a noun")) true;
  ret isSingularNoun(s) || isPluralNoun(s) || mechCISetContains("Nouns", s);
}

Author comment

Began life as a copy of #1010416

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1011084
Snippet name: isNoun
Eternal ID of this version: #1011084/8
Text MD5: a4d1f2484283b3ee30ee53a5d2ffc3e7
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-08 12:55:10
Source code size: 171 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 425
Version history: 7 change(s)
Referenced in: [show references]