

def most_distinctive_terms(self, fieldid, number=5, prefix=None):
    "Returns the top 'number' terms with the highest ``tf*idf``\n        scores as a list of (score, text) tuples.\n        "
    return nlargest(number, (((tf * (1.0 / df)), df) for (token, df, tf) in self.iter_prefix(fieldid, prefix)))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/reading.py IndexReader.most_distinctive_terms/VarMisuse@39/95 `token`->`df`