Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/patrickmineault/codebook in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
patrickmineault committed Dec 19, 2021
2 parents d315fbd + ab7ea7d commit 57d56ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions decoupled.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ def count_words_in_file(in_file, out_file):
for w in W:
if w != '':
if w in counts:
counts[word] += 1
counts[w] += 1
else:
counts[word] = 0
counts[w] = 0
with open(out_file, 'w') as f:
for k in counts.keys():
Expand Down Expand Up @@ -427,9 +427,9 @@ def count_words_in_file(in_file, out_file):
for w in W:
if w != '':
if w in counts:
counts[word] += 1
counts[w] += 1
else:
counts[word] = 0
counts[w] = 0
with open(out_file, 'w') as f:
for k in counts.keys():
Expand Down

0 comments on commit 57d56ae

Please sign in to comment.