47
http://informationexcellence.wordpress.com 2012 Jan Session Bangalore, India [email protected] Title Text Analytics Industry Use Cases (& the Path Forward for Text Analytics) Aiaioo Labs - 2012

Cohan sujay carlos 360 degree text analytics ieg2012 jan

Embed Size (px)

DESCRIPTION

Text Analytics360 Degree

Citation preview

Page 1: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Bangalore, [email protected]

Text Analytics Industry Use Cases(& the Path Forward for Text Analytics)

Aiaioo Labs - 2012

Page 2: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n• Cohan–10 years in industry–Research interests: NLP and ML

• Sumukh–8 years in industry–PhD from University of Melbourne

• Madhulika–6 years in industry–MS from UT Austin–Internships at Microsoft and RRI

The Team

Page 3: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

1: AI Algorithms2: Text Analytics Technology3: Business Use Cases

We Develop

[email protected] we do

Page 4: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Bangalore, [email protected] Analytics

Research on AI Algorithms

Artificial Intelligence

Tools for EducationTools for Graph Analysis

Tools for Text Analytics

Page 5: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected]

Programming Using a Natural Language

AI

Page 6: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analytics

Text Analytics APIs

How we handle all kinds of things people say

Page 7: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nWhat is Text Analytics ?

Insights from Text

Meaning from Text

Page 8: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Cases

Business Use CasesAll that tech talk is fine, but how can youmake us a heap more money next month?

Page 9: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nTwo Ways of Using Text Analytics

OperationsOperations

Decision MakingDecision Making

Page 10: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nOperations - Client Use Case

Page 11: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nDecision Making - Use Case

Page 12: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analytics

Text Analytics Details

How to handle all kinds ofthings people say

Page 13: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Text Analytics

IR

NLP

Linguistics

Statistics

Psychology Study of LanguageComputation

Hypothesis testing

Countable

Bayesian inference

A | | BCD

Social Media DocumentsWWW

Grammar based

ML

Discriminative

Bayesian

If - then

What is Text Analytics ?

Page 14: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nEntity Extraction

Event Extraction

Entity Extraction

Comparative Analysis

Mapping Business Needs to Text Analytics

Page 15: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nExtracting Meaning

Text: I am looking for a Hyundai car in B’lore

Syntactic Analysis: I/Pronoun am/BE looking/V for aHyundai/NP car/NN in Bangalore/NP

Semantic Analysis: I/Person am looking for aHyundai/Thing car/Thing in Bangalore/Place

Pragmatic Analysis: Sales Conversation

Page 16: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nExtracting Meaning

Text: I am looking for a Hyundai car in Bangalore

Semantic Analysis: I/Person am looking for aHyundai/Thing car/Thing in Bangalore/Place

Entity Extraction

Entities:I PersonHyundai car ThingBangalore Place

Page 17: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nExtracting Meaning

Text: Tim Cook is the new CEO of Apple Computers

Analysis: Tim/Person Cook/Person is the new CEOof Apple/Org Computers/Org

Relation Extraction

Relation: CEO_ofTim Cook (Person) Apple Computers(Org)

Page 18: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nExtracting Meaning

Raw Text: I am sad that Steve Jobs died

Analysis: This person holds a positive opinionon Steve Jobs

Sentiment Analysis

Sentiment Holder: IObject of Sentiment: Steve JobsPolarity of Sentiment: positive

Page 19: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nBeyond Traditional Approaches to Extracting Meaning

Convey intention: I want to buy a computer.

Information: There was heavy snowfall in Sikkim.

Two Kinds of Sentences

Page 20: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nBeyond Traditional Approaches to Extracting Meaning

Raw Text: Are you sad that Steve Jobs died?

Analysis: This person is inquiring aboutsomeone’s emotions concerning Steve Jobs

Intention Analysis

Intention Holder: IIntention: inquire

Page 21: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] of Intentions

Intention Analysis – Categories of Intention

Categories Parent Category Department Urgency SourcePurchase Sales High CRM

Sell Procurement Medium ERP

Inquire Help/Sales High CRMDirect Operations High CRMCompare Market Research Low CRMSuggest Market Research Low SocialOpine Design Low SocialPraise Opine Design Low SocialCriticize Opine Design Low SocialComplain Customer Service High CRM/SocialAccuse Customer Service Critical CRMQuit Customer Service Critical CRM/SocialExpress Call Center Training Low TranscriptsThank Express Call Center Training Low TranscriptsApologize Express Call Center Training Medium TranscriptsEmpathize Express Call Center Training Medium Transcripts

Page 22: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nApproaches to Extracting Meaning

Raw Text: There is heavy snowfall in Sikkim.

Analysis: Snowfall event

Event Analysis

Event: snowfall

Page 23: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] of Events

Event Analysis

CategoriesAcquisitionMergerSpin OffSalePartnership FormationDeclaration of BankruptcyRenamingClosing DownOpening FacilityClosing FacilityBusiness DealProduct LaunchProduct WithdrawalEmployee JoiningEmployee ResignationEmployee Change of Position

Page 24: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nApproaches to Extracting Meaning

Raw Text: Bangalore is the capital of K’taka

Analysis: capital_of relation exists

Fact Analysis

Entity: Bangalore/PlaceKarnataka/Place

Relation: Bangalore capital_of K’taka

Page 25: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analysis

Uses

Pulling report from CRM tools on loyalty, competition, etc. Computation of metrics.

Decision Making - Reports

OperationsIntention Analysis in customer service, online reputation management & placement of ads or in Alerting Systems.

Page 26: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analysis

Decision Making Uses

For strategy decisions – politics, launches

Tracking Large Numbers of Users

MetricsDials for navigating by

Page 27: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analysis

Decision Making Example – Using Quit Intention

Quit message chart for Facebook during the week after Google+ launched.

Page 28: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nTypes of Reports

1. Time Series Graphs2. Charts3. Tag Clouds

• Identifies popular topics4. Event Summaries5. Sentiment Report6. Dials – Complaint Metrics

Page 29: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analysis

I deny that [ it can never [be said that this is not [ a

beautiful car ] ] ].

Negative

Metrics Example – CSAT

Page 30: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analysis

Jane believes that John and not Bruceis very handsome.

Positive

Example – Sentiment Analysis – Entity Level Sentiment

Negative

About what/whom is the opinion?

Page 31: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Section Problem Compensation

Accuracy •Low accuracy

•Trade off recall for precision

Precision •Low Precision

•Use ratios and timelines

Domain •Different domain •Retraining

Error Compensation!

Page 32: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

tn

fntpfp

actualtarget

What wasselected

Precision (tp/tp+fp)

Page 33: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

tn

fntpfp

actualtarget

What wasselected

Recall (tp/tp+fn)

Page 34: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nExample

Precision = {inquire=0.81, direct=0.5163, accuse=0.6944, wish=0.918, compare=0.851, sell=0.9621, complain=0.8622}

Recall = {direct=0.6, inquire=0.3078, accuse=0.5102, wish=0.6021, compare=0.4145, sell=0.4069, complain=0.5853}

Page 35: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nExample

F-Score = {direct=0.5566, inquire=0.4993, accuse=0.5952, wish=0.7435, compare=0.5939, sell=0.6257, complain=0.7104}

Page 36: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

nWhat you can learn about a brand:1: Who are a product’s strongest

competitors?2: How commoditized is the market?3: What are the weaknesses of the

product?4: How loyal are customers in an

industry?

[email protected] Market Analysis

Page 37: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Measurement Proxy:Use opine intentionCSAT = number of positive mentions of brand / number of opinionated mentions of brand

Example – 1: How do you measure CSAT?

[email protected] Market Analysis

Page 38: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Measurement Proxy:Use compare intentioncompetitor’s strength = number of mentions of competitor / number of mentions of all brands or generic products

Example – 2: Who are a product’s competitors?

[email protected] Market Analysis

Page 39: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Measurement Proxy:Use purchase intentioncommoditization = number of mentions of brands / number of mentions of generic product

Example – 3: How commoditized is the market?

[email protected] Market Analysis

Page 40: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Measurement Proxy:Use quit intentioninverse of loyalty = number of quit intentions / total mentions

Example – 4: How loyal are customers?

[email protected] Market Analysis

Page 41: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Measurement Proxy:Use purchase intentiondesirability = number of purchase intentions / total mentions

Example – 5: What is the desirability of a brand?

[email protected] Market Analysis

Page 42: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Measurement Proxy:Use complain intentionreliability = number of complain intentions / total mentions

Example – 6: How reliable is a product?

[email protected] Market Analysis

Page 43: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] Analysis

Operations Uses

For investing

Timeliness

Prioritization / Routing

Dealing with large numbers

Page 44: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Call Center Customer Churn Model

The customer lodges a complaint

An accusation may result

Signal of intention to leave.

[email protected] – Escalation

Page 45: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Call Center Customer Sales Opportunity Model

The customer complains about a pain point (optional)

Inquires about a product feature

Signals intention to purchase or upgrade

[email protected] – Escalation

Page 46: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

Bangalore, [email protected]

URLs

aiaioo.com

Page 47: Cohan sujay carlos   360 degree text analytics ieg2012 jan

http

://in

form

atio

nexc

elle

nce.

wor

dpre

ss.c

om20

12 Ja

n Se

ssio

n

[email protected] You

[email protected]+91-77605-80015

Contact