The document introduces AlchemyAPI services and provides an overview of its capabilities. It discusses that AlchemyAPI offers natural language processing APIs for tasks like text analysis, image recognition, and information extraction. The talk then demonstrates some of AlchemyAPI's main APIs like AlchemyLanguage for text analysis and AlchemyVision for image recognition and tagging.
1. Introducing
AlchemyAPI
Services
Iván
Portilla
Watson
Solution
Accelerator
Leader
Global
Business
Services,
IBM
Member
of
the
IBM
Academy
of
Technology
ivanp@us.ibm.com
portilla@gmail.com
September
8,
2015
2. 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.
3. Page | 3 IBM Watson
Watson is creating a new
partnership between people
and computers that enhances,
scales and accelerates human
expertise.
5. 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
6. Page | 6 IBM Watson
Domain
Vocabulary
! Machine
Learning
! Natural
language
processing
(NLP)
! Artificial
Intelligence
(AI)
7. 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.
8. 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
9. Page | 9 IBM Watson
! Who
is
AlchemyAPI?
! Overview
of
APIs
! Demo
What
we
will
cover
today
10. 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
11. 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
12. Page | 12 IBM Watson
Watson
Developer
Cloud
http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud
13. Page | 13 IBM Watson
! Who
is
AlchemyAPI?
! Overview
of
APIs
! Demo
AlchemyAPI
Overview
15. 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
16. 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
17. 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
18. Page | 18 IBM Watson
! Who
is
AlchemyAPI?
! Overview
of
APIs
! Demo
AlchemyAPI
Overview
19. Page | 19 IBM Watson
http://www.alchemyapi.com/products/demo/alchemylanguage
Demo
21. 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
22. 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
23. 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
24. 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
25. 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
26. 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
27. Page | 27 IBM Watson
• Examples:
Extract
keywords
to
categorize
your
image
libraries.
View
Results
Image Tagging
28. 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
29. Page | 29 IBM Watson
Scene
Text
Example
(Beta)
View
Results
Extracts intelligence from images and tag photos with
Inline text
Image
Analysis
30. Page | 30 IBM Watson
AlchemyAPI in the Application Stack
31. 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
32. Page | 32 IBM Watson
http://querybuilder.alchemyapi.com/builder
AlchemyNews
33. Page | 33 IBM Watson
http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/gallery.html
34. 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
35. Page | 35 IBM Watson
• AlchemyAPI
YouTube
Channel
https://www.youtube.com/channel/UCsKdflBkaYHjH41vBpieJGQ
• AlchemyAPI
Support
http://www.alchemyapi.com/products/contact-‐support
Resources