Thank your comments very much.
Thank to your help, I understood a flow for a text analysis.
However, I could not run the above R scripts because tm package does
not work in my PC that is a critical error.
Kum Hwang Ph.D.
On Sat, Jan 10, 2009 at 12:39 AM, Tony Breyal
wrote:
> Hi there, I think
Hi there, I think something like the following is what you want:
### R start...
# if you put your plain text files in a folder like this
my.path <- 'C:\\Documents and Settings\\tony\\Desktop\\texts\\'
# then you can construct a simple tdm like this
library(tm)
my.corpus <- Corpus(DirSource(my.pat
Howdy Gurus
I 'd like to ask a question about how to build TermDocMatrix in tm text
mining package.
It is not clear about importing a plain text file, and them converting that
text file into TermDocMatrix file, etc to me.
How can I build a TermDocMatrix of " a plain text document file for text
as
3 matches
Mail list logo