Sentiment Analysis Techniques - A Comparative Study

Similar documents
Product Feature-based Ratings foropinionsummarization of E-Commerce Feedback Comments

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

Multilingual Sentiment and Subjectivity Analysis

A Comparison of Two Text Representations for Sentiment Analysis

Linking Task: Identifying authors and book titles in verbose queries

Netpix: A Method of Feature Selection Leading. to Accurate Sentiment-Based Classification Models

SINGLE DOCUMENT AUTOMATIC TEXT SUMMARIZATION USING TERM FREQUENCY-INVERSE DOCUMENT FREQUENCY (TF-IDF)

Cross Language Information Retrieval

Detecting English-French Cognates Using Orthographic Edit Distance

Movie Review Mining and Summarization

A Case Study: News Classification Based on Term Frequency

Using dialogue context to improve parsing performance in dialogue systems

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

Using Games with a Purpose and Bootstrapping to Create Domain-Specific Sentiment Lexicons

Analyzing sentiments in tweets for Tesla Model 3 using SAS Enterprise Miner and SAS Sentiment Analysis Studio

Assignment 1: Predicting Amazon Review Ratings

Word Segmentation of Off-line Handwritten Documents

CS 446: Machine Learning

arxiv: v1 [cs.cl] 2 Apr 2017

MULTILINGUAL INFORMATION ACCESS IN DIGITAL LIBRARY

Postprint.

Determining the Semantic Orientation of Terms through Gloss Classification

AQUA: An Ontology-Driven Question Answering System

The Internet as a Normative Corpus: Grammar Checking with a Search Engine

Reducing Features to Improve Bug Prediction

Rule Learning With Negation: Issues Regarding Effectiveness

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

Indian Institute of Technology, Kanpur

Probabilistic Latent Semantic Analysis

BYLINE [Heng Ji, Computer Science Department, New York University,

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Distant Supervised Relation Extraction with Wikipedia and Freebase

Extracting Verb Expressions Implying Negative Opinions

Using Web Searches on Important Words to Create Background Sets for LSI Classification

Ensemble Technique Utilization for Indonesian Dependency Parser

Cross-lingual Short-Text Document Classification for Facebook Comments

Robust Sense-Based Sentiment Classification

Matching Similarity for Keyword-Based Clustering

Leveraging Sentiment to Compute Word Similarity

Python Machine Learning

CLASSIFICATION OF TEXT DOCUMENTS USING INTEGER REPRESENTATION AND REGRESSION: AN INTEGRATED APPROACH

Rule Learning with Negation: Issues Regarding Effectiveness

Disambiguation of Thai Personal Name from Online News Articles

Mining Association Rules in Student s Assessment Data

The stages of event extraction

Longest Common Subsequence: A Method for Automatic Evaluation of Handwritten Essays

EdIt: A Broad-Coverage Grammar Checker Using Pattern Grammar

Experiments with SMS Translation and Stochastic Gradient Descent in Spanish Text Author Profiling

Australian Journal of Basic and Applied Sciences

CS 598 Natural Language Processing

Iterative Cross-Training: An Algorithm for Learning from Unlabeled Web Pages

Extracting and Ranking Product Features in Opinion Documents

Predicting Student Attrition in MOOCs using Sentiment Analysis and Neural Networks

POS tagging of Chinese Buddhist texts using Recurrent Neural Networks

Chunk Parsing for Base Noun Phrases using Regular Expressions. Let s first let the variable s0 be the sentence tree of the first sentence.

Developing True/False Test Sheet Generating System with Diagnosing Basic Cognitive Ability

A Bayesian Learning Approach to Concept-Based Document Classification

METHODS FOR EXTRACTING AND CLASSIFYING PAIRS OF COGNATES AND FALSE FRIENDS

Switchboard Language Model Improvement with Conversational Data from Gigaword

The taming of the data:

Detecting Online Harassment in Social Networks

University of Alberta. Large-Scale Semi-Supervised Learning for Natural Language Processing. Shane Bergsma

A Vector Space Approach for Aspect-Based Sentiment Analysis

Parsing of part-of-speech tagged Assamese Texts

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

Web as Corpus. Corpus Linguistics. Web as Corpus 1 / 1. Corpus Linguistics. Web as Corpus. web.pl 3 / 1. Sketch Engine. Corpus Linguistics

Verbal Behaviors and Persuasiveness in Online Multimedia Content

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

2/15/13. POS Tagging Problem. Part-of-Speech Tagging. Example English Part-of-Speech Tagsets. More Details of the Problem. Typical Problem Cases

Rule discovery in Web-based educational systems using Grammar-Based Genetic Programming

Lecture 1: Machine Learning Basics

Learning Structural Correspondences Across Different Linguistic Domains with Synchronous Neural Language Models

A Domain Ontology Development Environment Using a MRD and Text Corpus

Combining a Chinese Thesaurus with a Chinese Dictionary

Detecting Wikipedia Vandalism using Machine Learning Notebook for PAN at CLEF 2011

Universiteit Leiden ICT in Business

1. Introduction. 2. The OMBI database editor

Dialog Act Classification Using N-Gram Algorithms

Language Independent Passage Retrieval for Question Answering

Large-Scale Web Page Classification. Sathi T Marath. Submitted in partial fulfilment of the requirements. for the degree of Doctor of Philosophy

The Smart/Empire TIPSTER IR System

Memory-based grammatical error correction

Senior Stenographer / Senior Typist Series (including equivalent Secretary titles)

Cross-Lingual Text Categorization

Speech Emotion Recognition Using Support Vector Machine

A heuristic framework for pivot-based bilingual dictionary induction

NCU IISR English-Korean and English-Chinese Named Entity Transliteration Using Different Grapheme Segmentation Approaches

Bootstrapping and Evaluating Named Entity Recognition in the Biomedical Domain

Vocabulary Usage and Intelligibility in Learner Language

Chinese Language Parsing with Maximum-Entropy-Inspired Parser

TextGraphs: Graph-based algorithms for Natural Language Processing

UCLA UCLA Electronic Theses and Dissertations

Text-mining the Estonian National Electronic Health Record

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

Identification of Opinion Leaders Using Text Mining Technique in Virtual Community

Using Semantic Relations to Refine Coreference Decisions

Online Updating of Word Representations for Part-of-Speech Tagging

THE ROLE OF DECISION TREES IN NATURAL LANGUAGE PROCESSING

Evaluation of Usage Patterns for Web-based Educational Systems using Web Mining

Evaluation of Usage Patterns for Web-based Educational Systems using Web Mining

Transcription:

www..org 25 Sentiment Analysis Techniques - A Comparative Study Haseena Rahmath P 1, Tanvir Ahmad 2 1 Department of Computer Science and Engineering, Al-Falah School of Engineering, Dhauj, Haryana, India 2 Prof., Department of Computer Engineering, Jamia Millia Islamia, New Delhi, India Abstract The growing popularity of E-commerce, social medias, forums, blogs etc. created a new platform where anyone can discuss and exchange his/her views, ideas, suggestions and experience about any product or services. This trend accumulated a huge amount of user generated data on the web. If this content can be extracted and analyzed properly then it can act as a key factor in decision making. But manual extraction and analysis of this content is an impossible task, as the content is unstructured in nature and it is written in natural language. This situation opened a new area of research called Opinion Mining and Sentiment Analysis. Opinion Mining and Sentiment Analysis is an extension of Data Mining that extracts and analyzes the unstructured data automatically. The main motive of this paper is to discuss the key concept used in Opinion Mining and Sentiment Analysis and also presents a comparative analysis of various techniques used in this area. Keywords: Opinion Mining, Sentiment Analysis, Natural Language Processing, Sentiment, Sentiment Score. 1. Introduction The increased popularity of E-commerce, social medias, forums, blogs etc. resulted in a huge accumulation of user generated data on the internet in the form of, opinions and comments on different services, events and products and this trend is continually growing day by day. Both consumers and producers are beneficiaries of this content: consumers can consider others opinion and experience while taking decision about any product or services and producers can get clear idea about their product from the consumer point of view and thereby they can increase the quality of the product. But the main challenging task is extracting and analyzing the useful things from this content. The unstructured nature of the content and the natural language used to write these content added up the complexity more and it opened a new area of research called Opinion Mining and Sentiment Analysis. Opinion Mining and Sentiment Analysis is a Natural Language Processing (NLP) technique that automatically extracts the opinion, sentiments, attitude, emotions, views etc. in proper context and classify these into different categories like positive, negative, neutral etc. Other terms used for this research domain are subjectivity analysis, subjectivity detection, appraisal extraction and review mining, sentiment mining [1]. It extracts the feeling of the author about some topic. The two important tasks involved in Opinion Mining and Sentiment Analysis are 1) Opinion Extraction: extracting the opinionated phrases, in proper context, from free text and (2) Sentiment classification: classifying opinionated phrases based on sentiment orientation. It utilizes various machine learning techniques such as SVM, Naïve Bayes, character Based N-gram model etc. for sentiment classification [2]. Sentiments can be classified at various levels: Aspects or feature level, sentence level and document level. Aspects or feature level sentiment classification classifies the sentiments based on the sentiments polarity of each aspects or feature about some target object and sentence level sentiment classification on the other hand classifies each sentence based on their sentiment polarity towards some topic. In document level sentiment classification the polarity of whole document is determined. It classifies the entire document into positive or negative or neutral class. Generally, two techniques are used for opinion mining and sentiment analysis: 1) Machine learning based techniques 2) based techniques. In machine learning based techniques various machine learning algorithms are used for sentiment classification. Both supervised and unsupervised learning algorithm can be used to classify text. In based techniques, a sentiment dictionary with sentiment words are used for sentiment classification. The dictionary contains polarity of each word whether they are positive, negative and objective words. Polarity of the opinion words can be determined by matching those words with dictionary words. This paper is a humble attempt to study the concepts of Opinion Mining and Sentiment Analysis and compare various techniques used in this field. The rest of the paper is organized as follows: an overview of the sentiment

www..org 26 analysis techniques are presents in section 2 and in section 3 analysis and comparison of those techniques are discussed. Finally the paper concluded in section 4. 2. Sentiment Analysis Techniques Sentiment Analysis can be performed in three ways: 1) Sentiment Analysis based on Supervised Machine learning technique, 2) Sentiment Analysis by using based Technique and 3) Sentiment Analysis By combining the above two approaches. 2.1 Supervised Machine learning based techniques Machine learning based Sentiment Analysis or classification can be done in two ways: 1) Sentiment Analysis by using supervised machine learning techniques and 2) Sentiment Analysis by using unsupervised machine learning techniques. In Supervised Machine learning techniques, two types of data sets are required: training dataset and test data set. An automatic classifier learns the classification factors of the document from the training set and the accuracy in classification can be evaluated using the test set. Various machine learning algorithms are available that can be used very well to classify the documents. The machine learning algorithms like Support Vector Machine (SVM), Naive Bayes (NB) and maximum entropy (ME) are used successfully in many research and they performed well in the sentiment classification. The first step in Supervised Machine learning technique is to collect the training set and then select the appropriate classifier. Once the classifier is selected, the classifier gets trained using the collected training set. The key step in the Supervised Machine learning technique is feature selection. The classifier selection and feature selection determines the classification performance. The most common techniques used for feature selection are: 1) Opinion words and phrase: By considering adjectives and adverb most of the opinion words can be extracted from the document, but sometimes nouns or verbs may also express opinion. For instance, good, fantastic, amazing, bad and boring are all adjective or adverb which express emotions while rubbish is a noun but it express a sentiment similarly hate and like are verb but it express opinion. Once opinions are collected, its polarity can be calculated using statistical-based or lexiconbased techniques. Hu and Liu et al. [7] used a WordNet Api for determining polarity orientation of selected sentiment words. 2) Terms and their frequency: uni-grams or n- grams with their frequency of occurrence are considered as features. This technique is used in many studies and achieved good result. Pang et al. [3] used uni-grams on movie review dataset and Dave et al. [4] used bigrams and tri-grams on product review dataset. Both studies reported better result on polarity determination. 3) Part of speech (POS) information: In this approach, POS tag of words is used in determining the feature. In POS tagging, it tag each word by considering its position in the grammatical context. Prabowo and Thelwall(2009)[6] used this approach in their studies and they constructed feature set easily by identifying adjectives and adverbs. 4) Negations: Negation word reverses the meaning, so it very important factor in polarity calculation [1]. Pang et al. (2002) [3] used three supervised machine learning techniques to classify the text: SVM, Naïve Bayes, and Maximum Entropy. They compared the efficiency of these three classifiers with different feature selection method such as uni-gram, n-gram, combining uni-gram and bi-gram and by combining uni-gram and Pos tagging. They reached a conclusion that if the feature set is small then it is better to consider feature presence than feature frequency. While Naïve Bayes performed well on small feature set, The SVM performed well on large feature space. Maximum Entropy gave better result than Naïve Bayes when experimented with large feature space. Abbasi et al. [8] evaluated the utility of stylistic and syntactic features for sentiment classification in English and Arabic language. Structural and lexical attributes contribute to stylistic feature while manual, semiautomatic, or automatic annotation techniques are used for syntactic features. A new hybridized genetic algorithm, the entropy weighted genetic algorithm (EWGA) is introduced to improve feature selection process that incorporates the information-gain heuristic. They achieved an accuracy of over 95% while conducting experiment with SVM classifier on movie review data set. The Stylistic feature enhanced performance in all test sets. 2.2 Based Method Based Method is an Learning approach since it does not require prior training data sets. It is a semantic orientation approach to opinion mining in which sentiment polarity of features present in the given document are determined by comparing these features with semantic lexicons. Semantic lexicon contains lists of words whose sentiment orientation is determined already. It

www..org 27 classifies the document by aggregating the sentiment orientation of all opinion words present in the document, documents with more positive word lexicons is classified as positive document and the documents with more negative word lexicons is classified as negative document. The key steps of lexicon based sentiment analysis are the following [10]: 1. Preprocessing: This step clean the document by removing HTML tags and noisy characters present in the document, by correcting spelling mistakes, grammar mistakes, punctuation errors and incorrect capitalization and replacing nondictionary words such as abbreviations or acronyms of common terms with their actual term. 2. Feature Selection: This step Extract the feature present in the document by using techniques like POS tagging. 3. Sentiment score calculation: Initialize s with 0. For each extracted sentiment word, check whether it is present in the sentiment dictionary, If present with negative polarity, w then s = s-w or If present with positive polarity, w then s = s + w. 4. Sentiment Classification: If s is below a particular threshold value then classifying the document as negative otherwise classify it as positive. 2.2.1 Sentiment Construction Sentiment lexicon can be constructed in three ways: 1) manual lexicon construction, 2) dictionary-based lexicon construction and 3) corpus-based lexicon construction. In manual lexicon construction, the lexicons are constructed manually. It is very difficult and timeconsuming task. In dictionary-based lexicon construction, a small set of sentiment words and their polarity are determined manually and then this set is widened by adding more words into it using WordNet dictionary or SentiWordNet dictionary and their synonyms and antonyms. In corpus-based lexicon construction, it considers syntactic patterns of the words in the document. It requires annotated training data to produces accurate semantic words. Turney(2002)[5] used unsupervised machine learning approach to classify the review dataset. The algorithm classified the review into recommended review and not recommended review. Point-wise mutual information (PMI) of the words are used to determine the polarity. Adjectives and adverbs are considered for feature space construction. An accuracy of between 66-74% is achieved while conducting experiment on datasets from different domain such as movie, bank and automobile. Harb et al. [9] considered two set of seed words having positive and negative polarities and by using association rule, more seeds are collected from Google Search API. The sum of polarities of the sentiment words classified the document. For positive categorization of documents they yielded 71% while for negative categorization of documents they achieved only 62%. A. Khan et al. [12] conducted a sentence level sentiment classification using rule based domain independent approach. Sentences are categorized first into subjective and objective sentences then sentiment score is calculated using SentiWordNet. By considering the sentence structure the final sentiment score is calculated. They achieved an accuracy of 86.6% at the sentence level. Zhang et al. [15] used an aspects based sentiment analysis to develop a system that finds weakness of the product, so that the producers can improve quality of the product. For every aspect the system tries to find implicit and explicit features and then the related sentiment words. For getting accurate sentiment words they used sentence based sentiment analysis. The system showed 85.26% recall, 82.62% precision and about 83.92% F1-measure. 2.3 Techniques Some researchers combined the supervised machine learning and lexicon based approaches together to improve sentiment classification performance. Fang et al. [16] adopted entirely different approach. They considered both general purpose lexicon and domain specific lexicon for determining polarity orientation of sentiment words and feed these lexicons into supervised learning algorithm, SVM. They found that general purpose lexicon performed very poor while domain specific lexicon performed very well. The system classified the sentiment in two steps: First the classifier is trained to predict the aspects and In Next the classifier is trained to predict the sentiments related to the aspects collected in step1.their system yielded around 66.8% accuracy. Mudinas et al. [13] combined lexicon based and learningbased approaches to develop a concept-level sentiment analysis system, psenti. It utilized advantages of both the approaches and attained stability and readability from semantic lexicon and high accuracy from a powerful supervised learning algorithm. They extracted sentiment words and considered it as features in machine learning

www..org 28 algorithm. This hybrid approach psenti achieved an accuracy of 82.30%. Zhang et al. [16] carried out entity level sentiment analysis. They utilized both the supervised learning techniques and lexicon based techniques. By lexicon based method they extracted sentiment words. By using Chi-square test on the extracted seeds additional seeds are discovered. Sentiment polarities of newly discovered seed are determined through a classifier, which is being already, trained using initial seeds. There is no manual task in this proposed system and it achieved around 85.4% of accuracy. 3. Comparative Analysis In most of the cases the supervised machine learning approaches outperformed the unsupervised lexicon based approaches. But, the requirement of big labeled training data set for supervised machine learning approaches; compel the researchers to adopt the unsupervised methods, as it is very easy to collect unlabelled dataset. Table 1: Accuracy of Sentiment Analysis using different Techniques. Paper Approach Dataset Technique Accuracy Turney [5] movie, bank and automobile Pang et al. [1] Hu and Liu [4] Abbasi et al. [8] Harb et al. [9] A. Khan et al. [5] Zhang et al.[15] Zhang et al. [16] Mudinas et al. [13] Fang et al. [14] Supervised Supervised review Review review Product Twitter tweets Multi domain PMI 66% SVM 82.9% Naïve 81.5% Bayes Maximum 81.0% Entropy 84% SVM 95.5% 71% 86.6% 82.62% 85.4% 82.3% 66.8% Source: compiled and extracted by the author from various studies The sentiment classification using Support Vector Machines (SVM) yielded high accuracy than other machine learning algorithms. In lexicon based approaches the performance is mainly depends up on lexicon dictionary contents. If the dictionary contains fewer words then it leads to major decrease in the performance. The real challenge in the sentiment analysis is the determination of polarity of the sentiment words. The polarity orientation is entirely depends on the domain, for example, just go and read the book has positive orientation in book review but has negative orientation in movie review. The presently available sentiment lexicon fails to capture the context sensitivity of sentiment words. The lexicon based sentiment analysis gives low recall if it is being not used with well built sentiment lexicon dictionary. The hybrid approach combines the advantages of both the techniques. It is inheriting high accuracy from supervised machine learning algorithm and achieving stability for lexicon based approach. Table 1 summarizes the sentiment analysis techniques mainly used in recent research along with the accuracy achieved in their evaluation, as per the data provided by the authors. Conclusion Huge collection of unstructured data that are accumulated on the web can be effectively extracted and analyzed by using Opinion Mining and Sentiment Analysis. It is the most emerging field in Data Mining. Most of the business organizations believe that their business success solely depends on the satisfaction of the s. So they encourage researchers and academicians for better solutions for Sentiment Analysis. Even though some of the existing solution performs well, but it is required to find a better solution that overcome all the challenges that are being faced by Opinion Mining and Sentiment Analysis. Support Vector Machines (SVM) performed well with high accuracy than other machine learning algorithms in most of the studies, but is too not exempt from limitations. More researches are needed in this area to achieve better performance in sentiment classification. Sentiment Analysis system should be able to handle short sentences, abbreviation and spam contents as well. References [1] B. Pang and L. Lee, Opinion mining and sentiment analysis, Foundations and Trends in Information Retrieval 2(1-2), 2008, pp. 1 135. [2] Q. Ye, Z. Zhang, and R. Law, "Sentiment classification of online to travel destinations by supervised machine learning approaches", Expert Systems with Applications, vol. 36, pp. 6527-6535, 2009.

www..org 29 [3] B. Pang, L. Lee, and S. Vaithyanathan, Thumbs up?: sentiment classification using machine learning techniques, Proceedings of the ACL-02 conference on Empirical methods in natural language processing, vol.10, 2002, pp. 79-86. [4] K. Dave, S. Lawrence, and D. M. Pennock, Mining the peanut gallery: Opinion extraction and semantic classification of product, Proceedings of WWW, 2003, pp. 519 528. [5] P. Turney, Thumbs up or thumbs down? Semantic orientation applied to unsupervised classification of, Proceedings of the Association for Computational Linguistics (ACL), 2002, pp. 417 424. [14] Ji Fang and Bi Chen, Incorporating Knowledge into SVM Learning to Improve Sentiment Classication, In Proceedings of the Workshop on Sentiment Analysis where AI meets Psychology (SAAIP), pages 94 100, 2011. [15] W. Zhang, H. Xu, W. Wan, Weakness Finder: Find product weakness from Chinese by using aspects based sentiment analysis, Expert Systems with Applications, Elsevier, vol. 39, 2012,pp. 10283-10291. [16] L. Zhang, R. Ghosh, M. Dekhil, M. Hsu, and B.Liu, Combining -based and Learning-based Methods for Twitter Sentiment Analysis, Technical report, HP Laboratories, 2011. [6] R. Prabowo and M. Thelwall, "Sentiment analysis: A combined approach", Journal of Informetrics, vol. 3, pp.143-157, 2009. [7] M. Hu and B. Liu, "Mining and summarizing," Proceedings of the tenth ACM international conference on Knowledge discovery and data mining, Seattle, 2004, pp. 168-177. [8] A. Abbasi, H. Chen, and A. Salem, Sentiment analysis in multiple languages: Feature selection for opinion classification in web forums, In ACM Transactions on Information Systems, vol. 26 Issue 3, pp. 1-34, 2008. [9] A. Harb, M. Planti, G. Dray, M. Roche, Fran, o. Trousset and P. Poncelet, "Web opinion mining: how to extract opinions from blogs?", presented at the Proceedings of the 5th international conference on Soft computing as transdisciplinary science and technology, Cergy-Pontoise, France, 2008. [10] M. Annett, G. Kondrak, A comparison of sentiment analysis techniques: Polarizing movie Blogs, In Canadian Conference on AI, pp. 25 35,2008. [11] T. Peng, C. Shih, An Snippet-Based Sentiment Classification Method for Chinese Unknown Phrases without Using Reference Word Pairs. Proceedings of the International Conference on Web Intelligence and Intelligent Agent Technology, 2010, pp.243-248. [12] A. Khan, B. Baharudin, K. Khan; Sentiment Classification from Online Customer Reviews Using Lexical Contextual Sentence Structure ICSECS 2011: 2nd International Conference on Software Engineering and Computer Systems, Springer, pp.317-331, 2011. [13] A. Mudinas, D. Zhang, M. Levene, Combining lexicon and learning based approaches for conceptlevel sentiment analysis, Proceedings of the First International Workshop on Issues of Sentiment Discovery and Opinion Mining, ACM, New York,NY, USA, Article 5, pp. 1-8, 2012.