SlideShare a Scribd company logo
What is sentiment Analysis
Sentiment analysis is a subfield of natural language
processing (NLP) that involves identifying and
categorizing opinions expressed in a piece of text to
determine whether the sentiment expressed is
positive, negative, or neutral. It aims to understand
the overall attitude or emotional tone conveyed by
the text.
Why is sentiment analysis important?
Sentiment analysis, also known as opinion mining, is an important business
intelligence tool that helps companies improve their products and services. We give
some benefits of sentiment analysis below.
Provide objective insights
Businesses can avoid personal bias associated with human reviewers by using
artificial intelligence (AI)–based sentiment analysis tools. As a result, companies get
consistent and objective results when analyzing customers’ opinions.
For example, consider the following sentence:
I'm amazed by the speed of the processor but disappointed that it heats up quickly.
Marketers might dismiss the discouraging part of the review and be positively
biased towards the processor's performance. However, accurate sentiment analysis
tools sort and classify text to pick up emotions objectively.
How does sentiment analysis work?
Sentiment analysis is an application of natural language processing (NLP)
technologies that train computer software to understand text in ways similar to
humans. The analysis typically goes through several stages before providing the
final result.
Preprocessing
During the preprocessing stage, sentiment analysis identifies key words to highlight
the core message of the text.
• Tokenization breaks a sentence into several elements or tokens.
• Lemmatization converts words into their root form. For example, the root form
of am is be.
• Stop-word removal filters out words that don't add meaningful value to the
sentence. For example, with, for, at, and of are stop words.
Approaches of sentiment analysis
1.Rule based approach
2.Machine learning approach
3.Hybrid approach
4.Aspect based approach
5.Deep learning approach
Rule based approach
The rule-based approach identifies, classifies, and scores specific
keywords based on predetermined lexicons. Lexicons are compilations
of words representing the writer's intent, emotion, and mood.
Marketers assign sentiment scores to positive and negative lexicons to
reflect the emotional weight of different expressions. To determine if a
sentence is positive, negative, or neutral, the software scans for words
listed in the lexicon and sums up the sentiment score. The final score is
compared against the sentiment boundaries to determine the overall
emotional bearing.
Rule-based analysis example
Consider a system with words like happy, affordable, and fast in the
positive lexicon and words like poor, expensive, and difficult in a
negative lexicon. Marketers determine positive word scores from 5 to
10 and negative word scores from -1 to -10. Special rules are set to
identify double negatives, such as not bad, as a positive sentiment.
Marketers decide that an overall sentiment score that falls above 3 is
positive, while - 3 to 3 is labeled as mixed sentiment.
Machine learning approach:
Machine learning techniques involve training models on
labeled datasets to predict sentiment.
Supervised learning algorithms such as Support Vector
Machines (SVM), Naive Bayes, Decision Trees, Random
Forests, and Neural Networks (including deep learning
architectures like LSTM, CNN) are commonly used.
Models are trained on labeled data, where each data point is
associated with a sentiment label (e.g., positive, negative,
neutral).
This approach can capture complex relationships in the data
and may perform well with large datasets but requires
substantial labeled data for training.
Hybrid approach:
Hybrid approaches combine both lexicon-based and machine learning
techniques to leverage their respective strengths.
Lexicon-based methods can be used for feature extraction or as input
to machine learning models, enhancing performance by incorporating
domain-specific knowledge.
Machine learning models can learn from data and adapt to various
contexts, improving accuracy and robustness.
Hybrid approaches aim to achieve better performance than either
method alone
Aspect-based sentiment analysis:
Aspect-based sentiment analysis goes beyond classifying the overall
sentiment of a text and aims to identify sentiment towards specific
aspects or entities mentioned in the text.
This approach involves extracting aspects or entities from the text and
then determining sentiment polarity for each aspect.
It is particularly useful for analyzing product reviews, where users
express opinions about different aspects/features of a product.
Deep learning approach:
Deep learning models, such as Recurrent Neural Networks (RNNs),
Long Short-Term Memory (LSTM) networks, Convolutional Neural
Networks (CNNs), and Transformer-based models like BERT, have
shown promising results in sentiment analysis tasks.
These models can learn intricate patterns in textual data and capture
long-range dependencies, leading to improved performance.
However, deep learning models often require large amounts of labeled
data and computational resources for training.
What are the different types of sentiment
analysis?
1.Fined based scoring
2.Aspect based
3.Intent based
4.Emotional detentions
Fine-grained analysis
Fine-grained sentiment analysis refers to categorizing the text intent
into multiple levels of emotion. Typically, the method involves rating
user sentiment on a scale of 0 to 100, with each equal segment
representing very positive, positive, neutral, negative, and very
negative. Ecommerce stores use a 5-star rating system as a fine-grained
scoring method to gauge purchase experience.
Aspect based analysis
Aspect-based analysis focuses on particular aspects of a product or
service. For example, laptop manufacturers survey customers on their
experience with sound, graphics, keyboard, and touchpad. They use
sentiment analysis tools to connect customer intent with hardware-
related keywords.
Intent based analysis
Intent-based analysis helps understand customer sentiment when
conducting market research. Marketers use opinion mining to
understand the position of a specific group of customers in the
purchase cycle. They run targeted campaigns on customers interested
in buying after picking up words like discounts, deals, and reviews in
monitored conversations.
Emotional detection
Emotional detection involves analyzing the psychological state of a
person when they are writing the text. Emotional detection is a more
complex discipline of sentiment analysis, as it goes deeper than merely
sorting into categories. In this approach, sentiment analysis models
attempt to interpret various emotions, such as joy, anger, sadness,
and regret, through the person's choice of words.
What are the challenges in sentiment
analysis?
Sarcasm
It is extremely difficult for a computer to analyze sentiment in sentences that
comprise sarcasm. Consider the following sentence, Yeah, great. It took three
weeks for my order to arrive. Unless the computer analyzes the sentence with a
complete understanding of the scenario, it will label the experience as positive
based on the word great.
Negation
Negation is the use of negative words to convey a reversal of meaning in the
sentence. For example, I wouldn't say the subscription was expensive. Sentiment
analysis algorithms might have difficulty interpreting such sentences correctly,
particularly if the negation happens across two sentences, such as, I thought the
subscription was cheap. It wasn't.
Ad

More Related Content

Similar to A presentation on Sentiment Analysis.... (20)

Major presentation
Major presentationMajor presentation
Major presentation
PS241092
 
NLP Ecosystem
NLP EcosystemNLP Ecosystem
NLP Ecosystem
Harshad Madhamshettiwar
 
2
22
2
International Journal of Advance Research and Innovative Ideas in Education
 
IRJET- A Survey on Graph based Approaches in Sentiment Analysis
IRJET- A Survey on Graph based Approaches in Sentiment AnalysisIRJET- A Survey on Graph based Approaches in Sentiment Analysis
IRJET- A Survey on Graph based Approaches in Sentiment Analysis
IRJET Journal
 
Sentimental analysis
Sentimental analysisSentimental analysis
Sentimental analysis
Learnbay Datascience
 
Sentimental analysis of audio based customer reviews without textual conversion
Sentimental analysis of audio based customer reviews without textual conversionSentimental analysis of audio based customer reviews without textual conversion
Sentimental analysis of audio based customer reviews without textual conversion
IJECEIAES
 
Sentiment analysis
Sentiment analysisSentiment analysis
Sentiment analysis
SAI MANIKANTA MANASANI
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysis
Dinesh V
 
K1802056469
K1802056469K1802056469
K1802056469
IOSR Journals
 
Emotion analysis
Emotion analysisEmotion analysis
Emotion analysis
Bytesview
 
SENTIMENT ANALYSIS-AN OBJECTIVE VIEW
SENTIMENT ANALYSIS-AN OBJECTIVE VIEWSENTIMENT ANALYSIS-AN OBJECTIVE VIEW
SENTIMENT ANALYSIS-AN OBJECTIVE VIEW
Journal For Research
 
REPORT Sentiment_Analysis_of_Social_Media (5).pptx
REPORT Sentiment_Analysis_of_Social_Media (5).pptxREPORT Sentiment_Analysis_of_Social_Media (5).pptx
REPORT Sentiment_Analysis_of_Social_Media (5).pptx
Mm071
 
Ieee format 5th nccci_a study on factors influencing as a best practice for...
Ieee format 5th nccci_a study on factors influencing as  a  best practice for...Ieee format 5th nccci_a study on factors influencing as  a  best practice for...
Ieee format 5th nccci_a study on factors influencing as a best practice for...
International Journal of Advance Research and Innovative Ideas in Education
 
L017358286
L017358286L017358286
L017358286
IOSR Journals
 
Sentiment Features based Analysis of Online Reviews
Sentiment Features based Analysis of Online ReviewsSentiment Features based Analysis of Online Reviews
Sentiment Features based Analysis of Online Reviews
iosrjce
 
NLP Techniques for Sentiment Anaysis.docx
NLP Techniques for Sentiment Anaysis.docxNLP Techniques for Sentiment Anaysis.docx
NLP Techniques for Sentiment Anaysis.docx
KevinSims18
 
An Improved sentiment classification for objective word.
An Improved sentiment classification for objective word.An Improved sentiment classification for objective word.
An Improved sentiment classification for objective word.
IJSRD
 
Social Media Sentiments Analysis
Social Media Sentiments AnalysisSocial Media Sentiments Analysis
Social Media Sentiments Analysis
PratisthaSingh5
 
Twitter sentiment analysis.pptx
Twitter sentiment analysis.pptxTwitter sentiment analysis.pptx
Twitter sentiment analysis.pptx
Rishita Gupta
 
Sentiment analysis on unstructured review
Sentiment analysis on unstructured reviewSentiment analysis on unstructured review
Sentiment analysis on unstructured review
International Journal of Advance Research and Innovative Ideas in Education
 
Major presentation
Major presentationMajor presentation
Major presentation
PS241092
 
IRJET- A Survey on Graph based Approaches in Sentiment Analysis
IRJET- A Survey on Graph based Approaches in Sentiment AnalysisIRJET- A Survey on Graph based Approaches in Sentiment Analysis
IRJET- A Survey on Graph based Approaches in Sentiment Analysis
IRJET Journal
 
Sentimental analysis of audio based customer reviews without textual conversion
Sentimental analysis of audio based customer reviews without textual conversionSentimental analysis of audio based customer reviews without textual conversion
Sentimental analysis of audio based customer reviews without textual conversion
IJECEIAES
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysis
Dinesh V
 
Emotion analysis
Emotion analysisEmotion analysis
Emotion analysis
Bytesview
 
SENTIMENT ANALYSIS-AN OBJECTIVE VIEW
SENTIMENT ANALYSIS-AN OBJECTIVE VIEWSENTIMENT ANALYSIS-AN OBJECTIVE VIEW
SENTIMENT ANALYSIS-AN OBJECTIVE VIEW
Journal For Research
 
REPORT Sentiment_Analysis_of_Social_Media (5).pptx
REPORT Sentiment_Analysis_of_Social_Media (5).pptxREPORT Sentiment_Analysis_of_Social_Media (5).pptx
REPORT Sentiment_Analysis_of_Social_Media (5).pptx
Mm071
 
Sentiment Features based Analysis of Online Reviews
Sentiment Features based Analysis of Online ReviewsSentiment Features based Analysis of Online Reviews
Sentiment Features based Analysis of Online Reviews
iosrjce
 
NLP Techniques for Sentiment Anaysis.docx
NLP Techniques for Sentiment Anaysis.docxNLP Techniques for Sentiment Anaysis.docx
NLP Techniques for Sentiment Anaysis.docx
KevinSims18
 
An Improved sentiment classification for objective word.
An Improved sentiment classification for objective word.An Improved sentiment classification for objective word.
An Improved sentiment classification for objective word.
IJSRD
 
Social Media Sentiments Analysis
Social Media Sentiments AnalysisSocial Media Sentiments Analysis
Social Media Sentiments Analysis
PratisthaSingh5
 
Twitter sentiment analysis.pptx
Twitter sentiment analysis.pptxTwitter sentiment analysis.pptx
Twitter sentiment analysis.pptx
Rishita Gupta
 

Recently uploaded (20)

railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Ad

A presentation on Sentiment Analysis....

  • 1. What is sentiment Analysis Sentiment analysis is a subfield of natural language processing (NLP) that involves identifying and categorizing opinions expressed in a piece of text to determine whether the sentiment expressed is positive, negative, or neutral. It aims to understand the overall attitude or emotional tone conveyed by the text.
  • 2. Why is sentiment analysis important? Sentiment analysis, also known as opinion mining, is an important business intelligence tool that helps companies improve their products and services. We give some benefits of sentiment analysis below. Provide objective insights Businesses can avoid personal bias associated with human reviewers by using artificial intelligence (AI)–based sentiment analysis tools. As a result, companies get consistent and objective results when analyzing customers’ opinions. For example, consider the following sentence: I'm amazed by the speed of the processor but disappointed that it heats up quickly. Marketers might dismiss the discouraging part of the review and be positively biased towards the processor's performance. However, accurate sentiment analysis tools sort and classify text to pick up emotions objectively.
  • 3. How does sentiment analysis work? Sentiment analysis is an application of natural language processing (NLP) technologies that train computer software to understand text in ways similar to humans. The analysis typically goes through several stages before providing the final result. Preprocessing During the preprocessing stage, sentiment analysis identifies key words to highlight the core message of the text. • Tokenization breaks a sentence into several elements or tokens. • Lemmatization converts words into their root form. For example, the root form of am is be. • Stop-word removal filters out words that don't add meaningful value to the sentence. For example, with, for, at, and of are stop words.
  • 4. Approaches of sentiment analysis 1.Rule based approach 2.Machine learning approach 3.Hybrid approach 4.Aspect based approach 5.Deep learning approach
  • 5. Rule based approach The rule-based approach identifies, classifies, and scores specific keywords based on predetermined lexicons. Lexicons are compilations of words representing the writer's intent, emotion, and mood. Marketers assign sentiment scores to positive and negative lexicons to reflect the emotional weight of different expressions. To determine if a sentence is positive, negative, or neutral, the software scans for words listed in the lexicon and sums up the sentiment score. The final score is compared against the sentiment boundaries to determine the overall emotional bearing.
  • 6. Rule-based analysis example Consider a system with words like happy, affordable, and fast in the positive lexicon and words like poor, expensive, and difficult in a negative lexicon. Marketers determine positive word scores from 5 to 10 and negative word scores from -1 to -10. Special rules are set to identify double negatives, such as not bad, as a positive sentiment. Marketers decide that an overall sentiment score that falls above 3 is positive, while - 3 to 3 is labeled as mixed sentiment.
  • 7. Machine learning approach: Machine learning techniques involve training models on labeled datasets to predict sentiment. Supervised learning algorithms such as Support Vector Machines (SVM), Naive Bayes, Decision Trees, Random Forests, and Neural Networks (including deep learning architectures like LSTM, CNN) are commonly used. Models are trained on labeled data, where each data point is associated with a sentiment label (e.g., positive, negative, neutral). This approach can capture complex relationships in the data and may perform well with large datasets but requires substantial labeled data for training.
  • 8. Hybrid approach: Hybrid approaches combine both lexicon-based and machine learning techniques to leverage their respective strengths. Lexicon-based methods can be used for feature extraction or as input to machine learning models, enhancing performance by incorporating domain-specific knowledge. Machine learning models can learn from data and adapt to various contexts, improving accuracy and robustness. Hybrid approaches aim to achieve better performance than either method alone
  • 9. Aspect-based sentiment analysis: Aspect-based sentiment analysis goes beyond classifying the overall sentiment of a text and aims to identify sentiment towards specific aspects or entities mentioned in the text. This approach involves extracting aspects or entities from the text and then determining sentiment polarity for each aspect. It is particularly useful for analyzing product reviews, where users express opinions about different aspects/features of a product.
  • 10. Deep learning approach: Deep learning models, such as Recurrent Neural Networks (RNNs), Long Short-Term Memory (LSTM) networks, Convolutional Neural Networks (CNNs), and Transformer-based models like BERT, have shown promising results in sentiment analysis tasks. These models can learn intricate patterns in textual data and capture long-range dependencies, leading to improved performance. However, deep learning models often require large amounts of labeled data and computational resources for training.
  • 11. What are the different types of sentiment analysis? 1.Fined based scoring 2.Aspect based 3.Intent based 4.Emotional detentions
  • 12. Fine-grained analysis Fine-grained sentiment analysis refers to categorizing the text intent into multiple levels of emotion. Typically, the method involves rating user sentiment on a scale of 0 to 100, with each equal segment representing very positive, positive, neutral, negative, and very negative. Ecommerce stores use a 5-star rating system as a fine-grained scoring method to gauge purchase experience.
  • 13. Aspect based analysis Aspect-based analysis focuses on particular aspects of a product or service. For example, laptop manufacturers survey customers on their experience with sound, graphics, keyboard, and touchpad. They use sentiment analysis tools to connect customer intent with hardware- related keywords.
  • 14. Intent based analysis Intent-based analysis helps understand customer sentiment when conducting market research. Marketers use opinion mining to understand the position of a specific group of customers in the purchase cycle. They run targeted campaigns on customers interested in buying after picking up words like discounts, deals, and reviews in monitored conversations.
  • 15. Emotional detection Emotional detection involves analyzing the psychological state of a person when they are writing the text. Emotional detection is a more complex discipline of sentiment analysis, as it goes deeper than merely sorting into categories. In this approach, sentiment analysis models attempt to interpret various emotions, such as joy, anger, sadness, and regret, through the person's choice of words.
  • 16. What are the challenges in sentiment analysis? Sarcasm It is extremely difficult for a computer to analyze sentiment in sentences that comprise sarcasm. Consider the following sentence, Yeah, great. It took three weeks for my order to arrive. Unless the computer analyzes the sentence with a complete understanding of the scenario, it will label the experience as positive based on the word great. Negation Negation is the use of negative words to convey a reversal of meaning in the sentence. For example, I wouldn't say the subscription was expensive. Sentiment analysis algorithms might have difficulty interpreting such sentences correctly, particularly if the negation happens across two sentences, such as, I thought the subscription was cheap. It wasn't.