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@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.

Reply via email to