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

4
LINES

< > BotCompany Repo | #1027498 // dm_saveLanguageDetectionNGramScorers

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

Libraryless. Click here for Pure Java version (2502L/16K).

1  
svoid dm_saveLanguageDetectionNGramScorers(LanguageDetectionTask task, DynamicTopTen<S> tt) {
2  
  for (Pair<S, Double> p : tt.withScores())
3  
    dm_call(dm_languageDetectionNGramScorersCRUD(), 'saveResult, task.task(), p.a, str(p.b));
4  
}

Author comment

Began life as a copy of #1027486

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: #1027498
Snippet name: dm_saveLanguageDetectionNGramScorers
Eternal ID of this version: #1027498/1
Text MD5: 80e5d5cac53d940e56a3e56a5b63bc6b
Transpilation MD5: c0ca148bbf922e361dc0e8bba32d99ca
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 15:39:40
Source code size: 236 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 155 / 231
Referenced in: [show references]