Libraryless. Click here for Pure Java version (2698L/17K).
1 | sS ai_remergeWordSuffixes(Set<S> suffixes, S input) {
|
2 | ret joinAdjacentTokensIf(input, (a, b) -> contains(suffixes, b) && isWordish(a)); |
3 | } |
Began life as a copy of #1028932
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: | #1028938 |
| Snippet name: | ai_remergeWordSuffixes |
| Eternal ID of this version: | #1028938/1 |
| Text MD5: | 151211d3a1df97ed08d7203a054e33e2 |
| Transpilation MD5: | a133298c04e963c8669bcf93c6dd68b1 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-12 13:00:41 |
| Source code size: | 141 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 451 / 580 |
| Referenced in: | [show references] |