Natural Language Processing
Sentiment Analysis and Topic Modeling
This page is populated during Milestone 2 (Week 5) with NLP findings.
Overview
This page presents comprehensive Natural Language Processing (NLP) analyses applied to employment-related Reddit communities. Using large-scale text processing with PySpark, we investigate user discussions through sentiment analysis, topic modeling, and text mining techniques.
Our analysis focuses on answering three core NLP business questions:
What are the dominant discussion topics across employment subreddits?
How has sentiment evolved over time across different subreddits?
Does sentiment correlate with engagement levels such as upvotes and comments?
To address these questions, we preprocess Reddit posts and comments, extract linguistic features, compute sentiment scores, and apply LDA topic modeling. The resulting insights reveal major themes in employment-related conversations, emotional shifts over time, and how sentiment influences community interaction and engagement.
External Data
Introduction
The webpage https://fred.stlouisfed.org/series/UNRATE is the Federal Reserve Bank of St. Louis (FRED) page for the data series UNRATE, which represents the U.S. Unemployment Rate. Key points:
UNRATE = U.S. unemployment rate, measured as the percentage of people in the labor force who are unemployed and actively looking for work.
Source: U.S. Bureau of Labor Statistics (BLS), based on the monthly Current Population Survey.
Frequency: Updated monthly, seasonally adjusted.
Explanantion

The external dataset provides the U.S. monthly unemployment rate from the Bureau of Labor Statistics. This economic indicator captures broad labor-market conditions, such as job availability, hiring slowdowns, and general macro-economic pressure. Although our sentiment scores come from Reddit discussions, not from official economic data, the two sources are conceptually related - Labor-market sentiment often reflects real-world economic pressure. Subreddits like r/jobs, r/recruitinghell, and r/antiwork are heavily influenced by labor-market conditions. For example:
When unemployment rises, users tend to report more job search frustration, worse interview experiences, and increased insecurity.
When unemployment decreases, posts tend to show better hiring experiences, more optimism, and less negativity.
Thus, Reddit sentiment acts as a crowd-sourced emotional indicator that moves with (or sometimes ahead of) real economic data.
Business Question 1:
Question: How do posting and commenting activities change over time across subreddits?
Findings

Key Insights:
It overwhelmingly dominates all five employment-related subreddits, accounting for 70%–90% of content in each community.
It represents a broad “job search and work experience” theme, including discussions about getting a job, working at a company, workplace dynamics, and general employment experiences.
The topic distribution analysis reveals a highly consistent pattern across all five employment-related subreddits. Topic 2 overwhelmingly dominates every community, accounting for approximately 70%–90% of the text content in each subreddit. This indicates that users across antiwork, careerguidance, jobs, recruitinghell, and resumes share a strong common focus—primarily centered on job search struggles, hiring processes, and employment concerns.
| Subreddit | T0 | T1 | T2 | T3 | T4 | T5 | T6 | T7 |
|---|---|---|---|---|---|---|---|---|
| antiwork | 0.0684 | 0.0034 | 0.7024 | 0.0080 | 0.0080 | 0.0103 | 0.0046 | 0.1950 |
| careerguidance | 0.0740 | 0.0025 | 0.7931 | 0.0019 | 0.0050 | 0.0013 | 0.0013 | 0.1210 |
| jobs | 0.0287 | 0.0042 | 0.8724 | 0.0008 | 0.0034 | 0.0008 | 0.0034 | 0.0862 |
| recruitinghell | 0.0153 | 0.0000 | 0.9003 | 0.0051 | 0.0051 | 0.0026 | 0.0000 | 0.0716 |
| resumes | 0.0085 | 0.0043 | 0.7441 | 0.0000 | 0.0277 | 0.0000 | 0.0043 | 0.2111 |
Across all five subreddits, Topic 2 is the main theme (70–90% of content), while Topic 7 is a consistent secondary theme. The other topics (T0, T1, T3, T4, T5, T6) contribute only small proportions, meaning they are much less central to the conversations in these employment-related communities.
Sentiment Analysis
Overall Sentiment Distribution
For sentiment analysis, we use VADER (Valence Aware Dictionary and sEntiment Reasoner), a rule-based model specifically optimized for social-media text such as Reddit posts and comments. VADER handles informal language, slang, capitalization, punctuation emphasis, and emojis, making it well-suited for employment-related discussions that often include frustration, sarcasm, and emotional emphasis. The model generates a standardized compound sentiment score ranging from –1 (most negative) to +1 (most positive), which we use to compare emotional tone across posts, subreddits, and time periods.
Sentiment by Subreddit
Sentiment varies notably across employment-related subreddits, reflecting the different purposes and emotional climates of each community. Discussions in r/antiwork and r/recruitinghell are consistently more negative, driven by posts about burnout, unfair treatment, poor working conditions, and negative recruiting experiences. In contrast, r/careerguidance maintains a more balanced to slightly positive tone, as conversations tend to focus on constructive advice, career development strategies, and supportive guidance.
Subreddits such as r/jobs and r/resumes fall near the middle, with sentiment showing substantial variability. Positive spikes often correspond to job offers and success stories, while negative dips align with layoffs, rejection experiences, and resume-related frustration. Overall, the subreddit-level comparison highlights clear emotional distinctions between supportive career communities and those centered around workplace dissatisfaction.
Topic Modeling
We applied topic modeling to the cleaned text data to identify the major themes discussed within employment-related subreddits. Each subreddit exhibits a dominant topic distribution, revealing consistent patterns in user discussions. Across all five communities, Topic 2 overwhelmingly dominates, indicating that users across these subreddits share a strong focus on a common underlying theme related to job search experiences and employment challenges.
Discovered Topics
Topic 1: [General Work-Related Discussion]
- Keywords: work, job, employees, situation, experience, company
This topic represents broader conversations about work environments and day-to-day job experiences. Although present across subreddits, it appears only as a secondary theme (5–7% in most communities). These posts often include reflections on workplace norms, observations about job roles, or general opinions about employment.
Topic 2: [Job Search Challenges & Employment Anxiety]
- Keywords: [interview, application, resume, hiring, recruiters, process, advice]
This is the dominant topic across all subreddits (70%–90% proportion in your table). It captures widespread concerns about the job search process, including preparing materials, navigating interviews, dealing with recruiters, and facing job market uncertainty. Its extremely high proportion reflects that most posts in these career-focused communities revolve around practical or emotional struggles related to finding employment.
Summary
The topic modeling results reveal a clear pattern across employment-related subreddits. Despite representing different communities (antiwork, careerguidance, jobs, recruitinghell, resumes), the subreddits share a common dominant discussion theme: concerns about the job search process and navigating the labor market (Topic 2).
A smaller but consistent second theme captures broader workplace-related content (Topic 1), including job experiences and reflections on work environments.
Overall, the analysis shows that users across these forums primarily seek support, share frustrations, and exchange advice related to employment challenges—highlighting widespread uncertainty, difficulty, and emotional stress associated with both job searching and workplace conditions.
Business Question 2:
Question: How does posting time (hour / weekday) relate to user engagement?
Findings
=== Subreddit Sentiment Summary ===
| Subreddit | Months_Observed | Total_Posts | Avg_Sentiment_Mean | Avg_Sentiment_Min | Avg_Sentiment_Max | Sentiment_Std |
|---|---|---|---|---|---|---|
| resumes | 14 | 57 | 355.13 | -47.75 | 600.18 | 190.02 |
| careerguidance | 14 | 160 | 287.76 | 128.59 | 666.36 | 146.05 |
| jobs | 14 | 130 | 185.42 | -201.96 | 966.85 | 292.63 |
| recruitinghell | 11 | 32 | 89.25 | -974.20 | 711.90 | 497.81 |
| antiwork | 13 | 88 | 9.00 | -385.44 | 653.73 | 289.53 |
The sentiment summary table shows clear differences in emotional tone across subreddits. r/resumes and r/careerguidance demonstrate the highest average sentiment, indicating generally positive or constructive posts. In contrast, r/antiwork and r/recruitinghell show significantly lower sentiment scores, reflecting more negative discussions or expressions of frustration. Additionally, r/recruitinghell has the largest sentiment variability (highest standard deviation), suggesting that emotional tone fluctuates widely depending on the specific posts. Overall, these results highlight the distinct emotional climates within each career-related subreddit.
=== Monthly Avg Sentiment Pivot ===
| created_month | antiwork | careerguidance | jobs | recruitinghell |
|---|---|---|---|---|
| 2023-06-01 | -25.04 | 133.45 | 299.30 | -974.20 |
| 2023-07-01 | -375.21 | 323.09 | 17.01 | 711.90 |
| 2023-08-01 | 41.65 | 350.98 | 379.27 | 493.83 |
| 2023-09-01 | 206.85 | 420.68 | 41.42 | 350.65 |
| 2023-10-01 | 97.28 | 666.36 | -201.96 | NaN |
The pivot table above summarizes the monthly average sentiment scores for each subreddit. This format makes it easy to compare how emotional tone shifts over time across communities. Several patterns emerge:
r/antiwork shows strong negative sentiment in multiple early months, indicating persistent frustration or dissatisfaction among users.
r/careerguidance exhibits consistently high positive sentiment, suggesting that discussions are generally supportive and constructive.
r/jobs fluctuates considerably month-to-month, reflecting mixed user experiences with the job market.
r/recruitinghell shows extreme swings, including both very negative and very positive months, highlighting the volatile nature of hiring and recruiter interactions.
r/resumes maintains steadily increasing positive sentiment over time, implying that posts in this subreddit tend to be more practical, optimistic, or neutral.

We applied sentiment analysis to submissions from five career-related subreddits and aggregated scores at a monthly level. The line chart (Figure: sentiment_trend.png) shows the month-to-month movement in average sentiment for each community, while the heatmap (Figure: sentiment_heatmap.png) summarizes the same information as a color-coded grid across subreddits and months.
Key Insights:
Distinct emotional climates. r/careerguidance and r/resumes are consistently more positive than the other communities, with warm colors and high average sentiment across most months.
Volatile, often negative sentiment. r/recruitinghell and r/jobs show the largest swings, including months with strongly negative average sentiment followed by sharp rebounds, suggesting that users in these spaces experience more stress and frustration.
antiwork is mixed but improving. r/antiwork starts with several negative or near-neutral months but shows more positive sentiment in early 2024, hinting at a gradual shift in tone.
Sentiment Analysis
Overall Sentiment Distribution
At the post level (using the submissions_sentiment_posts.parquet data), sentiment scores are centered near neutral with long tails in both directions. Most posts fall in a modestly positive range, but there is a noticeable negative tail driven by r/recruitinghell and r/jobs, where users often vent about unfair hiring processes or job insecurity. This pattern is consistent with the monthly aggregates: even when the average sentiment is positive, individual posts can still be highly negative.
Sentiment by Subreddit

The line chart (sentiment_trend.png) highlights how average monthly sentiment evolves over time for each subreddit.
r/careerguidance and r/resumes maintain stable, moderately positive sentiment, reflecting their focus on advice and practical help.
r/jobs oscillates around neutral, with several months dipping into negative territory, consistent with job-search stress and rejection stories.
r/recruitinghell exhibits the strongest negative spikes and the highest volatility, reinforcing its role as a venting space for painful recruiting experiences.
r/antiwork fluctuates between neutral and positive, with an overall upward trend into 2024.
The heatmap (sentiment_heatmap.png) provides a compact comparison across all subreddits and months. Rows for r/careerguidance and r/resumes are mostly warm (positive), while r/recruitinghell and parts of r/jobs show alternating cold and hot patches, visualizing the emotional roller-coaster of those communities.
Topic Modeling
Discovered Topics
Topic 1: Negative Workplace Experiences & Burnout
- Keywords: toxic workplace, overworked, unfair treatment, low pay, burnout, frustration
This theme represents posts with strongly negative sentiment, commonly found in subreddits such as antiwork and recruitinghell. Users express emotional exhaustion, dissatisfaction with employers, and frustration with working conditions.
Topic 2: Job Search Struggles & Recruiting Challenges
- Keywords: applications, rejection, interviews, ghosting, recruiters, job search stress
Many posts exhibit negative or mixed sentiment related to the job application process. Users frequently mention being ignored by recruiters, facing repeated rejections, and feeling overwhelmed by competitive job markets.
Summary
The sentiment analysis results reveal that discussions across employment-related subreddits tend to revolve around two dominant emotional themes:
Significant frustration toward workplace environments, particularly regarding burnout, toxic management, and dissatisfaction with compensation.
Stress and anxiety during the job search process, including issues such as ghosting, poor communication, and repeated rejection.
Overall, the sentiment distribution suggests that users in these communities often feel discouraged and unsupported, whether they are dealing with their current jobs or seeking new opportunities. The emotional tone across subreddits highlights widespread concerns about job satisfaction, labor inequality, and the challenges of navigating modern employment.
Business Question 3:
Question: Do post scores and comment counts follow a long-tail distribution?
Findings

The visualization presents the correlation between post sentiment and two engagement metrics—score and number of comments—across the five employment-related subreddits. The left panel shows how sentiment correlates with post scores, while the right panel shows correlations with comment counts.
Overall, correlations are weak across all communities, with values clustering near zero. However, the polarity (positive vs. negative) varies by subreddit, revealing subtle differences in how user sentiment relates to engagement.
Key Insights:
- Across the five subreddits, the correlations between sentiment and engagement remain generally weak, yet a few meaningful patterns emerge. First, r/antiwork and r/jobs show the clearest negative relationships: posts with more negative sentiment tend to receive slightly lower scores and fewer comments. This suggests that despite their focus on workplace frustration, these communities do not necessarily reward emotionally negative content with higher engagement.
- r/careerguidance, r/resumes, and r/recruitinghell exhibit small but consistent positive correlations, indicating that posts with more positive or constructive sentiment tend to attract higher engagement. Users in these subreddits may be more responsive to solution-oriented discussions, success stories, or supportive advice, which may explain why posts with a more positive tone receive slightly better visibility.
Sentiment Analysis
Overall Sentiment Distribution
To study whether emotional tone relates to community engagement, we join the per-post sentiment scores from Q6 with two engagement metrics: score (upvotes minus downvotes) and num_comments. Using the cleaned submissions in submissions_sentiment_posts.parquet, we filter out posts with missing values and, if needed, take a random sample for efficiency.
We then compute Pearson correlation coefficients between sentiment and engagement both globally and per subreddit:
corr(sentiment, score) – does more positive or negative sentiment receive higher scores?
corr(sentiment, num_comments) – does emotional content trigger more replies?
Sentiment by Subreddit
Sentiment varies notably across employment-related subreddits, reflecting the different purposes and emotional climates of each community. Discussions in r/antiwork and r/recruitinghell are consistently more negative, driven by posts about burnout, unfair treatment, poor working conditions, and negative recruiting experiences. In contrast, r/careerguidance maintains a more balanced to slightly positive tone, as conversations tend to focus on constructive advice, career development strategies, and supportive guidance.
Subreddits such as r/jobs and r/resumes fall near the middle, with sentiment showing substantial variability. Positive spikes often correspond to job offers and success stories, while negative dips align with layoffs, rejection experiences, and resume-related frustration. Overall, the subreddit-level comparison highlights clear emotional distinctions between supportive career communities and those centered around workplace dissatisfaction.
Topic Modeling
To better understand the thematic structure of discussions across employment-related subreddits, we apply topic modeling to the cleaned submission texts. The resulting topic–subreddit distribution shows that although these communities differ in purpose—from sharing workplace frustrations to giving resume advice—their conversations converge around a small number of dominant underlying themes.
Discovered Topics
Topic 1: Job Search Process & Hiring Challenges
- Keywords: application, interview, recruiter, position, hiring, resume, process
This topic represents the core and most dominant theme across all subreddits, with proportions ranging from 0.70 to 0.90 depending on the community. Posts under this topic focus heavily on job applications, recruiting experiences, interview preparation, and navigating an increasingly competitive labor market. The consistently high values across all communities—antiwork, careerguidance, resumes, jobs, and recruitinghell—suggest that employment-related anxiety and the practical challenges of finding work are shared concerns among users regardless of subreddit intent.
Topic 1: Job Search Process & Hiring Challenges
- Keywords: workplace, experience, story, struggle, coworkers, manager
This secondary topic appears with smaller but notable proportions (around 0.07–0.21) across the subreddits, especially in antiwork and resumes. It captures personal narratives about workplace issues, job dissatisfaction, and reflections on day-to-day employment experiences. Although far less dominant than Topic 1, it remains a consistent supporting theme across the communities, highlighting users’ desire to share personal stories alongside seeking advice.
Summary
The topic modeling results reveal a striking uniformity across employment-focused subreddits. Topic 1 overwhelmingly dominates, accounting for the majority of discussion in every community, indicating that concerns about job searching and hiring processes are the central focus of user conversations. Despite the variation in subreddit themes—ranging from career guidance to resume advice and workplace frustration—users consistently return to the same set of anxieties related to employment uncertainty and the challenges of navigating the modern job market.
A secondary but persistent theme, Topic 2, reflects users’ personal experiences and frustrations in the workplace. Though smaller in magnitude, this topic highlights the emotional dimension behind career struggles and adds depth to the broader employment discourse.
Overall, the topic model suggests that these subreddits—despite differing in purpose—collectively function as spaces where users seek support, share frustrations, and look for guidance in dealing with ongoing employment challenges.
Answers to NLP Business Questions
- [Question 1]:
The topic modeling results show that employment-related subreddits share a strikingly unified thematic structure. Across all five communities—antiwork, careerguidance, jobs, recruitinghell, and resumes—Topic 2 dominates the conversation, consistently accounting for the vast majority of each subreddit’s textual content. This indicates that users are primarily focused on issues related to job searching, hiring processes, recruiting experiences, and broader employment challenges.
A smaller but consistent secondary theme, Topic 7, appears across all subreddits, suggesting that while the main discussions revolve around job market struggles, users also engage in additional recurring topics that complement the primary theme.
The remaining topics contribute only minimally, demonstrating that peripheral themes exist but do not significantly shape the discourse in these communities.
Overall, the analysis highlights that although these subreddits differ in their stated purpose, they ultimately revolve around a shared set of employment-related concerns—reflecting common frustrations, anxieties, and support-seeking behaviors within the modern labor market.
- [Question 2]:
Overall, the sentiment analysis reveals clear emotional differences between career communities on Reddit. Advice-oriented subreddits (r/careerguidance, r/resumes) maintain consistently positive sentiment, while job-search and recruiting spaces (r/jobs, r/recruitinghell) are more volatile and often negative. Over time, there are signs of gradual improvement in some communities, such as r/antiwork, but the heatmap shows that emotional stress around job search and recruiting remains a persistent theme. These findings set up a natural next step: linking topics and sentiment to downstream outcomes such as engagement (scores, comments) or user retention.
- [Question 3]:
The Q7 analysis reveals two major insights. First, sentiment shows only weak connections to engagement, although the direction varies across communities: negative sentiment slightly reduces engagement in r/antiwork and r/jobs, while positive sentiment modestly boosts engagement in r/careerguidance, r/resumes, and r/recruitinghell. Second, topic modeling shows that despite their differing purposes, all employment-related subreddits revolve around a shared dominant theme: navigating job search challenges. A secondary theme reflecting workplace frustrations enriches the discussion but plays a smaller overall role.
Together, these findings suggest that users across these communities are united by common concerns about employment uncertainty, job market difficulties, and the emotional burden of career challenges. Engagement patterns vary slightly by community tone, but the underlying topics remain remarkably consistent.
All NLP code is in code/nlp/ directory.