Libraryless. Click here for Pure Java version (2748L/17K).
srecord CICBasedDetector(Map<S, Int> weights) implements IF1<S, Int> { public Int get(S text) { int sum = 0; for (S s, int w : weights) if (cic(text, s)) sum += w; ret sum; } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030077 |
Snippet name: | CICBasedDetector |
Eternal ID of this version: | #1030077/2 |
Text MD5: | 40e134358794dd5924bd6aba7ec6deeb |
Transpilation MD5: | 976fab7c52badf3977ad4e2894b5b8f1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-05 11:34:21 |
Source code size: | 207 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 218 |
Version history: | 1 change(s) |
Referenced in: | -