CommencerCommencer gratuitement

Removing custom stop words

Popular terms in a text corpus can be visualized using bar plots or word clouds.

However, it is important to remove custom stop words present in the corpus first before using the visualization tools.

In this exercise, you will check the term frequencies and remove custom stop words from the text corpus that you had created for "telemedicine".

The text corpus has been pre-loaded as twt_corpus.

The libraries qdap and tm have been pre-loaded for this exercise.

Cet exercice fait partie du cours

Analyzing Social Media Data in R

Afficher le cours

Exercice interactif pratique

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

# Extract term frequencies for top 60 words and view output
termfreq  <-  ___(twt_corpus, ___)
termfreq
Modifier et exécuter le code