WIP
Filter sentences in a specified text file by sentiment analyais value range. Uses Treat for sentence segmentation and sentimental for sentiment analysis.
Add this line to your application's Gemfile:
gem "sentimentia"
And then execute:
$ bundle
Or install it yourself as:
$ gem install sentimentia
# Output sentences with sentiment analysis values equal to or greater than
# -4.0 and less than or equal to 1.0
sentimentia share/text/wuthering-heights.txt -4.0 1.0
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request