{"id":17166714,"url":"https://github.com/willf/sentimenticon","last_synced_at":"2025-07-26T15:32:03.845Z","repository":{"id":30716851,"uuid":"34273033","full_name":"willf/sentimenticon","owner":"willf","description":"Word-based sentiment analyzer","archived":false,"fork":false,"pushed_at":"2015-04-20T20:47:58.000Z","size":284,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-01T13:45:29.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-20T16:40:50.000Z","updated_at":"2018-08-29T20:55:54.000Z","dependencies_parsed_at":"2022-09-08T18:30:25.521Z","dependency_job_id":null,"html_url":"https://github.com/willf/sentimenticon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fsentimenticon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fsentimenticon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fsentimenticon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fsentimenticon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willf","download_url":"https://codeload.github.com/willf/sentimenticon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227691977,"owners_count":17805174,"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-10-14T23:06:28.155Z","updated_at":"2024-12-02T07:41:12.746Z","avatar_url":"https://github.com/willf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"The sentiment module provides methods for returning word-level and\naverage word sentiment scores, currently for English only.\n\nThe sentiment data is from the article Temporal Patterns of Happiness and Information in a Global Social Network: Hedonometrics and Twitter\nPeter Sheridan Dodds, Kameron Decker Harris, Isabel M. Kloumann, Catherine A. Bliss, and Christopher M. Danforth\n\nSentiments range from -1.0 to 1.0, where -1.0 is the most unfavorable, and 1.0 is the most favorable.\n\nIn addition, a Sentiment object can be inspected for the original values from the Hedonometrics paper.\n\nExamples::\n    \n    \u003e\u003e\u003e from sentimenicon import sentiment\n    \u003e\u003e\u003e a = sentiment.Analyzer\n    \u003e\u003e\u003e print a.word_sentiment(\"happy\")\n    \u003e\u003e\u003e print a.word_sentiment(\"terrorist\")\n    \u003e\u003e\u003e print a.average_word_sentiment(\"I love a happy friend\".lower().split(\" \"))\n    \u003e\u003e\u003e s = a.sentiment_object(\"happy\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillf%2Fsentimenticon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillf%2Fsentimenticon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillf%2Fsentimenticon/lists"}