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

13
LINES

< > BotCompany Repo | #1027485 // LanguageDetectionTask

JavaX fragment (include)

sclass LanguageDetectionTask {
  // set by user
  S lang1, lang2;
  LS pos, neg;
  
  // set automatically
  S task;
  
  S task() {
    if (task == null) task = lang1 + " vs " + lang2 + " n=" + l(pos);
    ret task;
  }
}

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: #1027485
Snippet name: LanguageDetectionTask
Eternal ID of this version: #1027485/1
Text MD5: 03eb435f90f6c8843cd6ffc9c32c6920
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 14:52:34
Source code size: 234 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 487
Referenced in: [show references]