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