0% found this document useful (0 votes)
33 views2 pages

Sentiment Analysis Class Notes

Sentiment Analysis, or Opinion Mining, involves the computational study of sentiments expressed in text using various approaches such as rule-based, machine learning, and deep learning methods. Key preprocessing steps include tokenization, stopword removal, and handling negations, while feature representation techniques encompass Bag of Words, TF-IDF, and word embeddings. Applications of sentiment analysis span customer feedback analysis, social media monitoring, market research, and product reviews.

Uploaded by

mudunurisriram2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

Sentiment Analysis Class Notes

Sentiment Analysis, or Opinion Mining, involves the computational study of sentiments expressed in text using various approaches such as rule-based, machine learning, and deep learning methods. Key preprocessing steps include tokenization, stopword removal, and handling negations, while feature representation techniques encompass Bag of Words, TF-IDF, and word embeddings. Applications of sentiment analysis span customer feedback analysis, social media monitoring, market research, and product reviews.

Uploaded by

mudunurisriram2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Class Notes: Sentiment Analysis in NLP

1. Overview
Sentiment Analysis (Opinion Mining) is the computational study of opinions, sentiments, and emotions
expressed in text.

2. Approaches
• Rule-based: Uses sentiment lexicons and linguistic rules.

• Machine Learning: Classical algorithms (SVM, Naive Bayes) with feature engineering.

• Deep Learning: CNNs, RNNs, Transformers (BERT, RoBERTa).

3. Preprocessing Steps
• Tokenization

• Stopword Removal

• Stemming/Lemmatization

• Handling Negations

4. Feature Representation
Representation Description
Bag of Words Word frequency vectors
TF-IDF Term frequency-inverse document frequency
Word Embeddings Dense vectors (Word2Vec, GloVe)
Contextual Embeddings Transformer-based embeddings (BERT)

5. Evaluation Metrics
• Accuracy

• Precision, Recall, F1-Score

• ROC-AUC

6. Applications
• Customer Feedback Analysis

• Social Media Monitoring


• Market Research

• Product Reviews

Generated for educational purposes

You might also like