Data needs to be pre-processed before it can be consumed by word cloud functions. Learn about the steps need to pre-process text data.
- [Instructor] For building the word cloud in R, … we will use two text documents … for our course descriptions. … These are available in the courses subdirectory … in your course examples. … These are descriptions for two courses. … Let's build a word cloud … for the popular words used in these courses. … The code for this chapter … is available in the file code_01_XX Word Cloud.R. … In this video, we will prepare the data … for doing word cloud. … To start, we import the tm package in R … for use in this course. … Now, we create a raw course corpus … by loading the contents of the courses directory … into a VCorpus variable. … Next, we perform a series of cleansing steps. … If you are unfamiliar with these steps, … check out the Processing Text … with R Training on LinkedIn Learning. … We first convert the corpus … into lowercase using the tm_map function. … Then we remove punctuations. … Stopwords removal is done … using the standard stopwords list. … Finally, we convert the corpus into a document term matrix …
Author
Released
10/1/2019- Creating a word cloud
- Analyzing sentiment
- Extracting emotions from text
- Clustering similar entities based on text
- Using classification for supervised learning
- Recommending items to users based on text data analytics
Skill Level Intermediate
Duration
Views
Related Courses
-
Predictive Customer Analytics
with Kumaran Ponnambalam1h 37m Intermediate
-
Introduction
-
1. Word Cloud
-
Word cloud concepts1m 1s
-
Displaying the word cloud1m 29s
-
Enhancing the word cloud1m 25s
-
-
2. Sentiment Analysis
-
Sentiment analysis concepts1m 57s
-
Finding sentiment2m 35s
-
Summarizing sentiment1m 54s
-
Analyzing emotions1m 56s
-
-
3. Clustering
-
Clustering concepts1m 46s
-
Clustering hashtags1m 29s
-
Finding optimal cluster size1m 26s
-
-
4. Classification
-
Classification concepts1m 37s
-
Preparing data3m 13s
-
Building a model2m 7s
-
Running predictions1m 19s
-
-
5. Predictive Text
-
Predictive text concepts1m 16s
-
Preparing data2m 11s
-
Predicting text1m 57s
-
-
Conclusion
-
Next steps49s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Preparing data