Transpiled version (2245L) is out of date.
static Pair<LS> parseNGramScorerExpression(S exp) { int i = smartIndexOf(exp, '^'); S pos = takeFirst(exp, i), neg = substring(exp, i+1); ret pair(splitAt(pos, "|"), splitAt(neg, "|")); }
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: | #1027492 |
| Snippet name: | parseNGramScorerExpression |
| Eternal ID of this version: | #1027492/2 |
| Text MD5: | 876825100cdfa7985267406f50798e7a |
| 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:37:46 |
| Source code size: | 197 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 430 / 556 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |