powered by
Function downloads IMDb dataset and prepares corresponding user ratings for easy usage.
loadImdb()
Returns a list where entry named Corpus contains the IMDb reviews, and Rating is the corresponding scaled rating.
Corpus
Rating
Pang and Lee (2015) Seeing Stars: Exploiting Class Relationships for Sentiment Categorization with Respect to Rating Scales, Proceeding of the ACL. See http://www.cs.cornell.edu/people/pabo/movie-review-data/
if (FALSE) { imdb <- loadImdb() dictionary <- generateDictionary(imdb$Corpus, imdb$Rating) }
Run the code above in your browser using DataLab