開始使用免費開始

處理 Google 評論

你已經清理完 Amazon 的評論,現在也要用相同方法處理 Google 的評論。工作區中已提供 qdap_clean()tm_clean(),可用來清理 goog_prosgoog_cons

本練習屬於課程

R 的 Bag-of-Words 文本探勘

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# qdap_clean the text
qdap_cleaned_goog_pros <- ___(___)

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

# tm_clean the corpus
goog_pros_corp <- ___(___)
編輯並執行程式碼