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).

!7

p-exp {
  S input = "hey, bot, what time is it yo bot please?";

  final Set<S> set = mechSetCI("Appellations");
  
  pnl(repeatedInputModificationsIterator(input, func(S s) -> L<ItIt<S>> {
    ai_dropLeadingAndTrailingPhrasesIterators(s, set)
  }));
}

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: 388 / 900
Version history: 7 change(s)
Referenced in: [show references]