Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1027508 // dm_saveLanguageDetectionNGramScorer

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2752L/18K).

static double dm_saveLanguageDetectionNGramScorer(S expr, LanguageDetectionTask task) {
  double score = scoreNGramScorer(expr, task.pos, task.neg);
  dm_call(dm_languageDetectionNGramScorersCRUD(), 'saveResult, task.task(), expr, str(score));
  ret score;
}

Author comment

Began life as a copy of #1027498

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: #1027508
Snippet name: dm_saveLanguageDetectionNGramScorer
Eternal ID of this version: #1027508/6
Text MD5: 255a406954e9cdf4a22c40fa9bcbbf7f
Transpilation MD5: 113f7b6db99631b886c470574cebde5e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 16:28:14
Source code size: 262 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 180 / 260
Version history: 5 change(s)
Referenced in: [show references]