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

5
LINES

< > BotCompany Repo | #1027499 // ai_combineNGramScorers

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2310L/15K).

sS ai_combineNGramScorers(S a, S b) {
  Pair<LS> pa = parseNGramScorerExpression(a);
  Pair<LS> pb = parseNGramScorerExpression(b);
  ret ai_makeNGramScorer(concatLists(pa.a, pb.a), concatLists(pa.b, pb.b));
}

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: #1027499
Snippet name: ai_combineNGramScorers
Eternal ID of this version: #1027499/2
Text MD5: 6319d92abdef0943473cac601d9c8771
Transpilation MD5: c545c57f73e048816c3de1efe3a1f20e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 15:50:07
Source code size: 213 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 320
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027502 - ai_combineNGramScorers_noDuplicates