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).

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

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: 181 / 261
Version history: 5 change(s)
Referenced in: [show references]