1 | static Triple<S> splitAtBaseFormVerb(S s) { |
2 | L<S> tok = nlTok(s); |
3 | int i = indexOfAny(allToLower(tok), baseFormVerbs()); |
4 | if (i < 0) null; |
5 | ret triple( |
6 | trimJoinSubList(tok, 0, i), |
7 | tok.get(i), |
8 | trimJoinSubList(tok, i+1)); |
9 | } |
Began life as a copy of #1010999
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: | #1011012 |
Snippet name: | splitAtBaseFormVerb |
Eternal ID of this version: | #1011012/1 |
Text MD5: | 7d6f86519eb0712ad4468fa952416c0c |
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 17:41:23 |
Source code size: | 245 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 430 / 458 |
Referenced in: | [show references] |