More comments in style 01

This commit is contained in:
Crista Lopes
2013-11-03 10:11:40 -08:00
parent 1c729d9d63
commit 8f32eba166

View File

@@ -111,7 +111,7 @@ while True:
data[25] = word_freqs.readline().strip()
if data[25] == '': # EOF
break
data[26] = int(data[25].split(',')[1])
data[26] = int(data[25].split(',')[1]) # Read it as integer
data[25] = data[25].split(',')[0].strip() # word, no white space
# Check if this word has more counts than the ones in memory
for i in range(25): # elimination of symbol i left as exercise