lengthSimilarityMap method Null safety

Map<Term, double> lengthSimilarityMap(
  1. Term term,
  2. Iterable<Term> terms
)

Returns a hashmap of terms to their lengthSimilarity with term.

Implementation

static Map<Term, double> lengthSimilarityMap(
        Term term, Iterable<Term> terms) =>
    term.lengthSimilarityMap(terms);