static S firstVerb(S s) { L<S> tok = nlTok(s); int i = indexOfFirstVerb(tok); if (i < 0) null; S v = get(tok, i); if (eqicOneOf(get(tok, i-2), "can", "will", "should")) ret get(tok, i-2) + " " + v; ret v; }
Began life as a copy of #1011012
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: | #1011062 |
Snippet name: | firstVerb |
Eternal ID of this version: | #1011062/6 |
Text MD5: | d1a1c0ef8baee2b239ec80fdf913167f |
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-12 01:06:47 |
Source code size: | 225 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 521 |
Version history: | 5 change(s) |
Referenced in: | [show references] |