Semantic Analysis in Language Technology Lecture 3 -...
Transcript of Semantic Analysis in Language Technology Lecture 3 -...
MARINA SANTINI
P R O G R A M : C O M P U T A T I O N A L L I N G U I S T I C S A N D L A N G U A G E T E C H N O L O G Y
D E P T O F L I N G U I S T I C S A N D P H I L O L O G Y
U P P S A L A U N I V E R S I T Y , S W E D E N
2 1 N O V 2 0 1 3
Semantic Analysis in Language Technology
Lecture 3 - Semantic-Oriented Applications:
Sentiment Analysis Course Website: http://stp.lingfil.uu.se/~santinim/sais/sais_fall2013.htm
Acknowledgements
Thanks to Bing Liu for the many slides I borrowed from his Tutorial on Sentiment Analysis and Opinion Mining. Big thanks to Dan Jurafsky for his slides from Coursera NLP course.
2
Lecture 3: Sentiment Analysis
Why are sentiments important (opinions/emotions/affects/attitudes/etc)
Lecture 3: Sentiment Analysis
4
Text Categorization Problem
Lecture 3: Sentiment Analysis
7
Different level of granularity:
Document
Sentence
Summary
Whatch out!
Lecture 3: Sentiment Analysis
10
Date: The date is important in practice because one often wants to know how opinions change with time and opinion trends.
In which way ”sentiment” belongs to semantics?
Lecture 3: Sentiment Analysis
17
Semantics is the study of meaning: It focuses on the relation
between signifiers, like words, phrases, signs, and symbols, and what they stand for. Through a semantics, we want to understand human language.
Through SA we want to automatically identify the meaning of certain words, phrases, etc. and how they relate to affective states expressed in texts (long, short, oral, written, etc.)
Affect and Affective words…
Lecture 3: Sentiment Analysis
22
http://research.microsoft.com/en-us/projects/tweetaffect/
Basically… Text Classification!
Lecture 3: Sentiment Analysis
25
Topic-based classification Genre identification Authorship attribution
(plagiarism, authorship/classification of anonymous texts)
Spam filters Automatic email classification
(folder assignment) Threat identification Etc.
Team Work: 20 min; Discussion 15 min
Lecture 3: Sentiment Analysis
39
You are going to apply for funding . You are interested in Horizion 2020 funding scheme (the new European research and innovation funding framework)
You think it is a good idea to create a Mood Index App.
Plan with your team mates this new sentiment-based app. Present to the audience the following aspects:
1) Purpose: what is the main use of this new app? (ex, identification of self-distructive behavior,
depressive states, sad/happy mood, freindly attitudes, etc.) 2) Target users: who is going to use this app? (young people, parents, etc) 3) Scenario: describe a typical scenario/context where your app is going to be used with fruitful
results 4) Computational aspects: Which sentiment classes is the app going to identify? In which
language? Which computational model is going to be based upon? 5) The actors: what kind of experts do you need? (ex a computational linguist, a app developer,
a psychiatrist, a company taking care of marketing and commercialization, a social worker, school teacher etc.)
6) Societal Benefits: How can the commercialization of your app contribute to decrease unemployment in your country and/or in EU.
7) Any additional aspect you might find relevant.
How to build your own Twitter Sentiment Analysis Tool
Lecture 3: Sentiment Analysis
40
http://blog.datumbox.com/how-to-build-your-own-twitter-sentiment-analysis-tool/