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

14
LINES

< > BotCompany Repo | #1014311 // mech_guessLanguage

JavaX fragment (include)

1  
static S mech_guessLanguage(S s) {
2  
  try {
3  
    S func = first(mechList_opt("List => Language | Best guessing function"));
4  
    ifdef mech_guessLanguage_debug
5  
    print(func);
6  
    endifdef
7  
    ret (S) callAndMake_extended(func, s);
8  
  } catch e {
9  
    ifdef mech_guessLanguage_debug
10  
    printException(e);
11  
    endifdef
12  
    ret null;
13  
  }
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014311
Snippet name: mech_guessLanguage
Eternal ID of this version: #1014311/7
Text MD5: 67c1c212f238f206684ed8e8bc1fa738
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 04:27:57
Source code size: 347 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 387
Version history: 6 change(s)
Referenced in: [show references]