def keep_min_fq(term_d, min_freq):
    """ keep_min_fq(): is getting a dictionary of Terms-Frequencies and
        the minimum frequnecy value and retruns only the terms with this
        frequency and above. """

    return dict([(term, freq) for term, freq in term_d.items() if freq >= min_freq])