36
Introducing AlchemyAPI Services Iván Portilla Watson Solution Accelerator Leader Global Business Services, IBM Member of the IBM Academy of Technology [email protected] [email protected] September 8, 2015

Alchemy api 090915

Embed Size (px)

Citation preview

Page 1: Alchemy api 090915

Introducing  AlchemyAPI  Services    Iván  Portilla  Watson  Solution  Accelerator  Leader  Global  Business  Services,  IBM  Member  of  the  IBM  Academy  of  Technology    [email protected]  [email protected]      

September  8,  2015  

Page 2: Alchemy api 090915

Page | 2 IBM Watson

Disclaimer  

Everything  stated  in  this  presentation  is  to  be  considered  my  own  opinion,  and  not  an  official  representation  of  the  IBM  Corporation  or  any  other  IBM  employee.        

Page 3: Alchemy api 090915

Page | 3 IBM Watson

Watson is creating a new partnership between people

and computers that enhances, scales and accelerates human

expertise.

Page 4: Alchemy api 090915

Page | 4 IBM Watson

Watson  Update  

http://watson.ted.com/  http://watson-­‐movieapp-­‐dialog.mybluemix.net/watson-­‐movieapp-­‐dialog/dist/#/  https://www.ibmchefwatson.com  http://austinconcierge.marriott.com/  https://www.youtube.com/watch?v=o1tm5Xs5vIw            Robot  

Page 5: Alchemy api 090915

Page | 5 IBM Watson

Talk  Objectives  

By  the  end  of  this  session,  you  should  be  able  to:    ! Identify  the  main  services  available  from  AlchemyAPI  ! Describe  key  concepts  of  NLP  ! List  the  key  APIs  offered  by  AlchemyAPI  

Page 6: Alchemy api 090915

Page | 6 IBM Watson

Domain  Vocabulary  

! Machine  Learning    

! Natural  language  processing  (NLP)  

! Artificial  Intelligence  (AI)  

Page 7: Alchemy api 090915

Page | 7 IBM Watson

Domain  Vocabulary  

! Machine  Learning  is  teaching  computers  to  adaptively  perform  tasks  better  over  time  through  data  and  statistics  instead  of  explicit  programming  

! Natural  language  processing  (NLP)  is  a  field  of  computer  science,  artificial  intelligence,  and  computational  linguistics  concerned  with  the  interactions  between  computers  and  human  (natural)  languages    

! AI:  Academic  field  of  study  which  studies  how  to  create  computers  and  computer  software  that  are  capable  of  intelligent  behavior.  Artificial  intelligence  (AI)  is  the  intelligence  exhibited  by  machines  or  software.  

Page 8: Alchemy api 090915

Page | 8 IBM Watson

Domain  Vocabulary  

!  Machine  Learning  is  teaching  computers  to  adaptively  perform  tasks  better  over  time  through  data  and  statistics  instead  of  explicit  programming  

!  Natural  language  processing  (NLP)  is  a  field  of  computer  science,  artificial  intelligence,  and  computational  linguistics  concerned  with  the  interactions  between  computers  and  human  (natural)  languages    

!  AI:  Academic  field  of  study  which  studies  how  to  create  computers  and  computer  software  that  are  capable  of  intelligent  behavior.  Artificial  intelligence  (AI)  is  the  intelligence  exhibited  by  machines  or  software.  

Cognitive systems amplify human cognition

Page 9: Alchemy api 090915

Page | 9 IBM Watson

! Who  is  AlchemyAPI?    ! Overview  of  APIs  ! Demo  

What  we  will  cover  today  

Page 10: Alchemy api 090915

Page | 10 IBM Watson

Who is AlchemyAPI?

•  Founded  in  2005  •  40,000+  developers    •  Used  in  36+  countries  •  Acquired  by  IBM  Watson  •  Democratizing  artificial  intelligence    

Pioneer of web services for real-time text, news and image analysis

Page 11: Alchemy api 090915

Page | 11 IBM Watson

What can Alchemy do for you?

•  Quickly  extract  meaningful  information  from  unstructured  data.  

•  Categorize  and  label  text,  news  and  images  •  Analyze  sentiment  •  Connect  your  data  to  additional  knowledge  sources  

Page 12: Alchemy api 090915

Page | 12 IBM Watson

Watson  Developer  Cloud  

http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud

Page 13: Alchemy api 090915

Page | 13 IBM Watson

! Who  is  AlchemyAPI?  ! Overview  of  APIs  ! Demo  

AlchemyAPI  Overview  

Page 14: Alchemy api 090915

Page | 14 IBM Watson

Overview  of  the  APIs  

Page 15: Alchemy api 090915

Page | 15 IBM Watson

"" "

"

AlchemyLanguage  What is it? Twelve+  APIs  around  text  analysis  service  func8ons,  each  of  which  uses  sophis8cated  natural  language  processing  techniques  to  analyze  content  and  add  seman8c  informa8on    How does it work? Core  linguis8c  resources  such  as  sen8ment  analysis,  author  extrac8on,    and  content  tagging  for  holis8c  language  insights  

Page 16: Alchemy api 090915

Page | 16 IBM Watson

"" "

"

AlchemyVision  

What is it? Automatically extract and tag images to understand a picture’s content and context  How does it work? Sees  complex  visual  scenes  in  their  en8rety—without  needing  any  textual  clues—  to  understand  objects  and  surroundings  

Page 17: Alchemy api 090915

Page | 17 IBM Watson

•  Documentation  •  Query  builder  with  examples  •  Sample  application  –  Who's  in  the  News  •  Webinar:  

•  3  Ways  to  Enhance  Your  Product  With  Cognitive  News  

http://www.alchemyapi.com/products/alchemydata-­‐news  

Query  pre-­‐enriched  news  articles  to  find  trends,  monitor  events,  and  get  up  to  date  information  

AlchemyData News

Page 18: Alchemy api 090915

Page | 18 IBM Watson

! Who  is  AlchemyAPI?  ! Overview  of  APIs  ! Demo  

AlchemyAPI  Overview  

Page 19: Alchemy api 090915

Page | 19 IBM Watson http://www.alchemyapi.com/products/demo/alchemylanguage  

Demo

Page 20: Alchemy api 090915

Page | 20 IBM Watson

Available APIs

Page 21: Alchemy api 090915

Page | 21 IBM Watson

RESTful APIs for understanding data from text, URLs, images, etc.

Making API Calls

•  Endpoints  available  in  API  documentation  http://access.alchemyapi.com/calls/text/TextGetRankedNamedEntities  

•  Required  and  optional  parameters  ?apikey=<YOUR  API  KEY>&text=IBM  Watson&outputMode=json  

•  Full  URL  http://access.alchemyapi.com/calls/text/TextGetRankedNamedEntities?apikey=<YOUR  API  KEY>&text=IBM  Watson&outputMode=json  

Page 22: Alchemy api 090915

Page | 22 IBM Watson

•  Examples:  –  Malia  Obama  lives  at  the  White  House.  View  Results  –  Thomas  Watson  was  born  in  Campbell,  NY  and  lived  in  the  white  house  down  the  

street.  View  Results  

   

Extract  people,  places,  organizations,  etc.  from  blogs,  news  articles  and  other  text.  

View Results

Named Entity Extraction

See all entity types

Page 23: Alchemy api 090915

Page | 23 IBM Watson

•  Document-­‐level,  entity-­‐targeted,  and  keyword-­‐targeted  sentiment  mining.  •  Understands  negations,  amplifiers,  diminishers,  typos,  hash  tags  and  slang.    •  Examples:  

–  Overall  Text  Sentiment  –  Congratulations  to  Jon  Stewart  on  an  incredible  achievement  in  comedy.  #DailyShow  View  Results  

–  Targeted  Sentiment  –  So  happy  the  Patriots  won  the  Super  Bowl  Seahawks  suck.  #BradyBunch  View  Results  Seahawks  

View  Results  Pats    

•  Run  on  entities/keywords,  if  you  do  not  have  a  specific  target  in  mind.  –  Overall  Text  Sentiment  

–  So  happy  the  Patriots  won  the  Super  Bowl  Seahawks  suck.  View  Results  

   

Extract  positive  and  negative  opinions  from  any  text.  

Sentiment Analysis

Page 24: Alchemy api 090915

Page | 24 IBM Watson

 

Amazon  is  planning  to  release  $50  tablet  by  the  holiday  season,  in  a  bid  to  

attract  more  cost-­‐conscious  shoppers..  View  Results    

 

Extract  topic  keywords,  with  higher  level  abstractions  via  Knowledge  Graph.  

View Results

Keyword  extraction  is  like  making  a  “word  cloud”  of  important  words  in  your  

document.  

Keyword Extraction

Page 25: Alchemy api 090915

Page | 25 IBM Watson

•  Identifies  Subject  >  Verb  >  Object    •  Example:  

–  Article  Title:  IBM  acquires  Merge  Healthcare  to  enhance  medical  images.View  Results  

       

 

 

Extract  the  facts  you  need  from  raw  text.  

“IBM” # “acquires” # “Merge Healthcare to enhance medical images”

Relations Extraction

Page 26: Alchemy api 090915

Page | 26 IBM Watson

•  Examples:  WOONSOCKET,  RI  and  ARMONK,  NY  -­‐  30  Jul  2015:  CVS  Health  and  IBM  today  announced  they  will  use  predictive  analytics  and  Watson  cognitive  computing  to  transform  care  management  services  for  patients  with  chronic  disease.  View  Results  

 

 

Classify  text  documents  based  on  1000+  categories  and  subcategories.  

View Results

Taxonomy

Page 27: Alchemy api 090915

Page | 27 IBM Watson

•  Examples:    

 

Extract  keywords  to  categorize  your  image  libraries.  

View Results

Image Tagging

Page 28: Alchemy api 090915

Page | 28 IBM Watson

•  Examples:    

 

Gather  intelligence  from  images  and  tag  photos  with  the  position,  age,  gender,  and  identities  of  people  photos.  

View Results

Face Detection

View Results

Page 29: Alchemy api 090915

Page | 29 IBM Watson

Scene  Text  Example  (Beta)  

View Results

Extracts intelligence from images and tag photos with Inline text

Image Analysis

Page 30: Alchemy api 090915

Page | 30 IBM Watson

AlchemyAPI in the Application Stack

Page 31: Alchemy api 090915

Page | 31 IBM Watson

Messaging API Twilio

Data Store DB2 Express Server Edition

Natural Language Processing API AlchemyAPI

News Search API Bing

•  Crawl the web with a Search API to find news articles relevant to your interests.

•  Add intelligence and value with an NLP API. Filter search results to include specific actions (‘acquired’, ‘bought’, ‘sold’, etc.), or categorize the articles in a taxonomy.

•  Store your enhanced search results in a database to access and analyze later.

•  Send text alerts based on keywords, actions or trends found in your news article collection.

AlchemyAPI in the Application Stack

Page 32: Alchemy api 090915

Page | 32 IBM Watson

http://querybuilder.alchemyapi.com/builder    

AlchemyNews  

Page 33: Alchemy api 090915

Page | 33 IBM Watson

http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/gallery.html

Page 34: Alchemy api 090915

Page | 34 IBM Watson

To get started you can…

http://www.alchemyapi.com/developers !  Get an API Key

http://www.alchemyapi.com/api/register.html

!  Download an SDK !  Check out the Getting Started Guides

Page 35: Alchemy api 090915

Page | 35 IBM Watson

 •  AlchemyAPI  YouTube  Channel  

https://www.youtube.com/channel/UCsKdflBkaYHjH41vBpieJGQ    

•  AlchemyAPI  Support  http://www.alchemyapi.com/products/contact-­‐support  

   

Resources  

Page 36: Alchemy api 090915

Page | 36 IBM Watson