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

9
LINES

< > BotCompany Repo | #1021098 // combineToNLPattern_tryToIncludePunctuation

JavaX fragment (include)

sS combineToNLPattern_tryToIncludePunctuation(S a, S b) {
  S s = combineToNLPatternIncludingPunctuation(a, b);
  if (s != null) ret s;
  ret combineToNLPattern(a, b);
}

sS combineToNLPattern_tryToIncludePunctuation(Iterable<S> l) {
  ret foldl_noSeed(func(S a, S b) -> S { combineToNLPattern_tryToIncludePunctuation(a, b) }, l);
}

Author comment

Began life as a copy of #1021097

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021098
Snippet name: combineToNLPattern_tryToIncludePunctuation
Eternal ID of this version: #1021098/1
Text MD5: aea10a9cf7563754cb3d2f6ba341513e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-22 16:02:32
Source code size: 340 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 254 / 254
Referenced in: [show references]