May 2019
Beginner
528 pages
29h 51m
English
Data cleaning is one of the most common tasks that data scientists perform. Depending on how you intend to process tweets, you’ll need to use natural language processing to normalize them by performing some or all of the data cleaning tasks in the following table. Many of these can be performed using the libraries introduced in the “Natural Language Processing (NLP)” chapter:
Converting all text to the same case
Removing # symbol from hashtags
Removing @-mentions
Removing duplicates
Removing excess whitespace
Removing hashtags
Removing punctuation |
Removing stop words
Removing RT (retweet) and FAV (favorite)
Removing URLs
Stemming
Lemmatization
Tokenization |
Read now
Unlock full access