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)

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

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: 494 / 529
Version history: 3 change(s)
Referenced in: [show references]