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

21
LINES

< > BotCompany Repo | #1014343 // Show possible German words not in list yet

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8820L/64K).

1  
!7
2  
3  
static JTable table;
4  
5  
p-subst {
6  
  autoRestart();
7  
  makeTable();
8  
  addToWindowWithMargin(table, jcenteredline(
9  
    selectedRowCountTableButton(table, jbutton("Mark German", r {
10  
      if (ml_isChange(addToMechList("Deutsche Wörter", selectedTableRowsFirstColumn(table)))) makeTable()
11  
    }))));
12  
}
13  
14  
svoid makeTable {
15  
  Set<S> have = asCISet(ml_germanWords());
16  
  //L<S> lines = reverseLookupAll("german", mechMapCI("List => Language | Confirmed"));
17  
  L<S> lines = mechList("heise.de 2018/04/20 (raw)");
18  
  Set<S> possible = asCISet(startingWithLetter(filterMinLength(2, concatMap words(lines))));
19  
  Set<S> present = setMinusSet(possible, have);
20  
  table = showTable(table, collectionToListOfMaps(present, "Possible German word"));
21  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014343
Snippet name: Show possible German words not in list yet
Eternal ID of this version: #1014343/10
Text MD5: d0d4bd1ff024884b15021f792933fad7
Transpilation MD5: 96703ddd86853e3088b3413abdf68e2d
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 14:06:21
Source code size: 751 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 1396
Version history: 9 change(s)
Referenced in: [show references]