loadImdb {SentimentAnalysis} | R Documentation |
Retrieves IMDb dataset
Description
Function downloads IMDb dataset and prepares corresponding user ratings for easy usage.
Usage
loadImdb()
Value
Returns a list where entry named Corpus
contains the IMDb reviews,
and Rating
is the corresponding scaled rating.
References
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/
Examples
## Not run:
imdb <- loadImdb()
dictionary <- generateDictionary(imdb$Corpus, imdb$Rating)
## End(Not run)
[Package SentimentAnalysis version 1.3-5 Index]