CommencerCommencer gratuitement

Working with Google reviews

Now that the Amazon reviews have been cleaned, the same must be done for the Google reviews. qdap_clean() and tm_clean() are available in your workspace to help you clean goog_pros and goog_cons.

Cet exercice fait partie du cours

Text Mining with Bag-of-Words in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# qdap_clean the text
qdap_cleaned_goog_pros <- ___(___)

# Source and create the corpus
goog_p_corp <- ___(___(___))

# tm_clean the corpus
goog_pros_corp <- ___(___)
Modifier et exécuter le code