static Triple<S> splitAtThirdPersonVerb(S s) { L<S> tok = nlTok(s); int i = indexOfAny(allToLower(tok), thirdPersonVerbs()); if (i < 0) null; ret triple( trimJoinSubList(tok, 0, i), tok.get(i), trimJoinSubList(tok, i+1)); }
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: | #1010999 |
Snippet name: | splitAtThirdPersonVerb |
Eternal ID of this version: | #1010999/2 |
Text MD5: | f0da8ee60d37e597c5abc8281b29fbf2 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-11 03:51:39 |
Source code size: | 251 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 403 / 433 |
Version history: | 1 change(s) |
Referenced in: | [show references] |