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

QUESTION

Background As a number of people had issues with MovieReview I am breaking it down into smaller assignments to help you focus, and to help me in

Background

As a number of people had issues with MovieReview I am breaking it down into smaller assignments to help you focus, and to help me in determining areas where you need help.

So in this assignment you will just write the methods for the MovieReview class.  To further assist you in determining if the code you write is correct, I am provide an extensive group of unit tests that will test your code fully.

The original MovieReview assignment deals with sentiment analysis of movie reviews.  As noted in the past assignment 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.  

In the full MovieReview assignment, the idea was to figure out which words (and reviews) are positive or negative based on previously seen and rated movie reviews.  Central to this is the WordEntry class, the declaration of which is in WordEntry.h in the starter files.  WordEntry objects will track stats for words (seen in future assignments).  A WordEntry contains the word in question, along with stats for the total number of occurrences, and the total (sentiment) score.  From these it can compute the average (sentiment) score for a word. 

Specification

This is not a group assignment.  You must complete this on your own.

Using the MovieReview-WordEntry-starter.zip as a starter for your code, you will implement the methods and function in WordEntry.cpp to the specification given in the comments of the WordEntry.cpp file and must pass the testing done by the unit tests.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question