Made the main block clearer
This commit is contained in:
@@ -68,6 +68,11 @@ def top25_freqs(word_freqs):
|
|||||||
#
|
#
|
||||||
# The main function
|
# The main function
|
||||||
#
|
#
|
||||||
quarantine = TFQuarantine(get_input).bind(extract_words).bind(remove_stop_words).bind(frequencies).bind(sort).bind(top25_freqs)
|
TFQuarantine(get_input)\
|
||||||
quarantine.execute()
|
.bind(extract_words)\
|
||||||
|
.bind(remove_stop_words)\
|
||||||
|
.bind(frequencies)\
|
||||||
|
.bind(sort)\
|
||||||
|
.bind(top25_freqs)\
|
||||||
|
.execute()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user