Answered You can hire a professional tutor to get the answer.

QUESTION

I have broken it into two parts below as a suggestion for how to approach writing the code. Please turn in one program file.

his assignment requires you to write a single large program. I have broken it into two parts below as a suggestion for how to approach writing the code. Please turn in one program file.

Sentiment Analysis is a Big Data problem which seeks to determine the general attitude of a writer given some text they have written. For instance, we would like to have a program that could look at the text "The film was a breath of fresh air" and realize that it was a positive statement while "It made me want to poke out my eye balls" is negative. 

One algorithm that we can use for this is to assign a numeric value to any given word based on how positive or negative that word is and then score the statement based on the values of the words. But, how do we come up with our word scores in the first place?

That's the problem that we'll solve in this assignment. You are going to search through a file containing movie reviews from the Rotten Tomatoes website which have both a numeric score as well as text. You'll use this to learn which words are positive and which are negative.

The data file is movie_reviews.txt, and looks like this:

This quiet , introspective entertaining independent worth seeking .
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question