static LL<S> ai_splitAroundCommonPhrases(S s) { LS tok = javaTokWithBrackets(s); new LL<S> out; for (S phrase : mL("Words to split at")) if (cic(s, phrase)) addUnlessNull(out, ai_splitAroundPhrase_orNull(tok, phrase)); ret out; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
| Snippet ID: | #1021987 |
| Snippet name: | ai_splitAroundCommonPhrases - drops the phrase itself |
| Eternal ID of this version: | #1021987/4 |
| Text MD5: | 8965e7cf6550772d6b4b01e3e86b4480 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-04 17:36:05 |
| Source code size: | 254 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 478 / 520 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |