In recent years, interest in applying statistical methods to solving problems in diverse areas of study has grown. This has led to a boom in the development of data driven solutions to a range of interesting commercial and academic problems across domains as diverse as business analytics, neuroscience, healthcare and social media analysis. The field of sentiment analysis (i.e. the task of “automatically determining valence, emotions, and other affectual states from text” (Mohammed, 2016) has begun to answer the question of how we can evaluate the emotional content of text, particularly with regard to commercial domains and social media. This work has obvious applications for companies who want to engage with consumer opinions of their products or services. However, while there is a rich literature on the tracking of sentiment and emotion in these domains, modelling the emotional trajectory of longer narratives, such as literary texts, poses new challenges. Previous work in the area of sentiment analysis has focused on using information from within a sentence to predict a valence value for that sentence. We propose to explore the influence of previous sentences on determining the sentiment of a given sentence in context by investigating whether information present in a history of previous sentences can be used to predict a valence value for the following sentence. We explored both linear and non-linear machine learning methods and a range of different feature combinations. We also looked at different context history sizes to determine what range of previous sentences was most informative for our models. We establish a linear relationship between sentence context history and the valence value of the current sentence and demonstrate that sentences in closer proximity to the target sentence are more informative. We show that the inclusion of semantic word embeddings enriches our model predictions.
|Number of pages||1|
|Publication status||Accepted - 21 May 2019|
|Event||International Conference of the Royal Statistical Society (RSS 2019) - Belfast, United Kingdom|
Duration: 02 Sep 2019 → 05 Sep 2019
|Conference||International Conference of the Royal Statistical Society (RSS 2019)|
|Abbreviated title||RSS 2019|
|Period||02/09/2019 → 05/09/2019|