keywordScores property

  1. @override
Map<String, double> keywordScores
override

Returns a mapping of the keywords to their RAKE scores.

Implementation

@override
Map<String, double> get keywordScores {
  final Map<String, double> retVal = {};
  for (final e in keywords) {
    final keyword = e.join(' ');
    final score = keyWordScore(e);
    retVal[keyword] = score;
  }
  return retVal;
}