Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
foamliu committed Sep 4, 2019
1 parent 8fac001 commit 2d780ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngram_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
assert (len(freq_list) == vocab_size)
bigram_freq[i] = freq_list

print(len(bigram_freq[0]))
with open('bigram_freq.pkl', 'wb') as file:
pickle.dump(bigram_freq, file)

0 comments on commit 2d780ef

Please sign in to comment.