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).

!7

static JTable table;

p-subst {
  autoRestart();
  makeTable();
  addToWindowWithMargin(table, jcenteredline(
    selectedRowCountTableButton(table, jbutton("Mark German", r {
      if (ml_isChange(addToMechList("Deutsche Wörter", selectedTableRowsFirstColumn(table)))) makeTable()
    }))));
}

svoid makeTable {
  Set<S> have = asCISet(ml_germanWords());
  //L<S> lines = reverseLookupAll("german", mechMapCI("List => Language | Confirmed"));
  L<S> lines = mechList("heise.de 2018/04/20 (raw)");
  Set<S> possible = asCISet(startingWithLetter(filterMinLength(2, concatMap words(lines))));
  Set<S> present = setMinusSet(possible, have);
  table = showTable(table, collectionToListOfMaps(present, "Possible German word"));
}

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: 376 / 1626
Version history: 9 change(s)
Referenced in: [show references]