static S mech_guessLanguage(S s) { try { S func = first(mechList_opt("List => Language | Best guessing function")); ifdef mech_guessLanguage_debug print(func); endifdef ret (S) callAndMake_extended(func, s); } catch e { ifdef mech_guessLanguage_debug printException(e); endifdef ret null; } }
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: | 467 / 480 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014477 - mech_guessLanguage_quick |