[R] Help with stemDocument
Alekseiy Beloshitskiy
abeloshitskiy at velti.com
Fri Apr 13 13:59:17 CEST 2012
Check this
slideshare.net/whitish/textmining-with-r
Best,
-Alex
________________________________________
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] on behalf of Deborah H. Deng [deborah.deng at alumni.utexas.net]
Sent: 13 April 2012 10:27
To: r-help at r-project.org
Subject: [R] Help with stemDocument
Hi, All:
I am new to R and tm package. I'm trying to do the stemming using tm_map()
and it doesn't seem to work:
*I used:*
> stemDocument(t_cmts[[100]])
*Where t_cmts is the corpus object, the results is:*
bottle loose box abt airpak sections top plastic bottle squashed nearly
flush neck previous shipments bottle wrapped securely bubble wrap wno
bottle damage packaging poor surprisingly bottle leaking remove contents
bottle reusable packaging cancel automatic shipments
>
Which doesn't seem to have any stemming done at all. *What did I do wrong*?
I have rWeka, tm, rJava, Snowball installed (Use "install package" from the
top menu and it didn't say it failed.)
Thanks,
Deborah
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list