University : University of Stirling UniLearnO is not sponsored or endorsed by this college or university.
Subject Code : ITNPBD7
Country : India
Assignment Task
 

Movie Review Analysis
Your task in completing this assignment is to analyse some movie review data. The data are contained in a file called ratedReviews.txt, which you can download from the module assignment page on Canvas (a shorter version called shortReviews.txt is also available for testing purposes). The data files contains the text of movie reviews, each followed by a score from 1 to 9 indicating a rating given to the movie. Each review and score pair are on a single line of the file and the scores are separated from the reviews by a tab character, as shown in the following example:

his is the first film to go from forced.

 a cliche ? heist-gone-sour movie by the british gangster. 
elmore leonard novels have become staples for the scale.
this first feature film as director , is moody.

Your task is to write a Map/Reduce solution in Python that will process the movie reviews and produce the most common word used for each possible rating and how often that word occurred.
The final result will be 9 lines, one for each rating and should show the word and its associated count for the given rating (note that when testing your code, the short review sample will only produce 4 lines since it only contains samples for rating scores of 4,5,6 and 7). Sample output structure for the final result is shown below but this is only an example and is not the correct answer:
1 poor[12]
2 more[15]
3 light[12]
4 drama[11]
5 director[17]
6 fundamentally[12]
7 higher[17]
8 great[14]
9 excellent[11]

 

This ITNPBD7 - IT Assignment has been solved by our IT experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : Brett
  • Posted on : August 10th, 2019

Whatsapp Tap to ChatGet instant assistance