{"id":13746409,"url":"https://github.com/watson-developer-cloud/sentiment-and-emotion","last_synced_at":"2025-05-09T07:30:38.233Z","repository":{"id":66139950,"uuid":"51939421","full_name":"watson-developer-cloud/sentiment-and-emotion","owner":"watson-developer-cloud","description":"DEPRECATED: this repo is no longer actively maintained","archived":true,"fork":false,"pushed_at":"2019-05-21T15:38:03.000Z","size":408,"stargazers_count":50,"open_issues_count":0,"forks_count":52,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-02-26T03:35:29.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watson-developer-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-02-17T17:01:11.000Z","updated_at":"2023-01-28T18:17:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b53a8a91-81ef-430c-8cad-65b51d3ccebc","html_url":"https://github.com/watson-developer-cloud/sentiment-and-emotion","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsentiment-and-emotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsentiment-and-emotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsentiment-and-emotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsentiment-and-emotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson-developer-cloud","download_url":"https://codeload.github.com/watson-developer-cloud/sentiment-and-emotion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253209242,"owners_count":21871618,"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-08-03T06:00:53.209Z","updated_at":"2025-05-09T07:30:37.911Z","avatar_url":"https://github.com/watson-developer-cloud.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# Sentiment and Emotion Tracker using Natural Language Understanding\n\n## DEPRECATED: this repo is no longer actively maintained. It can still be used as reference, but may contain outdated or unpatched code.\n\nSentiment and Emotion application detect sentiment and emotions from people's digital footprints (e.g., online reviews and social media text) with [IBM Waston](watson) Technology. The application can reveal the overall emotion and sentiment patterns from a text of interest, including the changes and details of positive or negative sentiment and emotions of \"anger\", \"disgust\", \"sadness\", \"fear\" and \"joy\".\n\n ![Sentiment \u0026 Emotion Tracker](http://i.imgur.com/kEg5hBi.png)\n\nGive it a try! Click the button below to fork into IBM DevOps Services and deploy your own copy of this application on Bluemix.\n\n## Getting started\n\n1. You need a Bluemix account. If you don't have one, [sign up][sign_up].\n\n2. Download and install the [Cloud-foundry CLI][cloud_foundry] tool if you haven't already.\n\n3. Edit the `manifest.yml` file and change `\u003capplication-name\u003e` to something unique. The name you use determines the URL of your application. For example, `\u003capplication-name\u003e.mybluemix.net`.\n\n  ```yaml\n  applications:\n  - services:\n    - my-nlu-service\n    name: \u003capplication-name\u003e\n    command: npm start\n    path: .\n    memory: 512M\n  ```\n\n4. Connect to Bluemix with the command line tool.\n\n  ```sh\n  cf api https://api.ng.bluemix.net\n  cf login\n  ```\n\n5. Create and retrieve service keys to access the [Natural Language Understanding][service_url] service:\n\n  ```none\n  cf create-service natural-language-understanding free my-nlu-service\n  cf create-service-key my-nlu-service myKey\n  cf service-key my-nlu-service myKey\n  ```\n\n6. Create a `.env` file in the root directory by copying the sample `.env.example` file using the following command:\n\n  ```none\n  cp .env.example .env\n  ```\n  You will update the `.env` with the information you retrieved in steps 5.\n\n  The `.env` file will look something like the following:\n\n  ```none\n  NATURAL_LANGUAGE_UNDERSTANDING_USERNAME=\u003cusername\u003e\n  NATURAL_LANGUAGE_UNDERSTANDING_PASSWORD=\u003cpassword\u003e\n  ```\n\n7. Install the dependencies you application need:\n\n  ```none\n  npm install\n  ```\n\n8. Start the application locally:\n\n  ```none\n  npm start\n  ```\n\n9. Point your browser to [http://localhost:3000](http://localhost:3000).\n\n10. **Optional:** Push the application to Bluemix:\n\n  ```none\n  cf push\n  ```\n\nAfter completing the steps above, you are ready to test your application. Start a browser and enter the URL of your application.\n\n            \u003cyour application name\u003e.mybluemix.net\n\n\nFor more details about developing applications that use Watson Developer Cloud services in Bluemix, see [Getting started with Watson Developer Cloud and Bluemix][getting_started].\n\n\n## Troubleshooting\n\n* The main source of troubleshooting and recovery information is the Bluemix log. To view the log, run the following command:\n\n  ```sh\n  cf logs \u003capplication-name\u003e --recent\n  ```\n\n* For more details about the service, see the [documentation][docs] for the Speech to Text service.\n\n## License\n\nThis sample code is licensed under Apache 2.0. Full license text is available in [LICENSE](LICENSE).\nThis sample code uses d3 and jQuery, both distributed under MIT license.\n\n## Open Source @ IBM\nFind more open source projects on the [IBM Github Page](http://ibm.github.io/)\n\n[service_url]: https://www.ibm.com/watson/services/natural-language-understanding/\n[watson]: https://www.ibm.com/watson/developer/\n[cloud_foundry]: https://github.com/cloudfoundry/cli\n[getting_started]: https://console.bluemix.net/docs/services/watson/index.html\n[sign_up]: https://console.ng.bluemix.net/registration?target=%2Fcatalog%2F%3Fcategory%3Dwatson\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson-developer-cloud%2Fsentiment-and-emotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson-developer-cloud%2Fsentiment-and-emotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson-developer-cloud%2Fsentiment-and-emotion/lists"}