This chapter discusses the use of text as dataText as data, introducing the bag of wordsBag of words model and its applications in text analysis. It covers topics such as tokenizationTokenization, stopwordsStopwords, stemmingStemming, and the Document Term Matrix (DTMDocument Term Matrix (DTM)). The chapter also explores term frequencyTerm frequency and tf-idfTf-idf, text regressionText regression, sentiment analysisSentiment analysis, and topic modeling, providing examples in R to illustrate these techniques. It highlights the potential of text data in providing valuable insights for business applications.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Text as Data

  • Alex Coad

摘要

This chapter discusses the use of text as dataText as data, introducing the bag of wordsBag of words model and its applications in text analysis. It covers topics such as tokenizationTokenization, stopwordsStopwords, stemmingStemming, and the Document Term Matrix (DTMDocument Term Matrix (DTM)). The chapter also explores term frequencyTerm frequency and tf-idfTf-idf, text regressionText regression, sentiment analysisSentiment analysis, and topic modeling, providing examples in R to illustrate these techniques. It highlights the potential of text data in providing valuable insights for business applications.