Back to search

Nanyang Technological University

Sentiment analysis of context word embeddings

Abstract

dc:description.abstract

With every technological advancement, the role of machines in our lives are getting augmented and now, more than ever, there is a need to communicate with machines naturally. Natural communication includes more than just recognition of pre-defined commands by the machines, it includes but is not limited to the understanding of contextual and sentiment information of the conversation. There is a separate branch in Computer sciences and AI which deals with the interaction between computer and human called natural language processing (NLP). NLP encompasses many aspects of communication between machine and human such as speech recognition, syntactic analysis, and lexical semantics. But this study is limited to a part of NLP which is concerned with sentiment extraction and classification of text based on its sentiment. Classification of text is done into binary or ternary classes based on its sentiment. IMDB, SST and SemEval databases provide pre-labelled sentences specially curated for sentiment analysis tasks. The mentioned datasets are used for training and testing the classification models developed in this thesis using deep learning architecture. Embedding algorithm such as BERT framework is used for extracting word embedding. CNN and Fully connected deep neural network architecture are used to develop the classification models for classifying text in binary and ternary sentiment labels. The different classification models are compared against each other on different metrics such as Macro-F1, accuracy, precision, and recall. BERT embedding with CNN classifier is found to perform better on all datasets compared to all other classifier models discussed in this thesis.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Khan, Mohammad Sadique
Advisor dc:contributor.supervisor
  • Ponnuthurai Nagaratnam Suganthan

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
Khan, M. S. (2020). Sentiment analysis of context word embeddings. Master's thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/147554

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Khan, Mohammad Sadique. Sentiment analysis of context word embeddings. Nanyang Technological University, 2020. https://hdl.handle.net/10356/147554