处理 Google 的评论
既然 Amazon 的评论已经清洗完成,接下来也要对 Google 的评论做同样的处理。工作区中已提供 qdap_clean() 和 tm_clean(),请用它们来清洗 goog_pros 和 goog_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 <- ___(___)