reshleman/yolo-ninja — pull request #9 by reshleman (2014-08-21 18:58:00+00:00)
Title: Perform sentiment analysis when creating Media Reviews

* Add fields to `media_reviews`: `headline`, `author`, `source`, and 3 fields for sentiment
* Add presence validations for `headline` and `source` to model
* Add `source`, `headline`, `author`, and `review_text` fields to `media_reviews#new`
* Update `Admin::MediaReviewsController` with new fields
* Update `MediaReview` model with methods for sentiment analysis
* Create `SentimentAnalyzer` class with analysis methods via API
* Display (unfiltered) sentiment values in `_media_review` partial