Skip to content

We create a function that takes the data from the csv file and prints the five classifications with a list of the x most repeated words for each classification.

Notifications You must be signed in to change notification settings

nykolai-d/most_common_words_in_news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

most_common_words_in_news

The file news.csv has data extracted from news on the internet with its corresponding classification depending on its content. They have five classifications: economy, sports, science, culture and entertainment.

We create a function that takes the data from the csv file and prints the five classifications with a list of the x most repeated words for each classification. The function has two parameters: the name of the file to be read and the number of words to show.

We use pandas, NLTK, gensim and collections.

About

We create a function that takes the data from the csv file and prints the five classifications with a list of the x most repeated words for each classification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published