Libraryless. Click here for Pure Java version (2844L/18K).
1 | static ItIt<S> sentencePrefixesIterator(S s, O... _) { |
2 | boolPar plusFull; |
3 | LS tok = javaTokNPunctuationWithBrackets(s); |
4 | ret mapI(countIterator_exclusive_step(3, l(tok)+toInt(plusFull), 2), i -> |
5 | getSentencePrefix(tok, i/2)); |
6 | } |
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: | #1026527 |
Snippet name: | sentencePrefixesIterator - without full and without empty prefix |
Eternal ID of this version: | #1026527/5 |
Text MD5: | 7afd2df6c086bfe2494165858b7a0b16 |
Transpilation MD5: | 878ff7ecb3e4a97ddf722f8743fb4808 |
Author: | stefan |
Category: | javax / nlp |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-11 20:48:17 |
Source code size: | 238 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 248 / 355 |
Version history: | 4 change(s) |
Referenced in: | [show references] |