1 | static S ai_dropLeadingAdverbs(S s) { |
2 | L<S> tok = nlTok(s); |
3 | int i = indexOfNotPredC(tok, f isAdverb); |
4 | ret trimJoinSubList(tok, i-1); |
5 | } |
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: | #1011204 |
Snippet name: | ai_dropLeadingAdverbs |
Eternal ID of this version: | #1011204/4 |
Text MD5: | 2803fb8e7ac47b612b11700637f5a51c |
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-17 00:32:49 |
Source code size: | 143 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 377 / 432 |
Version history: | 3 change(s) |
Referenced in: | [show references] |