Load the tokenized Paradise Lost from the Gutenberg Corpus in NLTK
1. Load the tokenized Paradise Lost from the Gutenberg Corpus in NLTK.* https://www.nltk.org/book/ch02.html Links to an external site. ○ Stem or lemmatize the words and find counts. ○ Select the top 20 words and create a bar chart. ○ Exclude stop words and make sure you are including words of all capitalizations in your count. If there are any meaningless “words” (“thus” and single letters, etc.) that are produced in your list of top words, alter your logic to exclude them. ○ Specify why you chose stemming or lemmatization. 2. Perform Vader Sentiment Analysis on the book. ○ Find the 5 most negative, 5 most positive, and 5 most neutral sentences in Paradise Lost*. http://www.nltk.org/howto/sentiment.html ○ Links to an external site. ○ . This may take a while to run, so you can always start with a small subset of the data (100 sentences) and then once your code works as expected, expand it to the whole book and let it run. 3. Explain your findings from the previous question. Are the sentences and their sentiment analysis scores correct? Explain why or why not. *you can pick another book in the Gutenberg Corpus if you’re feeling adventurous or curious. 4. create a word cloud for your results from question 1 (see chapter 21 in your book for how to do this) The book name is: Data Science from Scratch, 2nd Edition
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
