loadImdb: Retrieves IMDb dataset

Description Usage Value References Examples

View source: R/data.R

Description

Function downloads IMDb dataset and prepares corresponding user ratings for easy usage.

Usage

1

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

1
2
3
4
5
## Not run: 
imdb <- loadImdb()
dictionary <- generateDictionary(imdb$Corpus, imdb$Rating)

## End(Not run)

SentimentAnalysis documentation built on April 10, 2018, 1:03 a.m.