static double ocr_minScoreAdjust(double rawScore) { ret max(0, min(1, adjustDouble(rawScore, ocr_minScore(), 1, 0, 1))); } static float ocr_minScoreAdjust(float rawScore) { ret (float) ocr_minScoreAdjust((double) rawScore); } static <A> Scored<A> ocr_minScoreAdjust(Scored<A> s) { ret s == null ? null : Scored(s!, ocr_minScoreAdjust(s.score())); }
Began life as a copy of #1015459
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015460 |
Snippet name: | ocr_minScoreAdjust - works from 0 to 1 |
Eternal ID of this version: | #1015460/6 |
Text MD5: | 7742a771c92b481f66fe1d5ac3eb8541 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-14 19:25:10 |
Source code size: | 366 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 354 / 390 |
Version history: | 5 change(s) |
Referenced in: | [show references] |