Skip to content

UBC-NLP/COLX_565_sentiment_instructors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

COLX 565: Sentiment Analysis

Course Description

Sentiment analysis in Natural Language Processing (NLP) and Computational Linguistics (CL) involves identifying and analyzing polarity—positive, negative, neutral, or mixed—within text. This course provides a structured introduction to sentiment analysis methods, situating it within social meaning. The course covers mostly appplications of modern deep learning methods with a focus on large language models (LLMs), combining lectures with hands-on lab sessions to ensure a balance between theoretical understanding and practical implementation.

Slack Channel: cl-565_sentiment


Course Learning Outcomes

Upon completion of this course, students are expected to:

  1. Become familiar with the foundations of sociopragmatic meaning with a focus on sentiment analysis
  2. Apply classical methods and large language models (llms) for sociopragmatics
  3. Design and develop real-world sociopragmatics systems using llms and agentic workflows
  4. Enhance text classification with explaination and retrieval-augmented models
  5. Critically evaluate societal considerations in text classification

Meeting times / locations

This is a live presentation class. Students are expected to attend lectures when possible. Recordings will be available, but should be used as a study tool instead of a primary method of learning the material.

Classes meet Tuesday and Thursday at 9:30 a.m. - 11:00 am, in MCLD 3018. Labs are Tuesday from 2-6 p.m., in ORCH 4018.


Attendance

The MDS-CL is an in-person program - you are expected to attend classes and labs. There will be no recordings of lectures. Interaction in class has been shown to improve understanding, and collaborative environments improve learning.

Attendance will be taken with iClicker. To receive full marks, you must attend 6 of 8 classes. Attendance in fewer classes than these will result in a grade of 0 for attendance. I understand that illness and emergencies happen (if you are ill, please do not come to class).


Assessments

This is both an assignment- and project-based course. You'll be evaluated as follows:

Course Assessment Structure

Assessment Weight Due Date Submission Location
Lab Practice 1 16% Feb 15, 11:59pm Submit to GitHub
Lab Practice 2 16% Mar 1, 11:59pm Submit to GitHub
Short Reflection 1 6% Mar 5, 11:59pm Submit to GitHub
Lab Practice 3 + Project Milestone 1 24% Mar 8, 11:59pm Online
Short Reflection 2 6% Mar 10, 11:59pm Submit to GitHub
Lab Practice 4 + Project Milestone 2 24% Mar 15 Online
Engagement & Participation 8% Ongoing In-Class: iClicker + Discussions

Teaching Team

Position Name Slack Handle GHE Handle
Main Instructor Muhammad Abdul-Mageed @Muhammad Mageed @amuham01
Lab Instructor Jungyeul Park @jungyeul @jungyeul
Teaching Assistant Yadong Liu @Yadong Liu @yadliu

Instructor Office Hours:

  • Wednesdays at 1:00-2:00 (or by appointment) at TFS Office.

Lecture Details

Lecture Topic Readings or Materials
1 Course Intro., Sentiment Task xxxx
2 Classical Methods xxxx
3 Social Meaning (e.g., emotion, toxic language) xxxx
4 BERT, LLMs, CoT, Prompting, Instruction Finetuning xxxx
5 Real-World Sentiment: LLM Agents I xxxx
6 Real-World Sentiment: LLM Agents II xxxx
7 Real-World Sentiment: Sentiment Explanation, RAG xxxx
8 Societal Considerations: Low-Resource and Multilingual, Bias, Energy

Resources

  1. Speech and Language Processing, 3rd edition (J&M)
  2. Lexicon-based methods for Sentiment Analysis (LMSA)
  3. Sentiment Analysis and Opinion Mining (SAOM)
  4. Modeling Arabic subjectivity and sentiment in lexical space(ArabicSSA)
  5. EmoNet (Abdul-Mageed and Ungar)(EmoNet)
  6. NLTK howtos for WordNet and SentiWordNet.
  7. Stanford Sentiment Treebank (StanfordSA)
  8. MPQA corpus and associated documentation (MPQA)
  9. GATE setup for MPQA
  10. Understanding Convolutional Neural Networks for Text Classification (Jacovi et al 2017)
  11. Target-dependent Twitter Sentiment Classification (Jiang et al. 2011)
  12. Adaptive Recursive Neural Network for Target-dependent Twitter Sentiment Classification (Deng et al. 2014)
  13. SVM Rank
  14. Argument Mining: A Survey (AMAS)
  15. Magnets for Sarcasm (Ghosh and Veale)
  16. Personality, Gender, and Age in the Language of Social Media (Schwartz et al)
  17. Computational Sociolinguistics
  18. The Risk of Racial Bias in Hate Speech Detection (Sap et al.)
  19. Cloroplaths in Plotly
  20. the datetime library
  21. Langid paper
  22. ekphrasis package
  23. Twitter POS tagger

Policies

Please see the general MDS policies.

Acknowledgements: Many of the readings are from a previous course by Dr. Garrett Nicolai.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published