SlideShare a Scribd company logo
1 of 17
Download to read offline
The Combined Power of Sentiment
Analysis and Personality Insights
Housekeeping Items
• Webinar widgets
• Ask your questions throughout the
presentation
• Twitter - #BuildingWithWatson, @IBMWatson
• Follow up
• Webinar slides, live recording and
additional resources
Our Expert: Zach Walchuk
Developer Evangelist, Watson
Developer Cloud
The housekeeping items
• Webinar slides, recording and Q&A will be emailed
• Enter questions in chat on webinar panel
• Or ask your questions on Twitter @IBMWatson
• Use #BuildingWithWatson
What will be covered today?
• Approaches to sentiment analysis
• Watson Personality Insights: The Big 5
• Sample calls
• Parameter explanation
• Document-­level,  entity-­targeted,  and  keyword-­targeted  sentiment  mining.
• Understands  negations,  amplifiers,  diminishers,  typos,  hashtags and  slang.
• Examples:
– Overall  Text  Sentiment
• So  happy  I  found  this  pizza
– Targeted  Sentiment
• So  happy  I  found  this  pizza,  I  really  don't  like  hot  dogs
Extract  positive  and  negative  opinions  from  any  text.
Sentiment Analysis
Watson Personality Insights: The Big 5
• Agreeableness
• A person's tendency to be compassionate and cooperative toward others
• Conscientiousness
• A person's tendency to act in an organized or thoughtful way
• Extraversion
• A person's tendency to seek stimulation in the company of others
• Emotional Range
• The extent to which a person's emotions are sensitive to the
individual's environment
• Openness
• The extent to which a person is open to experiencing a variety of
activities
Watson Personality Insights: The Big 5
Making Sentiment Calls - cURL
curl
'http://access.alchemyapi.com/calls/text/TextGetTextSentiment?outputMode=json&text=That%20
pizza%20was%20delicious&apikey=YOUR_API_KEY'
{
"status": "OK",
"totalTransactions": "1",
"language": "english",
"docSentiment": {
"score": "0.660833",
"type": "positive"
}
}
Sentiment Parameters
#AlchemistHour
• url – url of text to be analyzed
• only used with endpoints URLGetTextSentiment and
URLGetTargetedSentiment
• text – text to be analyzed
• only used with endpoints TextGetTextSentiment and
TextGetTargetedSentiment
• target – target phrase
• apikey – your API key
• outputMode –xml, json
• jsonp – desired JSONP callback (requires json outputMode)
• showSourceText – whether to include the original 'source text' the
sentiment was extracted from
Additional info for Sentiment Analysis
• Maximum document size for HTML documents is 600kb. Remaining
text after HTML cleaning must be less than 50kb.
• Sentiment analysis is supported for eight languages: English,
Spanish, Italian, German, French, Portuguese, Swedish, and Russia
• If the sentiment target is not found, a "cannot-locate-keyphrase" error
response will be returned
Making Personality Insights Calls - cURL
curl -v -X POST -d @personality.txt -u USERNAME:PASSWORD -H "Accept-Language: en"
-H "Content-Type: text/plain" -H "Accept: application/json" "Content-Language: en"
"https://gateway.watsonplatform.net/personality-insights/api/v2/profile"
{
"id": "Openness",
"name": "Openness",
"category": "personality",
"percentage": 0.8925013538451143,
},
{
"id": "Conscientiousness",
"name": "Conscientiousness",
"category": "personality",
"percentage": 0.7348076938514495,
},
{
"id": "Extraversion",
"name": "Extraversion",
"category": "personality",
"percentage": 0.4771565706306179,
},
{
"id": "Agreeableness",
"name": "Agreeableness",
"category": "personality",
"percentage": 0.4130282366306227,
},
{
"id": "Neuroticism",
"name": "Emotional range",
"category": "personality",
"percentage": 0.09469501678631477,
}
Personality Insights Header Parameters
• Content-Type – text/plain, text/html, application/json
• Accept – application/json, text/csv
• Accept-Language – en (english response only)
• Content-Language – en, es (english or spanish input)
• include_raw - if true, will return a raw score for each characteristic in
addition to a normalized score
• headers – if true, column labels are returned with CSV response
Are you ready to get started?
• Get an AlchemyAPI key and sign up on Bluemix
• Download the Alchemy and Watson SDKs
• Check out the Getting Started Guides and WDC
Documentation for examples
• Ask me questions!
Q&A
• Look out for a follow up email with a copy of these slides, a recording of
the webinar, Q&A recap, and additional resources
• View and share this presentation on SlideShare
• Follow us for more webinars
What’s next?
Contact us
1-877-253-0308
wdc-dev@bg.vnet.ibm.com
www.alchemyapi.com
Thank you for attending!

More Related Content

What's hot

Marketing your own application
Marketing your own applicationMarketing your own application
Marketing your own application
Vero Pepperrell
 

What's hot (20)

Building with Watson - Conversational Apps: What We've Learned and Where We'r...
Building with Watson - Conversational Apps: What We've Learned and Where We'r...Building with Watson - Conversational Apps: What We've Learned and Where We'r...
Building with Watson - Conversational Apps: What We've Learned and Where We'r...
 
Urello wcabq
Urello wcabqUrello wcabq
Urello wcabq
 
Don't be a Drag to Refresh
Don't be a Drag to RefreshDon't be a Drag to Refresh
Don't be a Drag to Refresh
 
Building High Performance Web Applications
Building High Performance Web ApplicationsBuilding High Performance Web Applications
Building High Performance Web Applications
 
Disrupting Internal Processes with Artificial Intelligence APIs
Disrupting Internal Processes with Artificial Intelligence APIsDisrupting Internal Processes with Artificial Intelligence APIs
Disrupting Internal Processes with Artificial Intelligence APIs
 
WordCamp Reno - WP Network Effects
WordCamp Reno - WP Network EffectsWordCamp Reno - WP Network Effects
WordCamp Reno - WP Network Effects
 
Charity Hound - Serverless, NoOps, The Tooth Fairy
Charity Hound - Serverless, NoOps, The Tooth FairyCharity Hound - Serverless, NoOps, The Tooth Fairy
Charity Hound - Serverless, NoOps, The Tooth Fairy
 
ValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIsValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIs
 
Exploring Content API Options - March 23rd 2016
Exploring Content API Options - March 23rd 2016Exploring Content API Options - March 23rd 2016
Exploring Content API Options - March 23rd 2016
 
Marketing your own application
Marketing your own applicationMarketing your own application
Marketing your own application
 
German introduction to sp framework
German   introduction to sp frameworkGerman   introduction to sp framework
German introduction to sp framework
 
SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph
SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft GraphSharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph
SharePoint Fest Chicago - Introduction to AngularJS with the Microsoft Graph
 
Automation Awesomeness: Scaling JIRA Service Desk
Automation Awesomeness: Scaling JIRA Service DeskAutomation Awesomeness: Scaling JIRA Service Desk
Automation Awesomeness: Scaling JIRA Service Desk
 
CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010
 
Writing Your First Plugin
Writing Your First PluginWriting Your First Plugin
Writing Your First Plugin
 
SharePoint Fest Chicago - From SharePoint to Office 365 Development
SharePoint Fest Chicago - From SharePoint to Office 365 DevelopmentSharePoint Fest Chicago - From SharePoint to Office 365 Development
SharePoint Fest Chicago - From SharePoint to Office 365 Development
 
Wordpress Saigon August 2016 Meetup
Wordpress Saigon August 2016 MeetupWordpress Saigon August 2016 Meetup
Wordpress Saigon August 2016 Meetup
 
Contributing Back to WordPress - Getting Involved in the Community
Contributing Back to WordPress - Getting Involved in the CommunityContributing Back to WordPress - Getting Involved in the Community
Contributing Back to WordPress - Getting Involved in the Community
 
Putting the DOT in .NET - Dev/Ops/Test
Putting the DOT in .NET - Dev/Ops/TestPutting the DOT in .NET - Dev/Ops/Test
Putting the DOT in .NET - Dev/Ops/Test
 
Microservices with Node.js - Livestreamed for Manning
Microservices with Node.js - Livestreamed for ManningMicroservices with Node.js - Livestreamed for Manning
Microservices with Node.js - Livestreamed for Manning
 

Viewers also liked

Viewers also liked (6)

Extending versatility of python to nonprogrammer
Extending versatility of python to nonprogrammerExtending versatility of python to nonprogrammer
Extending versatility of python to nonprogrammer
 
Personality insights for the mall
Personality insights for the mallPersonality insights for the mall
Personality insights for the mall
 
Submitting a SPSS Extension To the Community
Submitting a SPSS Extension To the CommunitySubmitting a SPSS Extension To the Community
Submitting a SPSS Extension To the Community
 
Leveraging IBM Bluemix for Conversation and Personality Insights
Leveraging IBM Bluemix for Conversation and Personality InsightsLeveraging IBM Bluemix for Conversation and Personality Insights
Leveraging IBM Bluemix for Conversation and Personality Insights
 
Sentiment Analysis Using Solr
Sentiment Analysis Using SolrSentiment Analysis Using Solr
Sentiment Analysis Using Solr
 
Intro to watson bluemix services
Intro to watson bluemix servicesIntro to watson bluemix services
Intro to watson bluemix services
 

Similar to The Combined Power of Sentiment Analysis and Personality Insights

Similar to The Combined Power of Sentiment Analysis and Personality Insights (20)

Natural Language Processing for Data Analytics - Tel Aviv Summit 2018
Natural Language Processing for Data Analytics - Tel Aviv Summit 2018Natural Language Processing for Data Analytics - Tel Aviv Summit 2018
Natural Language Processing for Data Analytics - Tel Aviv Summit 2018
 
NEW LAUNCH! Natural Language Processing for Data Analytics - MCL343 - re:Inve...
NEW LAUNCH! Natural Language Processing for Data Analytics - MCL343 - re:Inve...NEW LAUNCH! Natural Language Processing for Data Analytics - MCL343 - re:Inve...
NEW LAUNCH! Natural Language Processing for Data Analytics - MCL343 - re:Inve...
 
Data Acquisition for Sentiment Analysis
Data Acquisition for Sentiment AnalysisData Acquisition for Sentiment Analysis
Data Acquisition for Sentiment Analysis
 
Sld-Natural-Language-Processing-for-large-volumes-of-human-text-data-Sozzi-Br...
Sld-Natural-Language-Processing-for-large-volumes-of-human-text-data-Sozzi-Br...Sld-Natural-Language-Processing-for-large-volumes-of-human-text-data-Sozzi-Br...
Sld-Natural-Language-Processing-for-large-volumes-of-human-text-data-Sozzi-Br...
 
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
 
ICONUK 2018 - Do You Wanna Build a Chatbot
ICONUK 2018 - Do You Wanna Build a ChatbotICONUK 2018 - Do You Wanna Build a Chatbot
ICONUK 2018 - Do You Wanna Build a Chatbot
 
A Journey With Microsoft Cognitive Services II
A Journey With Microsoft Cognitive Services IIA Journey With Microsoft Cognitive Services II
A Journey With Microsoft Cognitive Services II
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
Httpillage lascon-2015
Httpillage lascon-2015Httpillage lascon-2015
Httpillage lascon-2015
 
How We Built A Bot For FITC
How We Built A Bot For FITCHow We Built A Bot For FITC
How We Built A Bot For FITC
 
Watson products
Watson productsWatson products
Watson products
 
ASurvey at CSUN 2012
ASurvey at CSUN 2012ASurvey at CSUN 2012
ASurvey at CSUN 2012
 
Taming Text
Taming TextTaming Text
Taming Text
 
DataSploit - Tool Demo at Null Bangalore - March Meet.
DataSploit - Tool Demo at Null Bangalore - March Meet. DataSploit - Tool Demo at Null Bangalore - March Meet.
DataSploit - Tool Demo at Null Bangalore - March Meet.
 
Guest Posting 101
Guest Posting 101Guest Posting 101
Guest Posting 101
 
Slide share
Slide shareSlide share
Slide share
 
Big(D)esign 2011: Portfolios for the Creative Professional
Big(D)esign 2011: Portfolios for the Creative ProfessionalBig(D)esign 2011: Portfolios for the Creative Professional
Big(D)esign 2011: Portfolios for the Creative Professional
 
Everything You Always Wanted to Know About Content Strategy
Everything You Always Wanted to Know About Content StrategyEverything You Always Wanted to Know About Content Strategy
Everything You Always Wanted to Know About Content Strategy
 
Introduction to Text Mining
Introduction to Text MiningIntroduction to Text Mining
Introduction to Text Mining
 
Storyboard & narration script writing cc
Storyboard & narration script writing ccStoryboard & narration script writing cc
Storyboard & narration script writing cc
 

More from IBM Watson

More from IBM Watson (20)

Easily Deploy your Chat Bot to Multiple Channels with Stamplay
Easily Deploy your Chat Bot to Multiple Channels with StamplayEasily Deploy your Chat Bot to Multiple Channels with Stamplay
Easily Deploy your Chat Bot to Multiple Channels with Stamplay
 
Building with Watson - Serverless Chatbots with PubNub and Conversation
Building with Watson - Serverless Chatbots with PubNub and ConversationBuilding with Watson - Serverless Chatbots with PubNub and Conversation
Building with Watson - Serverless Chatbots with PubNub and Conversation
 
Application Developer Predictions 2017 - It's All About Cognitive
Application Developer Predictions 2017 - It's All About CognitiveApplication Developer Predictions 2017 - It's All About Cognitive
Application Developer Predictions 2017 - It's All About Cognitive
 
Building with Watson - Advanced Integrations with Watson Conversation
Building with Watson - Advanced Integrations with Watson ConversationBuilding with Watson - Advanced Integrations with Watson Conversation
Building with Watson - Advanced Integrations with Watson Conversation
 
Watson DevCon 2016: Myca - My Career Advisor: Providing Individualized Career...
Watson DevCon 2016: Myca - My Career Advisor: Providing Individualized Career...Watson DevCon 2016: Myca - My Career Advisor: Providing Individualized Career...
Watson DevCon 2016: Myca - My Career Advisor: Providing Individualized Career...
 
Watson Equipment Advisor
Watson Equipment Advisor Watson Equipment Advisor
Watson Equipment Advisor
 
Refinery Advisor
Refinery Advisor Refinery Advisor
Refinery Advisor
 
Cognitive Reservoir Analytics
Cognitive Reservoir Analytics Cognitive Reservoir Analytics
Cognitive Reservoir Analytics
 
Cognitive Overview
Cognitive Overview Cognitive Overview
Cognitive Overview
 
Watson DevCon 2016: Why Audience Intelligence Requires a Modular AI Approach
Watson DevCon 2016: Why Audience Intelligence Requires a Modular AI ApproachWatson DevCon 2016: Why Audience Intelligence Requires a Modular AI Approach
Watson DevCon 2016: Why Audience Intelligence Requires a Modular AI Approach
 
Watson DevCon 2016 - The Flu Fighters: Using IBM Cognitive Computing to Fight...
Watson DevCon 2016 - The Flu Fighters: Using IBM Cognitive Computing to Fight...Watson DevCon 2016 - The Flu Fighters: Using IBM Cognitive Computing to Fight...
Watson DevCon 2016 - The Flu Fighters: Using IBM Cognitive Computing to Fight...
 
Watson DevCon 2016 - Watson Beat: Making Music Cognitive
Watson DevCon 2016 - Watson Beat: Making Music CognitiveWatson DevCon 2016 - Watson Beat: Making Music Cognitive
Watson DevCon 2016 - Watson Beat: Making Music Cognitive
 
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
 
Watson DevCon 2016 - The Future of Discovery: Deep Insights with Cognitive APIs
Watson DevCon 2016 - The Future of Discovery: Deep Insights with Cognitive APIsWatson DevCon 2016 - The Future of Discovery: Deep Insights with Cognitive APIs
Watson DevCon 2016 - The Future of Discovery: Deep Insights with Cognitive APIs
 
Watson DevCon 2016 - Engage and Be Engaging: Building Compassionate and Perso...
Watson DevCon 2016 - Engage and Be Engaging: Building Compassionate and Perso...Watson DevCon 2016 - Engage and Be Engaging: Building Compassionate and Perso...
Watson DevCon 2016 - Engage and Be Engaging: Building Compassionate and Perso...
 
Watson DevCon 2016 - From Jeopardy! to the Future
Watson DevCon 2016 - From Jeopardy! to the FutureWatson DevCon 2016 - From Jeopardy! to the Future
Watson DevCon 2016 - From Jeopardy! to the Future
 
Get More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-OnsGet More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-Ons
 
5 Reasons to Attend the Upcoming Watson Developer Conference
5 Reasons to Attend the Upcoming Watson Developer Conference5 Reasons to Attend the Upcoming Watson Developer Conference
5 Reasons to Attend the Upcoming Watson Developer Conference
 
Application Starter Kits for Developers - Building with Watson
Application Starter Kits for Developers - Building with WatsonApplication Starter Kits for Developers - Building with Watson
Application Starter Kits for Developers - Building with Watson
 
Cognitive Business: Where digital business meets digital intelligence
Cognitive Business: Where digital business meets digital intelligenceCognitive Business: Where digital business meets digital intelligence
Cognitive Business: Where digital business meets digital intelligence
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

The Combined Power of Sentiment Analysis and Personality Insights

  • 1. The Combined Power of Sentiment Analysis and Personality Insights
  • 2. Housekeeping Items • Webinar widgets • Ask your questions throughout the presentation • Twitter - #BuildingWithWatson, @IBMWatson • Follow up • Webinar slides, live recording and additional resources
  • 3. Our Expert: Zach Walchuk Developer Evangelist, Watson Developer Cloud
  • 4. The housekeeping items • Webinar slides, recording and Q&A will be emailed • Enter questions in chat on webinar panel • Or ask your questions on Twitter @IBMWatson • Use #BuildingWithWatson
  • 5. What will be covered today? • Approaches to sentiment analysis • Watson Personality Insights: The Big 5 • Sample calls • Parameter explanation
  • 6. • Document-­level,  entity-­targeted,  and  keyword-­targeted  sentiment  mining. • Understands  negations,  amplifiers,  diminishers,  typos,  hashtags and  slang. • Examples: – Overall  Text  Sentiment • So  happy  I  found  this  pizza – Targeted  Sentiment • So  happy  I  found  this  pizza,  I  really  don't  like  hot  dogs Extract  positive  and  negative  opinions  from  any  text. Sentiment Analysis
  • 7. Watson Personality Insights: The Big 5 • Agreeableness • A person's tendency to be compassionate and cooperative toward others • Conscientiousness • A person's tendency to act in an organized or thoughtful way • Extraversion • A person's tendency to seek stimulation in the company of others • Emotional Range • The extent to which a person's emotions are sensitive to the individual's environment • Openness • The extent to which a person is open to experiencing a variety of activities
  • 9. Making Sentiment Calls - cURL curl 'http://access.alchemyapi.com/calls/text/TextGetTextSentiment?outputMode=json&text=That%20 pizza%20was%20delicious&apikey=YOUR_API_KEY' { "status": "OK", "totalTransactions": "1", "language": "english", "docSentiment": { "score": "0.660833", "type": "positive" } }
  • 10. Sentiment Parameters #AlchemistHour • url – url of text to be analyzed • only used with endpoints URLGetTextSentiment and URLGetTargetedSentiment • text – text to be analyzed • only used with endpoints TextGetTextSentiment and TextGetTargetedSentiment • target – target phrase • apikey – your API key • outputMode –xml, json • jsonp – desired JSONP callback (requires json outputMode) • showSourceText – whether to include the original 'source text' the sentiment was extracted from
  • 11. Additional info for Sentiment Analysis • Maximum document size for HTML documents is 600kb. Remaining text after HTML cleaning must be less than 50kb. • Sentiment analysis is supported for eight languages: English, Spanish, Italian, German, French, Portuguese, Swedish, and Russia • If the sentiment target is not found, a "cannot-locate-keyphrase" error response will be returned
  • 12. Making Personality Insights Calls - cURL curl -v -X POST -d @personality.txt -u USERNAME:PASSWORD -H "Accept-Language: en" -H "Content-Type: text/plain" -H "Accept: application/json" "Content-Language: en" "https://gateway.watsonplatform.net/personality-insights/api/v2/profile" { "id": "Openness", "name": "Openness", "category": "personality", "percentage": 0.8925013538451143, }, { "id": "Conscientiousness", "name": "Conscientiousness", "category": "personality", "percentage": 0.7348076938514495, }, { "id": "Extraversion", "name": "Extraversion", "category": "personality", "percentage": 0.4771565706306179, }, { "id": "Agreeableness", "name": "Agreeableness", "category": "personality", "percentage": 0.4130282366306227, }, { "id": "Neuroticism", "name": "Emotional range", "category": "personality", "percentage": 0.09469501678631477, }
  • 13. Personality Insights Header Parameters • Content-Type – text/plain, text/html, application/json • Accept – application/json, text/csv • Accept-Language – en (english response only) • Content-Language – en, es (english or spanish input) • include_raw - if true, will return a raw score for each characteristic in addition to a normalized score • headers – if true, column labels are returned with CSV response
  • 14. Are you ready to get started? • Get an AlchemyAPI key and sign up on Bluemix • Download the Alchemy and Watson SDKs • Check out the Getting Started Guides and WDC Documentation for examples • Ask me questions!
  • 15. Q&A
  • 16. • Look out for a follow up email with a copy of these slides, a recording of the webinar, Q&A recap, and additional resources • View and share this presentation on SlideShare • Follow us for more webinars What’s next?