Libraryless. Click here for Pure Java version (2808L/18K).
1 | static Map<S, PosNegScore> dm_ontology_trainingSet_wordScores() { |
2 | PairL<virtual Is> data = dm_ontology_trainingSet(); |
3 | Pair<LS> textData = pair(mapMethod render(data.a), mapMethod render(data.b)); |
4 | LS posWords = concatMap uniqueWords(textData.a); |
5 | LS negWords = concatMap uniqueWords(textData.b); |
6 | ret countPosNegAsCIMap(posWords, negWords); |
7 | } |
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: | 216 / 312 |
Version history: | 6 change(s) |
Referenced in: | [show references] |