mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-24 01:41:39 +00:00
parent
be8921869a
commit
c0650a6893
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user