diff --git a/wordfreq_builder/wordfreq_builder/word_counts.py b/wordfreq_builder/wordfreq_builder/word_counts.py index 03ae137..1eceb0f 100644 --- a/wordfreq_builder/wordfreq_builder/word_counts.py +++ b/wordfreq_builder/wordfreq_builder/word_counts.py @@ -27,7 +27,7 @@ def read_freqs(filename, cutoff=0): """ Read words and their frequencies from a CSV file. - Only words with a frequency greater than `cutoff` are returned. + Only words with a frequency greater than or equal to `cutoff` are returned. If `cutoff` is greater than 0, the csv file must be sorted by frequency in descending order.