{"id":15700257,"url":"https://github.com/kalebu/emotion-text-analyzer-","last_synced_at":"2026-04-10T10:02:01.835Z","repository":{"id":103910518,"uuid":"260398006","full_name":"Kalebu/Emotion-text-analyzer-","owner":"Kalebu","description":"A python program that detects emotions (sentiment) associated with texts ","archived":false,"fork":false,"pushed_at":"2021-05-14T09:51:37.000Z","size":2,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-31T16:48:30.704Z","etag":null,"topics":["emotion-text-analyzer","python","python-tanzania","python3","sentiment","sentiment-analyser","sentiment-analysis"],"latest_commit_sha":null,"homepage":"https://kalebujordan.dev/how-to-detect-emotions-associated-with-text-using-python/","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/Kalebu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-01T06:55:24.000Z","updated_at":"2022-09-12T06:47:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c466c0b-f7d8-4472-8aed-881a0978c1b6","html_url":"https://github.com/Kalebu/Emotion-text-analyzer-","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kalebu/Emotion-text-analyzer-","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2FEmotion-text-analyzer-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2FEmotion-text-analyzer-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2FEmotion-text-analyzer-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2FEmotion-text-analyzer-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kalebu","download_url":"https://codeload.github.com/Kalebu/Emotion-text-analyzer-/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kalebu%2FEmotion-text-analyzer-/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31637747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["emotion-text-analyzer","python","python-tanzania","python3","sentiment","sentiment-analyser","sentiment-analysis"],"created_at":"2024-10-03T19:47:06.408Z","updated_at":"2026-04-10T10:02:01.795Z","avatar_url":"https://github.com/Kalebu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Emotion-text-analyzer](https://kalebujordan.dev/how-to-detect-emotions-associated-with-text-using-python/)\n\nThis project demostrates how to approach building a program that can help in analyzing emotions or sometimes known as sentiment associated with textual data.\n\n## Getting started\n\nTo get started with this script, you have to clone or download the repository just as shown below;\n\n```bash\ngit clone https://github.com/Kalebu/Emotion-text-analyzer-\ncd Emotion-text-analyzer-\nEmotion-text-analyzer--\u003e \n```\n\n## Dependencies\n\nIn this project, I used [textblob](https://textblob.readthedocs.io/en/dev/) as natural language processing library(NLP),therefor you to make sure it installed before running.\n\n```bash\npip install textblob\n```\n\n## textblob ?\n\nWith textblob you can detect the sentiment analysis of a text in just one line, just as shown below;\n\n```python\n\u003e\u003e\u003e from textblob import TextBlob\n\u003e\u003e\u003e TextBlob('cool just like this').sentiment.polarity\n0.35\n```\n\n## Demo Project\n\nThe [app.py](https://github.com/Kalebu/Emotion-text-analyzer-/blob/master/app.py) demostrates how you can use that simplicity in real life by analyzing customer reviews or feebacks. \n\n### Examples of feedbacks \n\nFeebacks Examples are included directly in the source code but in mostly cases you may be reading data from somewhere in your file system or even from cloud, this is just to show you hows it done.\n\n```python\nfeedbacks = ['I love the app is amazing ',\n             \"The experience was bad as hell\",\n             \"This app is really helpful\",\n             \"Damn the app tastes like shit \",\n             'Please don\\'t download the app you will regret it ']\n\n```\n\n### Running\n\nNow your script and you will realize textblob has correctly grouped and counted negative reviews vs positive reviews \n\n```bash\nPositive_feebacks Count : 2\n['I love the app is amazing ', 'This app is really helpful']\nNegative_feedback Count : 3\n['The experience was bad as hell', 'Damn the app tastes like shit ', \"Please don't download the app you will regret it \"]\n\n```\n\n## Issues ?\n\nDid you face any issue while trying to run the project, raise one and I'm looking forward fixing it as soon as I can.\n\n\n## Contribution ?\n\nHave something to add to the source code to make it more legit;\n\n- fork it\n- add your changes\n- update documentation\n- submit a pull request\n\n## Credits\n\nAll the credits to [Kalebu](https://github.com/Kalebu)\n\n## Where to find me ?\n\n- [Personal Blog](https://kalebujordan.dev/)\n- [Telegram](https://t.me/kalebujordan) \n- [LinkedIn](https://www.linkedin.com/in/kalebu-gwalugano/) \n- [Twitter](https://twitter.com/j_kalebu) \n- [Instagram](https://www.instagram.com/kalebu_jordan/) \n- [Facebook](https://web.facebook.com/kalebu.jordan)\n- isaackeinstein(at)gmail.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalebu%2Femotion-text-analyzer-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalebu%2Femotion-text-analyzer-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalebu%2Femotion-text-analyzer-/lists"}