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

6
LINES

< > BotCompany Repo | #1020574 // dm_ai_analyzeLineCategoryWithFeature_multiMap

JavaX fragment (include)

static Map<O, MultiSet<S>> dm_ai_analyzeLineCategoryWithFeature_multiMap(S category, fS feature) {
  LPair<O, S> pairs = map(objectsWhere(dm_lineToCategory_entries(), +category), func(Line2Category l) -> Pair<O, S> {
    pair(callAndMake(feature, l.line), l.answer)
  });
  ret pairsToMapWithMultiSetValues(pairs);
}

Author comment

Began life as a copy of #1020569

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020574
Snippet name: dm_ai_analyzeLineCategoryWithFeature_multiMap
Eternal ID of this version: #1020574/1
Text MD5: 494a6931a8bfdb4efd2cf4e56206976f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-27 02:17:48
Source code size: 321 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 193
Referenced in: [show references]