R text file and text mining…how to load data
问题 I am using the R package tm and I want to do some text mining. This is one document and is treated as a bag of words. I don't understand the documentation on how to load a text file and to create the necessary objects to start using features such as.... stemDocument(x, language = map_IETF(Language(x))) So assume that this is my doc "this is a test for R load" How do I load the data for text processing and to create the object x? 回答1: Like @richiemorrisroe I found this poorly documented. Here