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

6
LINES

< > BotCompany Repo | #1011605 // ai_spec_apostrophS

JavaX fragment (include)

static void ai_spec_apostrophS(S s) {
  int i = indexOf(s, "'s");
  if (i < 1) ret;
  if (i+2 >= l(s) || !isLetter(s.charAt(i+2)))
    ai_postTriple(s, "possibly related to:", takeFirst(i, s));
}

Author comment

Began life as a copy of #1011595

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: #1011605
Snippet name: ai_spec_apostrophS
Eternal ID of this version: #1011605/4
Text MD5: d5ed7e67ee14f98f368d42d76ca9e610
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 00:25:10
Source code size: 200 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 417 / 453
Version history: 3 change(s)
Referenced in: [show references]