Libraryless. Click here for Pure Java version (2431L/16K).
static Map<S, PosNegScore> dm_ontology_trainingSet_firstWordScores() { PairL<virtual Is> data = dm_ontology_trainingSet(); Pair<LS> textData = pair(collect a(data.a), collect a(data.b)); LS posWords = map firstWord(textData.a); LS negWords = map firstWord(textData.b); ret countPosNegAsCIMap(posWords, negWords); }
Began life as a copy of #1023489
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023491 |
Snippet name: | dm_ontology_trainingSet_firstWordScores |
Eternal ID of this version: | #1023491/3 |
Text MD5: | edd16915a7a0e1e43b3e923f352bf100 |
Transpilation MD5: | 489f030dc8ce81dd58d9d431801425fd |
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:08:47 |
Source code size: | 330 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 236 / 313 |
Version history: | 2 change(s) |
Referenced in: | [show references] |