Fixed typo in comment

This commit is contained in:
Crista Lopes
2014-03-11 08:26:54 -07:00
parent adc29f814a
commit 56500a9255

View File

@@ -38,7 +38,7 @@ def split_words(data_str):
def count_words(pairs_list_1, pairs_list_2): def count_words(pairs_list_1, pairs_list_2):
""" """
Takes a two lists of pairs of the form Takes two lists of pairs of the form
[(w1, 1), ...] [(w1, 1), ...]
and returns a list of pairs [(w1, frequency), ...], and returns a list of pairs [(w1, frequency), ...],
where frequency is the sum of all the reported occurrences where frequency is the sum of all the reported occurrences