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

7
LINES

< > BotCompany Repo | #1023489 // dm_ontology_trainingSet_wordScores

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2808L/18K).

static Map<S, PosNegScore> dm_ontology_trainingSet_wordScores() {
  PairL<virtual Is> data = dm_ontology_trainingSet();
  Pair<LS> textData = pair(mapMethod render(data.a), mapMethod render(data.b));
  LS posWords = concatMap uniqueWords(textData.a);
  LS negWords = concatMap uniqueWords(textData.b);
  ret countPosNegAsCIMap(posWords, negWords);
}

Author comment

Began life as a copy of #1023487

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1023489
Snippet name: dm_ontology_trainingSet_wordScores
Eternal ID of this version: #1023489/7
Text MD5: 37a8ed44da5079bb51efed8c66b8aee1
Transpilation MD5: d390b700a30628f14a55dfe4deaf693c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-25 02:07:21
Source code size: 355 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 148 / 223
Version history: 6 change(s)
Referenced in: [show references]