Description Usage Arguments Examples
Corpus of movie reviews.
1 2 3 4 5 6 7 8 9 | movie_reviews_files(..., to_r = FALSE)
movie_reviews_words(file, to_r = FALSE)
movie_reviews_categories(file = NULL, to_r = FALSE)
movie_reviews_sents(file, to_r = FALSE)
movie_reviews_raw(file, to_r = FALSE)
|
... |
Any other options such as category. |
to_r |
Whether to return results in R tidy format. |
file |
A file containing movie reviews as returned by |
1 2 3 4 5 6 7 8 9 | ## Not run:
files <- movie_reviews_files(to_r = TRUE)
movie_reviews_words(sample(files, 1))
# by category
(movie_reviews_categories())
positive_reviews <- movie_reviews_files("pos", to_r = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.