LoslegenKostenlos loslegen

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

Analyzing Social Media Data in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

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