APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 365 Weeks Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Computer Science Posted 21 Jul 2017 My Price 12.00

cmake_minimum_required

Assignment: Movie Review

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. You will see in the starter files, the data file, movieReviewsSmall.txt, contains lines which begin with a number and then have the text for a movie review.

Note that each review starts with a number 0 through 4 with the following meaning:

  • 0 : negative
  • 1 : somewhat negative
  • 2 : neutral
  • 3 : somewhat positive
  • 4 : positive

Starter Files

Download the starter file MovieReview-starter.zip.

Unzip it to create the MovieReview folder and open that project in CLion.

Inside the project you will notice a number of files.

  • main.cpp - contains the main method. It already reads the tagged movie review file movieReviewsSmall.txt into a collection of WordEntry objects stored in an Entries object. In fact the code in main relies on the Entries and WordEntry classes to be properly implemented by you. Additionally note that main.cpp contains a number of functions that you will need to implement (later).
  • Utils.h & Utils.cpp - contains helper utlities used by main, and that you can also use. Do not edit either of Utils.h nor Utils.cpp files.
  • WordEntry.h & WordEntry.cpp - contains the files to declare and define the WordEntry class which is used for keeping and computing statistics on the various words in the tagged movie review file. Do not edit WordEntry.h. Note: your code will go in WordEntry.cpp which contains comments detailing how each function should work.
  • Entries.h & Entries.cpp - contains the files to declare and define the Entries class which is a collection of WordEntry objects. Do not edit Entries.h. Note: your code will go in Entries.cpp which also contains comments detailing how each function should work.

Requirements

  • Do not edit any of these files (as noted previously and in the comments in the files):
    • Utils.h
    • Utils.cpp
    • WordEntry.h
    • Entries.h
  • You must implement each function in the WordEntry.cpp, Entries.cpp, and main.cpp marked with a TODO per the specification in the comments of the source code and the details below.
  • You are strongly encouraged to first implement WordEntry.cpp, followed by Entries.cpp, and then work on the functions in main.cpp. That way you can test your work as you go.
  • Watch the demo to see how the menu and functions in main.cpp should work. Also, refer to the comments in the source files for details on how the program should work.

What to submit

Zip only your main.cpp, WordEntry.cpp, and Entries.cpp files into a file named movie-reviews.zip.

Submit your movie-reviews.zip file.

This assignment is based on Eric D. Manley and Timothy M. Urness's 2016 Nifty Assignments submission, Movie Review Sentiment Analysis, http://nifty.stanford.edu/2016/manley-urness-movie-review-sentiment/, last access Sep 17, 2016.

Attachments:

Answers

Not Rated (0)
Status NEW Posted 21 Jul 2017 04:07 PM My Price 12.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- ----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m -----------on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)