A Computational Approach to the Analysis and Generation of Emotion in Text
Sentiment analysis is a field of computational linguistics involving identification, extraction, and classification of opinions, sentiments, and emotions expressed in natural language. Sentiment classification algorithms aim to identify whether the author of a text has a positive or a negative opini...
Main Author: | |
---|---|
Language: | en |
Published: |
2011
|
Subjects: | |
Online Access: | http://hdl.handle.net/10393/20137 |
id |
ndltd-LACETR-oai-collectionscanada.gc.ca-OOU-OLD.-20137 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-LACETR-oai-collectionscanada.gc.ca-OOU-OLD.-201372013-04-05T03:20:43ZA Computational Approach to the Analysis and Generation of Emotion in TextKeshtkar, FazelNatural LanguageProcessingNatural Language GenerationEmotion AnalysisSentiment OrientationParaphraseBootstrappingAuthoring ToolSentiment analysis is a field of computational linguistics involving identification, extraction, and classification of opinions, sentiments, and emotions expressed in natural language. Sentiment classification algorithms aim to identify whether the author of a text has a positive or a negative opinion about a topic. One of the main indicators which help to detect the opinion are the words used in the texts. Needless to say, the sentiments expressed in the texts also depend on the syntactic structure and the discourse context. Supervised machine learning approaches to sentiment classification were shown to achieve good results. Classifying texts by emotions requires finer-grained analysis than sentiment classification. In this thesis, we explore the task of emotion and mood classification for blog postings. We propose a novel approach that uses the hierarchy of possible moods to achieve better results than a standard flat classification approach. We also show that using sentiment orientation features improves the performance of classification. We used the LiveJournal blog corpus as a dataset to train and evaluate our method. Another contribution of this work is extracting paraphrases for emotion terms based on the six basics emotions proposed by Ekman (\textit{happiness, anger, sadness, disgust, surprise, fear}). Paraphrases are different ways to express the same information. Algorithms to extract and automatically identify paraphrases are of interest from both linguistic and practical points of view. Our paraphrase extraction method is based on a bootstrapping algorithms that starts with seed words. Unlike in previous work, our algorithm does not need a parallel corpus. In Natural Language Generation (NLG), paraphrasing is employed to create more varied and natural text. In our research, we extract paraphrases for emotions, with the goal of using them to automatically generate emotional texts (such as friendly or hostile texts) for conversations between intelligent agents and characters in educational games. Nowadays, online services are popular in many disciplines such as: e-learning, interactive games, educational games, stock market, chat rooms and so on. NLG methods can be used in order to generate more interesting and normal texts for such applications. Generating text with emotions is one of the contributions of our work. In the last part of this thesis, we give an overview of NLG from an applied system's points of view. We discuss when NLG techniques can be used; we explained the requirements analysis and specification of NLG systems. We also, describe the main NLG tasks of content determination, discourse planning, sentence aggregation, lexicalization, referring expression generation, and linguistic realisation. Moreover, we describe our Authoring Tool that we developed in order to allow writers without programming skills to automatically generate texts for educational games. We develop an NLG system that can generate text with different emotions. To do this, we introduce our pattern-based model for generation. We show our model starts with initial patterns, then constructs extended patterns from which we choose ``final'' patterns that are suitable for generating emotion sentences. A user can generate sentences to express the desired emotions by using our patterns. Alternatively, the user can use our Authoring Tool to generate sentences with emotions. Our acquired paraphrases will be employed by the tool in order to generate more varied outputs.2011-08-09T12:49:53Z2011-08-09T12:49:53Z20112011-08-09Thèse / Thesishttp://hdl.handle.net/10393/20137en |
collection |
NDLTD |
language |
en |
sources |
NDLTD |
topic |
Natural Language Processing Natural Language Generation Emotion Analysis Sentiment Orientation Paraphrase Bootstrapping Authoring Tool |
spellingShingle |
Natural Language Processing Natural Language Generation Emotion Analysis Sentiment Orientation Paraphrase Bootstrapping Authoring Tool Keshtkar, Fazel A Computational Approach to the Analysis and Generation of Emotion in Text |
description |
Sentiment analysis is a field of computational linguistics involving identification,
extraction, and classification of opinions, sentiments, and emotions expressed in
natural language. Sentiment classification algorithms aim to identify whether the author of a text has a positive or a negative opinion about a topic. One of the main indicators which help to detect the opinion are the words used in the texts. Needless to say, the sentiments expressed in the texts also depend on the syntactic structure and the discourse context. Supervised machine learning approaches to sentiment classification were shown to achieve good results. Classifying texts by emotions requires finer-grained analysis than sentiment classification. In this thesis, we explore the task of emotion and mood classification for blog postings. We propose a
novel approach that uses the hierarchy of possible moods to achieve better results than
a standard flat classification approach. We also show that using sentiment orientation features improves the performance of classification. We used the LiveJournal blog corpus as a dataset to train and evaluate our method.
Another contribution of this work is extracting paraphrases for emotion terms based on the six basics emotions proposed by Ekman (\textit{happiness, anger, sadness, disgust, surprise, fear}). Paraphrases are different ways to express the same information. Algorithms to extract and automatically identify paraphrases are of interest from both linguistic and practical points of view. Our paraphrase extraction method is based on a bootstrapping algorithms that starts with seed words. Unlike in previous work, our algorithm does not need a parallel corpus.
In Natural Language Generation (NLG), paraphrasing is employed to create more varied and natural text. In our research, we extract paraphrases for emotions, with the goal of using them to automatically generate emotional texts (such as friendly or hostile texts) for conversations between intelligent agents and characters in educational games.
Nowadays, online services are popular in many disciplines such as: e-learning, interactive games, educational games, stock market, chat rooms and so on. NLG methods can be used in order to generate more interesting and normal texts for such applications. Generating text with emotions is one of the contributions of our work.
In the last part of this thesis, we give an overview of NLG from an applied
system's points of view. We discuss when NLG techniques can be used; we explained the requirements analysis and specification of NLG systems. We also, describe the main NLG tasks of content determination, discourse planning, sentence aggregation, lexicalization, referring expression generation, and linguistic realisation. Moreover, we describe our Authoring Tool that we developed in order to allow writers without programming skills to automatically generate texts for educational games.
We develop an NLG system that can generate text with different emotions. To do this, we introduce our pattern-based model for generation. We show our model starts with initial patterns, then constructs extended patterns from which we choose ``final'' patterns that are suitable for generating emotion sentences. A user can generate sentences to express the desired emotions by using our patterns. Alternatively, the user can use our Authoring Tool to generate sentences with emotions. Our acquired paraphrases will be employed by the tool in order to generate more varied outputs. |
author |
Keshtkar, Fazel |
author_facet |
Keshtkar, Fazel |
author_sort |
Keshtkar, Fazel |
title |
A Computational Approach to the Analysis and Generation of Emotion in Text |
title_short |
A Computational Approach to the Analysis and Generation of Emotion in Text |
title_full |
A Computational Approach to the Analysis and Generation of Emotion in Text |
title_fullStr |
A Computational Approach to the Analysis and Generation of Emotion in Text |
title_full_unstemmed |
A Computational Approach to the Analysis and Generation of Emotion in Text |
title_sort |
computational approach to the analysis and generation of emotion in text |
publishDate |
2011 |
url |
http://hdl.handle.net/10393/20137 |
work_keys_str_mv |
AT keshtkarfazel acomputationalapproachtotheanalysisandgenerationofemotionintext AT keshtkarfazel computationalapproachtotheanalysisandgenerationofemotionintext |
_version_ |
1716579400208613376 |