Sentiment Analysis
Sentiment Analysis
College of Technology
1. Introduction
Sentiment analysis is a natural language processing (NLP) technique used to determine the
emotional tone behind a body of text. At PSG College of Technology (PSG Tech),
sentiment analysis can be applied to analyze reviews at social platforms, placement and
college experiences to classify sentiment as positive, negative, or neutral.
● Traditional sentiment analysis models use lexicons (e.g., VADER, TextBlob) which
rely on predefined word lists.
● Deep learning models such as BERT and RoBERTa perform contextual sentiment
analysis by understanding word meanings based on surrounding words.
● At PSG Tech, contextual sentiment analysis can be used to study the general opinion
of students about faculty, infrastructure, placements, and research opportunities.
● Use Case at PSG Tech: Applying RoBERTa to analyze student reviews from
platforms like Quora, Shiksha, and Collegedunia.
● Reduce latency and improve response time for frequently queried texts.
● When a new query about PSG Tech is received, first check the cache.
● Use caching frameworks like Redis, Joblib, or Python's built-in LRU Cache to
efficiently store and retrieve sentiment scores.
● LRU (Least Recently Used) Cache: Evicts the least recently used items to maintain
memory efficiency.
● Hashing Technique: Convert input text (student review) to a unique hash key to
quickly retrieve cached results.
● Instead of processing each review individually, group multiple inputs into a batch and
process them in parallel.
Sentiment analysis is not limited to text; it extends to images and audio using deep learning
models. This can be useful for analysing PSG Tech’s social media content and student
feedback videos.
● Pre-trained models like CLIP (OpenAI) can map images to textual descriptions,
allowing sentiment classification.
● Use Case at PSG Tech: Analysing sentiment in campus event photos, student
engagement activities, and placement records.
● Example pipeline:
1. Image preprocessing (resizing, normalization).
● Uses RNNs, CNNs, or Transformer models for emotion detection from speech.
● Use Case at PSG Tech: Analysing sentiment in recorded student interviews, faculty
lectures, and seminar feedback.
● Example pipeline:
3. Pass features to a deep learning model (LSTM, Transformer) for sentiment
classification.
7. Conclusion
● Extending sentiment analysis to images and audio helps analyze PSG Tech’s digital
content, social media, and video feedback.
By integrating these techniques, sentiment analysis systems become faster, scalable, and
more accurate for PSG Tech’s academic and placement analysis.