Minor aesthetic details in go forth
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys, re, operator, string
|
||||
|
||||
#
|
||||
@@ -64,8 +63,7 @@ def remove_stop_words():
|
||||
else:
|
||||
heap['words'].append(stack.pop()) # pop it, store it
|
||||
stack.extend(heap['words']) # Load the words onto the stack
|
||||
del heap['stop_words'] # We don't need this variable anymore
|
||||
del heap['words'] # We don't need this variable anymore
|
||||
del heap['stop_words']; del heap['words'] # Not needed
|
||||
|
||||
def frequencies():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user