3:45

In this tutorial, the speaker demonstrates how to impose a tidy structure on unstructured text data using the tidytext package, aligning with Tidyverse principles. The process begins by treating each review as a document and each word as a term, then tokenizing the reviews with the unnesttokens function, which also performs basic cleaning (lowercasing, removing punctuation and whitespace). The resulting tokenized data expands dramatically in row count, allowing the use of dplyr verbs such as count, arrange, and desc to compute word frequencies. Recognizing that common words (stop words) dominate the counts, the tutorial shows how to remove them using an antijoin with the built‑in stop_words dataset. After filtering out stop words, the word frequency table reveals more informative terms that reflect the content of the reviews. Throughout, the speaker emphasizes the seamless integration of tidytext with familiar Tidyverse tools for efficient text analysis.

Chapters

More from Richie

youtube.com

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

5mo ago
youtube.com

17.8% of the World Now Uses AI — And the Gap Is Widening | The Median #5

5mo ago
youtube.com

Create GPTs to Automate Go-To-Market Research

5mo ago
youtube.com

What Happened to Self-Driving Cars? #AI

5mo ago
youtube.com

Never Use AI For This #warning #AI #flights

5mo ago
youtube.com

Use AI Agents to Analyze Power Grid Optimization

5mo ago
youtube.com

This is how modern AI actually solves problems #AITrends #AI

5mo ago
youtube.com

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

Build an AI‑driven Dashboard

5mo ago
youtube.com

What’s Broken in Labor Markets Today #datascience

5mo ago
See all content