
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Sentiment is a simple gem which allows you to get the sentiment of a string. It returns 1 for positive words or sentences, -1 for negative ones and 0 if neutral.
Add this line to your application's Gemfile:
gem 'sentiment'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sentiment
Sentiment Analysis
require 'sentiment' client = Sentiment::Client.new("8w7d64oqweryiqweo87qnxtqwi47xqn3i4tisq7")
sentiment = client.sentiment("I love Ruby!","en")
=> 1
or sentiment = client.sentiment("amore","it")
=> 1
At this time the API supports the following languages:
KNOWN ISSUE:
In case you get a "NoMethodError: undefined method
stringify_keys' for #HTTParty::Response:0x007fa9231ab1b0"`
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that sentiment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.