{"id":20106148,"url":"https://github.com/himkt/polaris","last_synced_at":"2025-08-03T11:32:25.384Z","repository":{"id":32414075,"uuid":"35991027","full_name":"himkt/polaris","owner":"himkt","description":"simple sentimental analyzer based on polarity words dictionary","archived":false,"fork":false,"pushed_at":"2016-07-04T14:14:39.000Z","size":510,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T19:51:14.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/polaris-nlp","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-21T04:30:33.000Z","updated_at":"2025-06-11T05:43:58.000Z","dependencies_parsed_at":"2022-08-20T23:40:45.477Z","dependency_job_id":null,"html_url":"https://github.com/himkt/polaris","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/himkt/polaris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpolaris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpolaris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpolaris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpolaris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himkt","download_url":"https://codeload.github.com/himkt/polaris/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpolaris/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265175125,"owners_count":23722646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T17:49:13.644Z","updated_at":"2025-08-03T11:32:25.096Z","avatar_url":"https://github.com/himkt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polaris\n\n[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)\n[![Website](https://img.shields.io/website-up-down-green-red/http/shields.io.svg?maxAge=2592000)](https://rubygems.org/gems/polaris-nlp)\n[![GitHub issues](https://img.shields.io/github/issues/himkt/polaris.svg)](https://github.com/himkt/polaris/issues)\n[![GitHub stars](https://img.shields.io/github/stars/himkt/polaris.svg)](https://github.com/himkt/polaris/stargazers) \n[![GitHub release](https://img.shields.io/github/release/qubyte/rubidium.svg?maxAge=2592000)](https://github.com/himkt/polaris) \n[![GitHub commits](https://img.shields.io/github/commits-since/SubtitleEdit/subtitleedit/3.4.7.svg?maxAge=2592000)](https://github.com/himkt/polaris)\n\nnatural language processing / polarity analysis--\n\nPolaris provides methods for polarity analysis (semantic orientations).  \n\nI use a dataset offered by the Tokyo Institute of Technology.  \n\n[Semantic Orientations of Words](http://www.lr.pi.titech.ac.jp/~takamura/pndic_en.html)  \n\nGem Interface\n\n## Requirements\n\n* mecab\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'polaris/nlp'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install polaris-nlp\n\n## Usage\n\n### Init\n\n```ruby\n\nrequire 'polaris/nlp'\nPolaris::Nlp.init\n\n```\n\n### Calculate polarity\n\n```ruby\nrequire 'polaris/nlp'\nputs Polaris::Nlp.calc_polarity(\"I'm happy !\")\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/polaris-nlp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fpolaris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimkt%2Fpolaris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fpolaris/lists"}