Free Text Mining and NLP Basics study guide

This free Text Mining and NLP Basics study guide has 9 topics, 82 flashcards and 5 practice questions, starting with 1 The tidy text format, 2 Sentiment analysis with tidy data and 3 Analyzing word and document frequency: tf-idf. It suits college students at the intermediate level and is built from the open textbook “Text Mining with R: A Tidy Approach” by Julia Silge and David Robinson (CC BY-NC-SA 3.0 US). It is free to use, and the study aids are generated automatically, so check important facts against your own textbook.

Study this course free

What you will study

9 topics, in the order of the textbook. Your own course may order them differently, so follow your syllabus.

Chapter 1: 1 The tidy text format

As described by Hadley Wickham (Wickham 2014), tidy data has a specific structure: Each type of observational unit is a table We thus define the tidy text format as being a table with one-token-per-row.

Chapter 2: 2 Sentiment analysis with tidy data

In the previous chapter, we explored in depth what we mean by the tidy text format and showed how this format can be used to approach questions about word frequency.

Chapter 3: 3 Analyzing word and document frequency: tf-idf

A list of stop words is not a very sophisticated approach to adjusting term frequency for commonly used words. Another approach is to look at a term’s inverse document frequency (idf), which decreases the weight for commonly used...

Chapter 4: 4 Relationships between words: n-grams and correlations

Chapter 5: 5 Converting to and from non-tidy formats

Chapter 6: 6 Topic modeling

In text mining, we often have collections of documents, such as blog posts or news articles, that we’d like to divide into natural groups so that we can understand them separately.

Chapter 7: 7 Case study: comparing Twitter archives

One type of text that gets plenty of attention is text shared online via Twitter. Both of the authors of this book are on Twitter and are fairly regular users of it, so in this case study, let’s compare the entire Twitter...

Chapter 8: 8 Case study: mining NASA metadata

Chapter 9: 9 Case study: analyzing usenet text

Try some

Real flashcards and practice questions from this study guide, with their answers.

Flashcard 1

In your own words: what does “token” mean?

Answer: A token is a meaningful unit of text, such as a word, that we are interested in using for analysis, and tokenization is the process of splitting text into tokens.

Flashcard 2

In your own words: what does “tf-idf” mean?

Answer: What measuring tf-idf has done here is show us that Jane Austen used similar language across her six novels, and what distinguishes one novel from the rest within the collection of her works are the proper nouns, the names of people and places.

Flashcard 3

In your own words: what does “like” mean?

Answer: Pairs like “Elizabeth” and “Darcy” are the most common co-occurring words, but that’s not particularly meaningful since they’re also the most common individual words.

Practice question 1

Fill in the blank: A _____ is a meaningful unit of text, such as a word, that we are interested in using for analysis, and tokenization is the process of splitting text into tokens.

  • A. String
  • B. Corpus
  • C. Document-term matrix
  • D. Token

Answer: D. Token

A token is a meaningful unit of text, such as a word, that we are interested in using for analysis, and tokenization is the process of splitting text into tokens.

Practice question 2

Fill in the blank: Pairs _____ “Elizabeth” and “Darcy” are the most common co-occurring words, but that’s not particularly meaningful since they’re also the most common individual words.

  • A. N-grams
  • B. Both
  • C. Correlation
  • D. Like

Answer: D. Like

Pairs like “Elizabeth” and “Darcy” are the most common co-occurring words, but that’s not particularly meaningful since they’re also the most common individual words.

Study this course free

Prerequisites and next steps

Helpful to know first

What to study next

More in AI and data science

About this study pack

Attribution: Adapted from “Text Mining with R: A Tidy Approach” by Julia Silge and David Robinson (https://www.tidytextmining.com/), CC BY-NC-SA 3.0 US. Study aids (flashcards, quiz questions, summaries) were generated automatically from the text; they may contain errors.

Frequently asked questions

Is the Text Mining and NLP Basics study guide free?

Yes. StudyGrasp is always free: no paywall and no credit card. Students create a free account so that their progress is saved.

What textbook is the Text Mining and NLP Basics study guide based on?

It is built from “Text Mining with R: A Tidy Approach” by Julia Silge and David Robinson, an open textbook licensed under CC BY-NC-SA 3.0 US. StudyGrasp adapted it and is not affiliated with its authors or publisher.

How many practice questions does it have?

It has 5 practice questions and 82 flashcards across 9 topics. They are generated automatically from the textbook and marked Draft, so they can contain mistakes.

Can I use it offline or install it?

You can add StudyGrasp to your phone or computer. The app opens offline, and flashcards you have opened keep working without a connection. Offline copies are cleared when you sign out.

Study Text Mining and NLP Basics free

Ask questions that cite the textbook, practise with flashcards and quizzes, and keep your own notes private. Study this course free

StudyGrasp is not affiliated with the textbook publishers named here. Browse all courses · FAQ