Libraryless. Click here for Pure Java version (2402L/15K).
1 | static LanguageDetectionTask dm_languageDetectionTask(S lang1, S lang2) { |
2 | new LanguageDetectionTask task; |
3 | task.lang1 = lang1; |
4 | task.lang2 = lang2; |
5 | task.pos = dm_examplesForLanguageFromCRUD(lang1); |
6 | task.neg = dm_examplesForLanguageFromCRUD(lang2); |
7 | ret task; |
8 | } |
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: | #1027484 |
Snippet name: | dm_languageDetectionTask (from CRUD) |
Eternal ID of this version: | #1027484/5 |
Text MD5: | 72c5516e773f748a338c13318bbf806b |
Transpilation MD5: | 4b6a025acdc242dd554c0bfcc742d8db |
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:54:41 |
Source code size: | 278 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 211 / 329 |
Version history: | 4 change(s) |
Referenced in: | [show references] |