Uses 11335K of libraries. Click here for Pure Java version (7911L/51K).
static LLS stringsToLineCompSplits_wordMode(LS strings) { new LineCompCompressor comp; comp.caseInsensitive = true; ret (L) lambdaMap(l -> lambdaMap nlToSpace(l), values(lcEncodingsAsStringLists( lcLineMode(comp, listToStringCountKeys(lambdaMap(s -> lines_rtrim(javaTokC(s)), strings)))))); } static LLS stringsToLineCompSplits_wordMode(S... strings) { ret stringsToLineCompSplits_wordMode(asList(strings)); }
Began life as a copy of #1028783
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028912 | 
| Snippet name: | stringsToLineCompSplits_wordMode - essentially finds shared phrases | 
| Eternal ID of this version: | #1028912/6 | 
| Text MD5: | 385ff0c0bf45bfca2bb296309ca6f07a | 
| Transpilation MD5: | 5faafc1a720091a273dec79b94d622e4 | 
| Author: | stefan | 
| Category: | javax / linecomp | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-07-11 21:40:00 | 
| Source code size: | 431 bytes / 10 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 430 / 582 | 
| Version history: | 5 change(s) | 
| Referenced in: | [show references] |