Libraryless. Click here for Pure Java version (4606L/30K).
svoid agiBlue_importTatoebaEnglishSentences(File sentencesCSV) { Set<S> languagesInterestedIn = litset('eng); new MultiMap<S> sentences; for (T3<Int, S, S> t : tatoeba_parseSentencesCSV(userDir("dev/sentences-db/sentences.csv"))) if (contains(languagesInterestedIn, t.b)) sentences.put(t.b, t.c); set agiBlueURL_noHTTPS; // weird bug print("Posting " + nSentences(sentences.get('eng))); agiBlue_createManyPagesInSlice('flrafqthdsbzvfdl, sentences.get('eng)); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024452 |
Snippet name: | agiBlue_importTatoebaEnglishSentences |
Eternal ID of this version: | #1024452/1 |
Text MD5: | 73c9efbf6ce70c7b19d9a6f2a40c22e3 |
Transpilation MD5: | 12aa8c3d7ba4fdd2b7709c8f790fee45 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-13 11:23:37 |
Source code size: | 495 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 205 / 283 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |