Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1018121 // Test repeatedInputModificationsIterator (drop leading & trailing appellations efficiently)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7897L/56K).

1  
!7
2  
3  
p-exp {
4  
  S input = "hey, bot, what time is it yo bot please?";
5  
6  
  final Set<S> set = mechSetCI("Appellations");
7  
  
8  
  pnl(repeatedInputModificationsIterator(input, func(S s) -> L<ItIt<S>> {
9  
    ai_dropLeadingAndTrailingPhrasesIterators(s, set)
10  
  }));
11  
}

Author comment

Began life as a copy of #1018108

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: #1018121
Snippet name: Test repeatedInputModificationsIterator (drop leading & trailing appellations efficiently)
Eternal ID of this version: #1018121/8
Text MD5: f26834cad9cd90b31622cb8be4e3ca22
Transpilation MD5: 3d428156c48938666541132c7827333b
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 14:44:27
Source code size: 266 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 642
Version history: 7 change(s)
Referenced in: [show references]