Book description
Much of the data available today is unstructured and text-heavy, making it challenging for analysts to apply their usual data wrangling and visualization tools. With this practical book, you’ll explore text-mining techniques with tidytext, a package that authors Julia Silge and David Robinson developed using the tidy principles behind R packages like ggraph and dplyr. You’ll learn how tidytext and other tidy tools in R can make text analysis easier and more effective.
The authors demonstrate how treating text as data frames enables you to manipulate, summarize, and visualize characteristics of text. You’ll also learn how to integrate natural language processing (NLP) into effective workflows. Practical code examples and data explorations will help you generate real insights from literature, news, and social media.
- Learn how to apply the tidy text format to NLP
- Use sentiment analysis to mine the emotional content of text
- Identify a document’s most important terms with frequency measurements
- Explore relationships and connections between words with the ggraph and widyr packages
- Convert back and forth between R’s tidy and non-tidy text formats
- Use topic modeling to classify document collections into natural groups
- Examine case studies that compare Twitter archives, dig into NASA metadata, and analyze thousands of Usenet messages
Publisher resources
Table of contents
- Preface
- 1. The Tidy Text Format
- 2. Sentiment Analysis with Tidy Data
- 3. Analyzing Word and Document Frequency: tf-idf
- 4. Relationships Between Words: N-grams and Correlations
- 5. Converting to and from Nontidy Formats
- 6. Topic Modeling
- 7. Case Study: Comparing Twitter Archives
- 8. Case Study: Mining NASA Metadata
- 9. Case Study: Analyzing Usenet Text
- Bibliography
- Index
Product information
- Title: Text Mining with R
- Author(s):
- Release date: June 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491981658
You might also like
book
Behavioral Data Analysis with R and Python
Harness the full power of the behavioral data in your company by learning tools specifically designed …
book
Statistical Rethinking, 2nd Edition
Statistical Rethinking: A Bayesian Course with Examples in R and Stan builds your knowledge of and …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd Edition
Through a recent series of breakthroughs, deep learning has boosted the entire field of machine learning. …
book
Practical Time Series Analysis
Time series data analysis is increasingly important due to the massive production of such data through …