E241 double space after ,; minor whitespace changes.
@@ -94,6 +94,7 @@ def vectorize(opt, ex, word_dict, feature_dict):
# Counting from the end, each (full-stop terminated) sentence gets
# its own time identitfier.
sent_idx = 0
+
def _full_stop(w):
return w in {'.', '?', '!'}
for i, w in reversed(list(enumerate(ex['document']))):
