Made the main block clearer

This commit is contained in:
Crista Lopes
2014-03-19 17:01:15 -07:00
parent 2f483b1742
commit 3b328c2042

View File

@@ -68,6 +68,11 @@ def top25_freqs(word_freqs):
#
# The main function
#
quarantine = TFQuarantine(get_input).bind(extract_words).bind(remove_stop_words).bind(frequencies).bind(sort).bind(top25_freqs)
quarantine.execute()
TFQuarantine(get_input)\
.bind(extract_words)\
.bind(remove_stop_words)\
.bind(frequencies)\
.bind(sort)\
.bind(top25_freqs)\
.execute()