{"id":13446321,"url":"https://github.com/luisgustavoneves/happy","last_synced_at":"2025-03-21T06:31:15.831Z","repository":{"id":18193498,"uuid":"21315519","full_name":"luisgustavoneves/happy","owner":"luisgustavoneves","description":null,"archived":false,"fork":false,"pushed_at":"2014-07-12T02:15:01.000Z","size":626,"stargazers_count":73,"open_issues_count":1,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-01T05:19:24.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/luisgustavoneves.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-29T03:05:27.000Z","updated_at":"2022-04-30T03:11:46.000Z","dependencies_parsed_at":"2022-09-24T22:50:59.175Z","dependency_job_id":null,"html_url":"https://github.com/luisgustavoneves/happy","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/luisgustavoneves%2Fhappy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisgustavoneves%2Fhappy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisgustavoneves%2Fhappy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisgustavoneves%2Fhappy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luisgustavoneves","download_url":"https://codeload.github.com/luisgustavoneves/happy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221812295,"owners_count":16884574,"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-07-31T05:00:51.296Z","updated_at":"2024-10-28T09:31:11.505Z","avatar_url":"https://github.com/luisgustavoneves.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"happy\n=====\n\nHappiness meter for python. A sentiment analysis tool based on papers:\n\nhttp://www.uvm.edu/storylab/share/papers/dodds2014a/index.html\n\nhttp://www.uvm.edu/~cdanfort/research/dodds-danforth-johs-2009.pdf\n\nSetup\n-----\n\nFirst download files for target language:\n\nhttp://www.uvm.edu/storylab/share/papers/dodds2014a/data.html\n\nThen configure your language at the beginning of the code:\n\n```python\nLANG = \"target_language\"\n```\n\nUsage\n-----\n\n```python\nimport happy as h\n# shows text overall happiness index. Scale 1 (sad) to 9 (happy). Lower and upper limits for word filtering are optional,\n# default is 3 and 7 (only words with score bellow 3 or over 7 are considered).\nprint h.hi(text, 4, 6)\n# make an html page with point and click happiness graph with specified window. Lower and upper limits also configurable, \n# window, lower and upper are optional. \nh.hgraph('title', text, window, l, u)\n```\n\nRequirements\n------------\n\n- python 2.7\n- flot (for happiness graph) already included in source.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisgustavoneves%2Fhappy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluisgustavoneves%2Fhappy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisgustavoneves%2Fhappy/lists"}