Libraryless. Click here for Pure Java version (2431L/16K).
1 | static Map<S, PosNegScore> dm_ontology_trainingSet_firstWordScores() { |
2 | PairL<virtual Is> data = dm_ontology_trainingSet(); |
3 | Pair<LS> textData = pair(collect a(data.a), collect a(data.b)); |
4 | LS posWords = map firstWord(textData.a); |
5 | LS negWords = map firstWord(textData.b); |
6 | ret countPosNegAsCIMap(posWords, negWords); |
7 | } |
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: | 238 / 317 |
Version history: | 2 change(s) |
Referenced in: | [show references] |