MovieSentimentApp
This app loads training data for a SentimentAnalyzer from a text file that contains movie reviews. It then interacts with the user in the text console, interactively prompting them to enter movie reviews and using the analyzer to report whether those reviews are positive or negative. The session ends when the user enters an empty input.
(The training data is originally from the Rotten Tomatoes review aggregator, was collected by the Sentiment Analysis project at Stanford University. It has been further pre-processed for educational purposes first by Eric D. Manley and Timothy M. Urness, then by Juha Sorva.)
Value members
Concrete methods
Given a movie review, returns a string report of whether it seems positive or negative.
Given a movie review, returns a string report of whether it seems positive or negative.
Inherited methods
Deprecated and Inherited methods
- Deprecated
[Since version 2.11.0]
the delayedInit mechanism will disappear- Definition Classes
- App -> DelayedInit
- Inherited from:
- App
Concrete fields
A SentimentAnalyzer trained with a set of movie reviews and their human-assigned sentiment ratings.
A SentimentAnalyzer trained with a set of movie reviews and their human-assigned sentiment ratings.