updated read_freqs docs

This commit is contained in:
Joshua Chin 2015-07-22 10:06:16 -04:00
parent 4fe9d110e1
commit 93cd902899

View File

@ -32,6 +32,9 @@ def read_freqs(filename, cutoff=0, lang=None):
If `cutoff` is greater than 0, the csv file must be sorted by frequency If `cutoff` is greater than 0, the csv file must be sorted by frequency
in descending order. in descending order.
If lang is given, read_freqs will apply language specific preprocessing
operations.
""" """
raw_counts = defaultdict(float) raw_counts = defaultdict(float)
total = 0. total = 0.