Libraryless. Click here for Pure Java version (2305L/15K).
sS ai_combineNGramScorers_noDuplicates(S a, S b) { Pair<LS> pa = parseNGramScorerExpression(a); Pair<LS> pb = parseNGramScorerExpression(b); ret ai_makeNGramScorer(concatListsToTreeSet(pa.a, pb.a), concatListsToTreeSet(pa.b, pb.b)); }
Began life as a copy of #1027499
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: | #1027502 |
Snippet name: | ai_combineNGramScorers_noDuplicates |
Eternal ID of this version: | #1027502/2 |
Text MD5: | 37463d791ea19376cbcfc8d9037419e1 |
Transpilation MD5: | 511a5aba5f39394080194c9509cb6ed5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 16:11:31 |
Source code size: | 244 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 249 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |