Libraryless. Compilation Failed (3186L/21K).
svoid ai_verifyNGramScorerResultsForLanguageDetectionTask(LanguageDetectionTask task) { LPairS exprs = (LPairS) dm_callAndImport(dm_languageDetectionNGramScorersCRUD(), 'expressionsForTask, task.task()); print("Checking " + nExpressions(exprs)); for (PairS p : exprs) { double score = scoreNGramScorer(p.a, task.pos, task.neg); double expected = parseDouble(p.b); print(l(p.a) + " - " + expected + " / " + score); if (expected != score) print(" WAT: " + p.a); } }
Began life as a copy of #1027505
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: | #1027516 |
Snippet name: | ai_verifyNGramScorerResultsForLanguageDetectionTask |
Eternal ID of this version: | #1027516/4 |
Text MD5: | acb154d2e296520cb72a5f7cef65ee53 |
Transpilation MD5: | 89910857964da498c246cddce65d2bf0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 17:17:20 |
Source code size: | 508 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 263 |
Version history: | 3 change(s) |
Referenced in: | [show references] |