NLP with Quanteda R

NLP with Quanteda R

1h 38mAdvanced2023-03-21

Authors

Mark Niemann-Ross

Mark Niemann-Ross

Technologist experienced in hardware, software, and science fiction

Course details

Natural language processing is to words as computer vision is to pictures. In this course, expert technologist Mark Niemann-Ross gets you started learning NLP with the R programming language. Mark shows you how to use the R programming language to implement natural language processing algorithms. R is uniquely adept at manipulating matrices and producing statistics, both of which are core to NLP. Mark steps you through using quanteda, an alternative text mining framework, and helps you understand what corpora are and how you can create, modify, and use them. He explains tokens and a document-feature matrix (DFM). Plus, Mark explores analysis and visualization via the quanteda textstat package, the sentiment package, textplot, and dplyr.

Skills covered

RStatisticsNatural Language Processing (NLP)AdvancedArtificial Intelligence (AI)Programming LanguagesData ScienceOpen SourceSoftware Development

Concepts

Introduction

  • Welcome to natural language processing with R
  • Skills and tools you need

Getting Started with Quanteda

  • Introduction to quanteda
  • Install quanteda

Understanding Corpora

  • Create a quanteda corpus
  • Create metadata with docvars
  • Corpus subsets and groups
  • Reshape and segment a corpus
  • Remove lines from a corpus

Understanding Tokens

  • Corpus and tokens
  • Remove tokens and stopwords
  • Group tokens
  • Stemming with tokens

Understanding Document-Feature Matrix (DFM)

  • Corpus, tokens, and DFM
  • Create and modify a DFM
  • Real-world analysis with DFM

Analysis and Visualization

  • The quanteda textstat package
  • Real-world text statistics with textstat
  • Understand the quanteda sentiment package
  • Real-world sentiment analysis with quanteda sentiment
  • Visualization with textplot
  • Use dplyr with quanteda

Conclusion

  • Your next steps in NLP
40,000 Toman