SlideShare une entreprise Scribd logo
1  sur  17
Sentiment Analysis

      #SMWsentiment
Tuesday 25th September 2-3pm
  Stephen Tagg & Jillian Ney
Workshop Overview
1. Have you checked in (& on Foursquare)?
   Backchat on #SMWsentiment…
2. A little introduction, definitions..
3. Sentiment Analysis issues
4. An example using free software
5. Other free software
6. Other software
7. Workshop Discussion Q&A
Definitions
• Text Analysis – a bit more specific
• Opinion Mining – not quite the same but overlap – will
  it make surveys less relevant?
• “Sentiment analysis or opinion mining refers to the application
  of natural language processing, computational linguistics, and text
  analytics to identify and extract subjective information in source
  materials.
• Generally speaking, sentiment analysis aims to determine the
  attitude of a speaker or a writer with respect to some topic or the
  overall contextual polarity of a document. The attitude may be his
  or her judgement or evaluation (see appraisal theory), affective
  state (that is to say, the emotional state of the author when
  writing), or the intended emotional communication (that is to say,
  the emotional effect the author wishes to have on the reader).”
    Wikipedia
•   Appraisal theory – psychological theories of emotion
Sentiment analysis and Web 2.0
•   The rise of social media such as blogs and social networks has fuelled interest in
    sentiment analysis. With the proliferation of reviews, ratings, recommendations
    and other forms of online expression, online opinion has turned into a kind of
    virtual currency for businesses looking to market their products, identify new
    opportunities and manage their reputations. As businesses look to automate the
    process of filtering out the noise, understanding the conversations, identifying the
    relevant content and actioning it appropriately, many are now looking to the field
    of sentiment analysis. If web 2.0 was all about democratizing publishing, then the
    next stage of the web may well be based on democratizing data mining of all the
    content that is getting published.
•   One step towards this aim is accomplished in research. Several research teams in
    universities around the world currently focus on understanding the dynamics of
    sentiment in e-communities through sentiment analysis. The CyberEmotions
    project, for instance, recently identified the role of negative emotions in driving
    social networks discussions. Sentiment analysis could therefore help understand
    why certain e-communities die or fade away (e.g., MySpace) while others seem to
    grow without limits (e.g., Facebook).
•   The problem is that most sentiment analysis algorithms use simple terms to
    express sentiment about a product or service. However, cultural factors, linguistic
    nuances and differing contexts make it extremely difficult to turn a string of
    written text into a simple pro or con sentiment. The fact that humans often
    disagree on the sentiment of text illustrates how big a task it is for computers to
    get this right. The shorter the string of text, the harder it becomes.
Sentiment Analysis issues
                 Hype
• Gartner hype cycle – text analysis is in a good
  place – after the initial hype. More avenues
  for research
  – General Sentiment, Inc
  – Attensity
  – Lexalytics
  – Telligent Systems
  – CyberEmotions project
An example
• 31,000+ hotel evaluations from Dubai. (thanks to Prof
  Alan Wilson).
• Applied the R tm package. R is a statistical package and
  tm is a package for text mining available in it.
• Considerable time learning how to read in the data
  correctly.
• Sentiment is another R package for generating
  sentiment analysis of texts.
• Hotel evaluations need feature/ aspect-based
  sentiment analysis
• Machine learning – latent semantic analysis, support
  vector machines, Bag of Words, Semantic orientation.
First three cases
   ID   Hotel   Date of   Data Title       Body
                Review    source
1 247 Ibis 07-MAY- agoda OK if your   PROS: - Access to WTC - Not far from anywhere. CONS: - No in-room safe - No mini bar in
  606 World 2010         work is at   room - No comp water - Rather expensive internet access - poor information at lobby. .
  59 Trade               the world    Upon check in they asked me for a cash deposit which was higher than the entire hotel
      Centr              trade center bill and informed in advance that the change will not be in US $ but in local currency.
      e                               Anyway did a credit card inprint which satisfied them. No bell boy service, you carry all
      Dubai                           your luggage yourself; travel light. Breakfast is ok, and with a few chages day by day.
      Hotel
2 247 Rama 28-MAY- agoda Conveniently      PROS: - Convenient location: very near to airport, shopping centres - Hotel facilities are
  615 da     2010        located with      superb - Good restaurants and entertainment centres - Easy to take taxis. CONS: -
  60 Conti               all the           problems with the room key card, which get spoilt fast and need to be repalced at least
      nental             facilities        once a day. . . If you go to Dubai, I would definately recommend this hotel. It is
      Hotel,                               conveniently located and has all the facilities. The hotel is clean and the staff are friendly.
      Dubai                                It has a wide choice of restaurants and entertainment centres. It has some shopping
                                           centres nearby and a metro station is currently being built very near to this hotel. The
                                           airport is only about 15 mins drive from this hotel


3 256 Nihal 01-MAY- agoda Nihal Hotel      PROS: - Cozy - Inexpensive - Good service - Nice disco (Filipino disco) - 450 Meter from
  587 Hotel, 2010         Dubai            Dubai metro - Clean rooms . CONS: - Small - No swimming pool/Gym - Rooms' doors are
  26 Dubai                                 with with old-style locks. . I like the place so much as it is inexpensive, cozy, in the down
                                           town, has a nice disco (which i like too much), has clean rooms, and near to Dubai metro.
Terms/roots occurring >1000 times
 findFreqTerms(bodytdm,1000)
"access" "airport" "amaz" "apart" "arriv"            "avail"     "bad"        "bar"
"bathroom" "beach" "beauti" "bed" "bedroom" "bit" "book"                      "breakfast"
"buffet" "burj"        "busi"    "call"    "car"      "charg"       "check"      "choic"
 "citi"   "clean"     "close" "club" "comfort" "comfortable" "cons"               "cost"
 "day"     "definit" "desk"       "door" "drink"          "dubai"      "easi"     "emir"
 "enjoy"    "especi" "etc" "excel" "excellent" "expect" "expens" "experi"
 "extra"    "extrem" "facil"       "famili" "fantast" "feel“          "floor"    "food"
 "found"     "free"     "friend" "friendly"
"front"    "guest"     "help"     "helpful" "holiday" "hot"             "hotel"     "hour"
"huge" "includ" "internet" "kitchen" "like"       "littl"     "locat"     "location"
"look"     "lot"     "love"     "main" "mall"        "manag"        "metro"      "minut"
"money"      "near"      "nice"    "night" "offer"      "park"       "pay"       "peopl"
"perfect" "pool"        "poor"     "price" "pros"        "provid" "qualiti" "quiet"
"rate" "reason" "recept" "recommend" "relax"            "restaur" "return" "road"
"servic" "service" "shop" "shower" "shuttl" "size"                 "spacious" "special"
 "staff"   "standard" "star"       "station" "stay"        "suit"      "swim"       "taxi"
 "time"     "told"     "towel"    "travel" "tri"         "trip"      "upgrad" "valu"
 "view"     "visit"   "wait"     "walk" "water"         "wonder" "worth"
Sentiment analysis results
                                                 Hotel * BEST_FIT Crosstabulation
                                                                                                BEST_FIT                             Total
                                                                     anger        disgust       fear     joy     sadnes surprise
                                                                                                                    s
                                       Count                                 0              0       0          1      0         0       1
        ABC Arabain Suites                                                                                                           100.
                                       % within Hotel                    0.0%        0.0%       0.0% 100.0%         0.0%      0.0%
                                                                                                                                       0%
                                       Count                                 0              0       0          0        1       0       1
        Abu Dhabi Gulf Hotel                                                                                        100.0            100.
                                       % within Hotel                    0.0%        0.0%       0.0%     0.0%                 0.0%
                                                                                                                       %               0%
                                       Count                                 8              0       1          92     12        7     120
        Admiral Plaza Hotel, Dubai                                                                                                   100.
                                       % within Hotel                    6.7%        0.0%       0.8%    76.7% 10.0%           5.8%
                                                                                                                                       0%
                                       Count                                 0              0       0          2       0        0       2
        Akas-Inn Hotel Apartment                                                                                                     100.
                                       % within Hotel                    0.0%        0.0%       0.0% 100.0%         0.0%      0.0%
                                                                                                                                       0%
                                       Count                                 1              0       1          13      1        1      17
        Al Bustan Centre &
                                                                                                                                     100.
        Residence Hotel, Dubai         % within Hotel                    5.9%        0.0%       5.9%    76.5%       5.9%      5.9%
                                                                                                                                       0%
Hotel
                                       Count                                 11             1       0          55      5        4      76
        Al Bustan Rotana Hotel,
                                                                                                                                     100.
        Dubai                          % within Hotel                  14.5%         1.3%       0.0%    72.4%       6.6%      5.3%
                                                                                                                                       0%
                                       Count                                 0              0       0          9       1        1      11
        Al Deyafa Hotel Apartments
                                                                                                                                     100.
        3, Dubai                       % within Hotel                    0.0%        0.0%       0.0%    81.8%       9.1%      9.1%
                                                                                                                                       0%
                                       Count                                 0              0       0          0       0        1       1
        Al Faris Hotel Apartments 1,
                                                                                                                                     100.
        Dubai                          % within Hotel                    0.0%        0.0%       0.0%     0.0%       0.0%    100.0%
                                                                                                                                       0%
                                       Count                                 0              0       1          8       2        0      11
        Al Faris Hotel Apartments 2,
                                                                                                                                     100.
        Dubai                          % within Hotel                    0.0%        0.0%       9.1%    72.7% 18.2%           0.0%
                                                                                                                                       0%
                                       Count                                 5              2       1          21      4        3      36
        Al Jawhara Gardens Hotel,
                                                                                                                                     100.
        Dubai                          % within Hotel                  13.9%         5.6%       2.8%    58.3% 11.1%           8.3%
                                                                                                                                       0%
Sentiment Analysis issues
                Indicators
• R-sentiment uses either Janyce Wiebe’s
  subjectivity lexicon to classify polarity (+, 0, -)
  or “Word-net affect” to generate scores for
  anger, disgust, fear, joy, sadness and surprise.
• May need own lexicon.
• Remove objective statements.
• Use of Machine Learning, Artificial
  intelligence to address ambiguity, multiple
  meaning, context…
Other free software
• GATE a computer science academic tool which
  looks to allow sophisticated processing.
• RapidMiner – built on Java. Assumes you’ve
  got maybe 20 or 200 texts (not 31,000) so
  rapid it wasn’t!
• You’ll struggle to Acquire data, process it and
  then you need to be able to summarise and
  interpret it!
Sentiment Analysis as an add-on to
        social media metrics
• Brand Watch – sentiment analysis – based on
  machine learning – select an industry for the
  query.
• Alterian SM2 – part of dictionary – includes
  emoticons
• Radian6 includes automated sentiment
  analysis and a Clarabridge Sentiment analysis
• Other options on the resources hand-out
Agenda for participants
• Your experience and interests
  – What sentiment analysis have you seen/ used
  – What could Sentiment analysis contribute
• Your concerns, barriers to use
  – Privacy issues
  – Effort/ Cost of acquiring data and doing it yourself
  – Trusting a third party to do Sentiment Analysis –
    judging their offerings – cost and vfm
Workshop activities
• What do people say about
  – your brand,
  – your company/ organisation?
• How do they feel?
• What UGC (User Generated Content) do you
  contribute to social media?
Other developments
• What do you say about….? Scottish
  independence issues – effect of other forum
  content.. (are Scots overwhelmed by so many
  English on BBC discussion forum)
• I’m always on the look out for data – but I can
  take months/ years!!!

Contenu connexe

Similaire à Social media week

Itbetw trust you_jost
Itbetw trust you_jostItbetw trust you_jost
Itbetw trust you_jostITB Berlin
 
The black hotel+social 5.2
The black hotel+social 5.2The black hotel+social 5.2
The black hotel+social 5.2Anthony Giordano
 
Hotel+management+system
Hotel+management+systemHotel+management+system
Hotel+management+systemsonikaushal
 
Hotel Guest Experience Surveys by BluSky Marketing
Hotel Guest Experience Surveys by BluSky MarketingHotel Guest Experience Surveys by BluSky Marketing
Hotel Guest Experience Surveys by BluSky MarketingRichard Goodchild
 
GartnerBI SP Session: Harnessing Mobile Intelligence by Steve Reynolds
GartnerBI SP Session: Harnessing Mobile Intelligence by Steve ReynoldsGartnerBI SP Session: Harnessing Mobile Intelligence by Steve Reynolds
GartnerBI SP Session: Harnessing Mobile Intelligence by Steve ReynoldsneutrinoBI
 
Transparent Web (Fore! Reservations)
Transparent Web (Fore! Reservations)Transparent Web (Fore! Reservations)
Transparent Web (Fore! Reservations)Tim Peter
 
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...ALICE - Hospitality Operations Platform
 
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...ALICE - Hospitality Operations Platform
 

Similaire à Social media week (13)

Itbetw trust you_jost
Itbetw trust you_jostItbetw trust you_jost
Itbetw trust you_jost
 
Hotel upsale
Hotel upsaleHotel upsale
Hotel upsale
 
The black hotel+social 5.2
The black hotel+social 5.2The black hotel+social 5.2
The black hotel+social 5.2
 
Text Semantics and Cognitive Solutions
Text Semantics and Cognitive SolutionsText Semantics and Cognitive Solutions
Text Semantics and Cognitive Solutions
 
Evaluating front office Financial & Operational Performance: Key Performance ...
Evaluating front office Financial & Operational Performance: Key Performance ...Evaluating front office Financial & Operational Performance: Key Performance ...
Evaluating front office Financial & Operational Performance: Key Performance ...
 
Hotel+management+system
Hotel+management+systemHotel+management+system
Hotel+management+system
 
Hotel Guest Experience Surveys by BluSky Marketing
Hotel Guest Experience Surveys by BluSky MarketingHotel Guest Experience Surveys by BluSky Marketing
Hotel Guest Experience Surveys by BluSky Marketing
 
GartnerBI SP Session: Harnessing Mobile Intelligence by Steve Reynolds
GartnerBI SP Session: Harnessing Mobile Intelligence by Steve ReynoldsGartnerBI SP Session: Harnessing Mobile Intelligence by Steve Reynolds
GartnerBI SP Session: Harnessing Mobile Intelligence by Steve Reynolds
 
Transparent Web (Fore! Reservations)
Transparent Web (Fore! Reservations)Transparent Web (Fore! Reservations)
Transparent Web (Fore! Reservations)
 
Checking in Hotel Web Design - 50 hotel websites
Checking in Hotel Web Design  - 50 hotel websitesChecking in Hotel Web Design  - 50 hotel websites
Checking in Hotel Web Design - 50 hotel websites
 
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
 
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
The Future of Connected Hotel Operations - ALICE Keynote at the Expedia Partn...
 
Hospitality 2020 vision
Hospitality 2020 vision Hospitality 2020 vision
Hospitality 2020 vision
 

Dernier

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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)wesley chun
 
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?Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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 WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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 Scriptwesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Dernier (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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)
 
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?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Social media week

  • 1. Sentiment Analysis #SMWsentiment Tuesday 25th September 2-3pm Stephen Tagg & Jillian Ney
  • 2. Workshop Overview 1. Have you checked in (& on Foursquare)? Backchat on #SMWsentiment… 2. A little introduction, definitions.. 3. Sentiment Analysis issues 4. An example using free software 5. Other free software 6. Other software 7. Workshop Discussion Q&A
  • 3. Definitions • Text Analysis – a bit more specific • Opinion Mining – not quite the same but overlap – will it make surveys less relevant? • “Sentiment analysis or opinion mining refers to the application of natural language processing, computational linguistics, and text analytics to identify and extract subjective information in source materials. • Generally speaking, sentiment analysis aims to determine the attitude of a speaker or a writer with respect to some topic or the overall contextual polarity of a document. The attitude may be his or her judgement or evaluation (see appraisal theory), affective state (that is to say, the emotional state of the author when writing), or the intended emotional communication (that is to say, the emotional effect the author wishes to have on the reader).” Wikipedia • Appraisal theory – psychological theories of emotion
  • 4. Sentiment analysis and Web 2.0 • The rise of social media such as blogs and social networks has fuelled interest in sentiment analysis. With the proliferation of reviews, ratings, recommendations and other forms of online expression, online opinion has turned into a kind of virtual currency for businesses looking to market their products, identify new opportunities and manage their reputations. As businesses look to automate the process of filtering out the noise, understanding the conversations, identifying the relevant content and actioning it appropriately, many are now looking to the field of sentiment analysis. If web 2.0 was all about democratizing publishing, then the next stage of the web may well be based on democratizing data mining of all the content that is getting published. • One step towards this aim is accomplished in research. Several research teams in universities around the world currently focus on understanding the dynamics of sentiment in e-communities through sentiment analysis. The CyberEmotions project, for instance, recently identified the role of negative emotions in driving social networks discussions. Sentiment analysis could therefore help understand why certain e-communities die or fade away (e.g., MySpace) while others seem to grow without limits (e.g., Facebook). • The problem is that most sentiment analysis algorithms use simple terms to express sentiment about a product or service. However, cultural factors, linguistic nuances and differing contexts make it extremely difficult to turn a string of written text into a simple pro or con sentiment. The fact that humans often disagree on the sentiment of text illustrates how big a task it is for computers to get this right. The shorter the string of text, the harder it becomes.
  • 5. Sentiment Analysis issues Hype • Gartner hype cycle – text analysis is in a good place – after the initial hype. More avenues for research – General Sentiment, Inc – Attensity – Lexalytics – Telligent Systems – CyberEmotions project
  • 6.
  • 7.
  • 8. An example • 31,000+ hotel evaluations from Dubai. (thanks to Prof Alan Wilson). • Applied the R tm package. R is a statistical package and tm is a package for text mining available in it. • Considerable time learning how to read in the data correctly. • Sentiment is another R package for generating sentiment analysis of texts. • Hotel evaluations need feature/ aspect-based sentiment analysis • Machine learning – latent semantic analysis, support vector machines, Bag of Words, Semantic orientation.
  • 9. First three cases ID Hotel Date of Data Title Body Review source 1 247 Ibis 07-MAY- agoda OK if your PROS: - Access to WTC - Not far from anywhere. CONS: - No in-room safe - No mini bar in 606 World 2010 work is at room - No comp water - Rather expensive internet access - poor information at lobby. . 59 Trade the world Upon check in they asked me for a cash deposit which was higher than the entire hotel Centr trade center bill and informed in advance that the change will not be in US $ but in local currency. e Anyway did a credit card inprint which satisfied them. No bell boy service, you carry all Dubai your luggage yourself; travel light. Breakfast is ok, and with a few chages day by day. Hotel 2 247 Rama 28-MAY- agoda Conveniently PROS: - Convenient location: very near to airport, shopping centres - Hotel facilities are 615 da 2010 located with superb - Good restaurants and entertainment centres - Easy to take taxis. CONS: - 60 Conti all the problems with the room key card, which get spoilt fast and need to be repalced at least nental facilities once a day. . . If you go to Dubai, I would definately recommend this hotel. It is Hotel, conveniently located and has all the facilities. The hotel is clean and the staff are friendly. Dubai It has a wide choice of restaurants and entertainment centres. It has some shopping centres nearby and a metro station is currently being built very near to this hotel. The airport is only about 15 mins drive from this hotel 3 256 Nihal 01-MAY- agoda Nihal Hotel PROS: - Cozy - Inexpensive - Good service - Nice disco (Filipino disco) - 450 Meter from 587 Hotel, 2010 Dubai Dubai metro - Clean rooms . CONS: - Small - No swimming pool/Gym - Rooms' doors are 26 Dubai with with old-style locks. . I like the place so much as it is inexpensive, cozy, in the down town, has a nice disco (which i like too much), has clean rooms, and near to Dubai metro.
  • 10. Terms/roots occurring >1000 times findFreqTerms(bodytdm,1000) "access" "airport" "amaz" "apart" "arriv" "avail" "bad" "bar" "bathroom" "beach" "beauti" "bed" "bedroom" "bit" "book" "breakfast" "buffet" "burj" "busi" "call" "car" "charg" "check" "choic" "citi" "clean" "close" "club" "comfort" "comfortable" "cons" "cost" "day" "definit" "desk" "door" "drink" "dubai" "easi" "emir" "enjoy" "especi" "etc" "excel" "excellent" "expect" "expens" "experi" "extra" "extrem" "facil" "famili" "fantast" "feel“ "floor" "food" "found" "free" "friend" "friendly" "front" "guest" "help" "helpful" "holiday" "hot" "hotel" "hour" "huge" "includ" "internet" "kitchen" "like" "littl" "locat" "location" "look" "lot" "love" "main" "mall" "manag" "metro" "minut" "money" "near" "nice" "night" "offer" "park" "pay" "peopl" "perfect" "pool" "poor" "price" "pros" "provid" "qualiti" "quiet" "rate" "reason" "recept" "recommend" "relax" "restaur" "return" "road" "servic" "service" "shop" "shower" "shuttl" "size" "spacious" "special" "staff" "standard" "star" "station" "stay" "suit" "swim" "taxi" "time" "told" "towel" "travel" "tri" "trip" "upgrad" "valu" "view" "visit" "wait" "walk" "water" "wonder" "worth"
  • 11. Sentiment analysis results Hotel * BEST_FIT Crosstabulation BEST_FIT Total anger disgust fear joy sadnes surprise s Count 0 0 0 1 0 0 1 ABC Arabain Suites 100. % within Hotel 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0% Count 0 0 0 0 1 0 1 Abu Dhabi Gulf Hotel 100.0 100. % within Hotel 0.0% 0.0% 0.0% 0.0% 0.0% % 0% Count 8 0 1 92 12 7 120 Admiral Plaza Hotel, Dubai 100. % within Hotel 6.7% 0.0% 0.8% 76.7% 10.0% 5.8% 0% Count 0 0 0 2 0 0 2 Akas-Inn Hotel Apartment 100. % within Hotel 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0% Count 1 0 1 13 1 1 17 Al Bustan Centre & 100. Residence Hotel, Dubai % within Hotel 5.9% 0.0% 5.9% 76.5% 5.9% 5.9% 0% Hotel Count 11 1 0 55 5 4 76 Al Bustan Rotana Hotel, 100. Dubai % within Hotel 14.5% 1.3% 0.0% 72.4% 6.6% 5.3% 0% Count 0 0 0 9 1 1 11 Al Deyafa Hotel Apartments 100. 3, Dubai % within Hotel 0.0% 0.0% 0.0% 81.8% 9.1% 9.1% 0% Count 0 0 0 0 0 1 1 Al Faris Hotel Apartments 1, 100. Dubai % within Hotel 0.0% 0.0% 0.0% 0.0% 0.0% 100.0% 0% Count 0 0 1 8 2 0 11 Al Faris Hotel Apartments 2, 100. Dubai % within Hotel 0.0% 0.0% 9.1% 72.7% 18.2% 0.0% 0% Count 5 2 1 21 4 3 36 Al Jawhara Gardens Hotel, 100. Dubai % within Hotel 13.9% 5.6% 2.8% 58.3% 11.1% 8.3% 0%
  • 12. Sentiment Analysis issues Indicators • R-sentiment uses either Janyce Wiebe’s subjectivity lexicon to classify polarity (+, 0, -) or “Word-net affect” to generate scores for anger, disgust, fear, joy, sadness and surprise. • May need own lexicon. • Remove objective statements. • Use of Machine Learning, Artificial intelligence to address ambiguity, multiple meaning, context…
  • 13. Other free software • GATE a computer science academic tool which looks to allow sophisticated processing. • RapidMiner – built on Java. Assumes you’ve got maybe 20 or 200 texts (not 31,000) so rapid it wasn’t! • You’ll struggle to Acquire data, process it and then you need to be able to summarise and interpret it!
  • 14. Sentiment Analysis as an add-on to social media metrics • Brand Watch – sentiment analysis – based on machine learning – select an industry for the query. • Alterian SM2 – part of dictionary – includes emoticons • Radian6 includes automated sentiment analysis and a Clarabridge Sentiment analysis • Other options on the resources hand-out
  • 15. Agenda for participants • Your experience and interests – What sentiment analysis have you seen/ used – What could Sentiment analysis contribute • Your concerns, barriers to use – Privacy issues – Effort/ Cost of acquiring data and doing it yourself – Trusting a third party to do Sentiment Analysis – judging their offerings – cost and vfm
  • 16. Workshop activities • What do people say about – your brand, – your company/ organisation? • How do they feel? • What UGC (User Generated Content) do you contribute to social media?
  • 17. Other developments • What do you say about….? Scottish independence issues – effect of other forum content.. (are Scots overwhelmed by so many English on BBC discussion forum) • I’m always on the look out for data – but I can take months/ years!!!