Download Jar. Libraryless. Click here for Pure Java version (7545L/54K).
1 | !7 |
2 | |
3 | p-exp {
|
4 | S input = "hey, bot, what time is it yo?"; |
5 | |
6 | Map<S, O> wordTree = listToWordTree(mL("Appellations"));
|
7 | |
8 | L<S> tok = javaTokNPunctuation(input); |
9 | L<Int> indices = aOfPairs(matchStartUsingWordTree_all(tok, wordTree)); |
10 | for (int i : indices) |
11 | print(joinSubList(tok, i)); |
12 | } |
Began life as a copy of #1018096
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018098 |
| Snippet name: | Drop Leading Appellations Spike 2 [OK] |
| Eternal ID of this version: | #1018098/3 |
| Text MD5: | 8f44911b7978ab3bd2bee550196ad194 |
| Transpilation MD5: | a0734d2bf060c9b501214727fc3e74e5 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-02 12:57:43 |
| Source code size: | 304 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 661 / 1468 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |