LoslegenKostenlos starten

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.

Diese Übung ist Teil des Kurses

<Kurs>Analyzing Social Media Data in R</Kurs>
Kurs ansehen

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Extract term frequencies for top 60 words and view output
termfreq  <-  ___(twt_corpus, ___)
termfreq
Code bearbeiten und ausführen