Libraryless. Click here for Pure Java version (2310L/15K).
1 | sS ai_combineNGramScorers(S a, S b) { |
2 | Pair<LS> pa = parseNGramScorerExpression(a); |
3 | Pair<LS> pb = parseNGramScorerExpression(b); |
4 | ret ai_makeNGramScorer(concatLists(pa.a, pb.a), concatLists(pa.b, pb.b)); |
5 | } |
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: | 206 / 319 |
Version history: | 1 change(s) |
Referenced in: | [show references] |