diff --git a/07-infinite-mirror/tf-07.py b/07-infinite-mirror/tf-07.py index e622226..b23bd96 100755 --- a/07-infinite-mirror/tf-07.py +++ b/07-infinite-mirror/tf-07.py @@ -35,7 +35,7 @@ def wf_print(wordfreq): stop_words = set(open('../stop_words.txt').read().split(',')) words = re.findall('[a-z]{2,}', open(sys.argv[1]).read().lower()) word_freqs = {} -# Theoretically, we would just call count(words, word_freqs) +# Theoretically, we would just call count(words, stop_words, word_freqs) # Try doing that and see what happens. for i in range(0, len(words), RECURSION_LIMIT): count(words[i:i+RECURSION_LIMIT], stop_words, word_freqs)