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