0Pricing
NLP Academy · Lesson

Building Your First Word Frequency Table

Tally how often each word appears.

What Is a Frequency Table?

A frequency table maps each word to how many times it appears. It is the foundation of nearly every text analysis. 📊

Start With Tokens

First turn text into a list of words, then lowercase them so The and the count as the same token.

words = text.lower().split()

All lessons in this course

  1. Strings, Characters, and Encodings
  2. Reading Text Files Into Python
  3. Counting Words and Characters
  4. Building Your First Word Frequency Table
← Back to NLP Academy