lengthSimilarityMap method
Returns a hashmap of terms
to their lengthSimilarity with this.
Implementation
Map<String, double> lengthSimilarityMap(Iterable<String> terms) {
final retVal = <String, double>{};
for (var other in terms) {
retVal[other] = lengthSimilarity(other);
}
return retVal;
}