Twitter Data Analysis - Error in Term Document Matrix

前端 未结 6 786
滥情空心
滥情空心 2020-12-03 18:30

Trying to do some analysis of twitter data. Downloaded the tweets and created a corpus from the text of the tweets using the below

# Creating a Corpus
wim_co         


        
6条回答
  •  心在旅途
    2020-12-03 19:08

    I had the same problem and it turns out it is an issue with package compatibility. Try installing

    install.packages("SnowballC")
    

    and load with

    library(SnowballC)
    

    before calling DocumentTermMatrix.

    It solved my problem.

提交回复
热议问题