From 3b328c204204f564668b2d19e5e499312714f466 Mon Sep 17 00:00:00 2001 From: Crista Lopes Date: Wed, 19 Mar 2014 17:01:15 -0700 Subject: [PATCH] Made the main block clearer --- 24-quarantine/tf-24.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/24-quarantine/tf-24.py b/24-quarantine/tf-24.py index 5da4590..6501599 100644 --- a/24-quarantine/tf-24.py +++ b/24-quarantine/tf-24.py @@ -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()