getFrequency method

Ft getFrequency(
  1. String term
)

Returns the mapped value for the term key from the DftMap.

Returns 0 if the term key does not exist in the DftMap.

Implementation

Ft getFrequency(String term) => this[term] ?? 0;