After I preprocessed my df_corpus
and tried to convert the cleaned corpus to a TermDocumentMatrix
, I keep getting this error:
feedbacks_tdm <- TermDocumentMatrix(df_corpus)
Error in UseMethod("TermDocumentMatrix", x) : no applicable method for 'TermDocumentMatrix' applied to an object of class "character"