Created
March 18, 2018 19:36
-
-
Save CristhianBoujon/85d894c6155f98650db0aaa8eeb7619a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cars_for_sell = [line.replace("\n", "") for line in open("cars_for_sell.txt")] | |
common_words = get_top_n_words(cars_for_sell, 20) | |
for word, freq in common_words: | |
print(word, freq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment