{"action":"created","issue":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2317","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2317/labels{/name}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2317/comments","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2317/events","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2317","id":120134945,"number":2317,"title":"Sentiment analysis","user":{"login":"gpestana","id":1398860,"avatar_url":"https://avatars.githubusercontent.com/u/1398860?v=3","gravatar_id":"","url":"https://api.github.com/users/gpestana","html_url":"https://github.com/gpestana","followers_url":"https://api.github.com/users/gpestana/followers","following_url":"https://api.github.com/users/gpestana/following{/other_user}","gists_url":"https://api.github.com/users/gpestana/gists{/gist_id}","starred_url":"https://api.github.com/users/gpestana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpestana/subscriptions","organizations_url":"https://api.github.com/users/gpestana/orgs","repos_url":"https://api.github.com/users/gpestana/repos","events_url":"https://api.github.com/users/gpestana/events{/privacy}","received_events_url":"https://api.github.com/users/gpestana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/labels/New%20Instant%20Answer","name":"New Instant Answer","color":"02d7e1"},{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/labels/Work%20In%20Progress","name":"Work In Progress","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-03T10:09:27Z","updated_at":"2015-12-24T19:29:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2317","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2317","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2317.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2317.patch"},"body":"**What does your Instant Answer do?**\r\nIt returns the [sentiment analysis](https://en.wikipedia.org/wiki/Sentiment_analysis)'s score of a text or online content (webpage, twiter, facebook post, ..). The information rendered is the overall sentiment analysis of the text and the list of entities, its relevance in the document and pointers for disambiguation (if needed). \r\n\r\n**What problem does your Instant Answer solve (Why is it better than organic links)?**\r\nMakes it easy to understand and make sense of large documents and texts. The analysis of large texts (academical or other) can be simplified by understanding the overall sentiment analysis of the document and by understanding the entities and its relevance in the context of the document. To accomplish this, it is needed some level of computation to analyse the sentiment of a text. An IA works perfectly in this case.\r\n\r\n**What is the data source for your Instant Answer? (Provide a link if possible)**\r\nThere is no data source. The IA relies only on an API.\r\n\r\n**Why did you choose this data source?**\r\n(read above)\r\n\r\n**Are there any other alternative (better) data sources?**\r\n(read above). As for the API, this seems the most stable and powerful out there. Also is implemented and maintained by IBM.\r\n\r\n**What are some example queries that trigger this Instant Answer?**\r\n- \"sentiment analysis http://www.twitter.com/account/twitterID\"\r\n- \"sentiment of today is a beautiful day and I'm sure it will be fun.\"\r\n- \"sa newsarticles.com/news\"\r\n\r\n**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**\r\nBook lovers, researchers. Curious users. People who are leaning a language. \r\n\r\n**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**\r\n[Yes](https://duck.co/ideas/idea/6767/sentiment-analysis-of-text-and-external-sources-in)\r\n\r\n**Which existing Instant Answers will this one supersede/overlap with?**\r\nNone to my knowledge\r\n\r\n**Are you having any problems? Do you need our help with anything?**\r\nOnly feedback so far.\r\n\r\n**What are the terms of use for the API? Will DuckDuckGo need specific authorization (e.g. an API key)? Are there any costs associated with API usage?**\r\nAPI key from IBM's [alchemy api](http://alchemyapi.com). The terms of usage can be checked [here](http://www.alchemyapi.com/company/terms.html).\r\n\r\n**Where did you hear about DuckDuckHack?**\r\nHonestly, I can't recall. I've been using it for a while now.\r\n\r\n**What does the Instant Answer look like?**\r\nIn the first iteration:\r\n![In the first iteration] (http://i.imgur.com/99lWpuT.png)\r\n\r\n## Checklist\r\nPlease place an 'X' where appropriate.\r\n\r\n```\r\n[X] Added metadata and attribution information\r\n[X] Wrote test file and added to t/ directory\r\n[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)\r\n[X] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)\r\n[] Tested cross-browser compatibility\r\n\r\n Please let us know which browsers/devices you've tested on:\r\n    - Windows 10\r\n        - [] Google Chrome\r\n        - [] Firefox\r\n        - [] Opera\r\n        - [] IE 11\r\n        - [] Microsoft edge\r\n        \r\n    - Windows 8\r\n        - [] Google Chrome\r\n        - [] Firefox\r\n        - [] Opera\r\n        - [] IE 10\r\n\r\n    - Windows 7\r\n        - [] Google Chrome\r\n        - [] Firefox\r\n        - [] Opera\r\n        - [] IE 8\r\n        - [] IE 9\r\n        - [] IE 10\r\n\r\n    - Windows XP\r\n        - [] IE 7\r\n        - [] IE 8\r\n\r\n    - Linux\r\n        - [X] Google Chrome\r\n        - [X] Firefox\r\n        \r\n    - Mac OSX\r\n        - [] Google Chrome\r\n        - [] Firefox\r\n        - [] Opera\r\n        - [] Safari\r\n\r\n    - iOS (iPhone)\r\n        - [] Safari Mobile\r\n        - [] Google Chrome\r\n        - [] Opera\r\n\r\n    - iOS (iPad)\r\n        - [] Safari Mobile\r\n        - [] Google Chrome\r\n        - [] Opera\r\n\r\n    - Android\r\n        - [] Firefox\r\n        - [] Native Browser\r\n        - [] Google Chrome\r\n        - [] Opera\r\n\r\n```\r\n\r\n\r\n-----\r\nIA Page: https://duck.co/ia/view/sentiment_analysis"},"comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/comments/167151701","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2317#issuecomment-167151701","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2317","id":167151701,"user":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T19:29:54Z","updated_at":"2015-12-24T19:29:54Z","body":"@gpestana Ping! I'm just checking in to see if you're still interested in finishing this one up? We'd love to see this go live!\r\n\r\nThere's absolutely no rush, just wanted to make sure you're not stuck on anything."}}