[R] TM reader with text

Mickael R problem clevenot.mickael at gmail.com
Sun Mar 4 23:22:25 CET 2012


"Try this before running removePuncutation():
corpus <- tm_map(corpus, function(x) gsub("[\'\U2019]«»", " ", x))"
It will replace quotation marks with a space, and that's enough to
separate them from the rest of the word.

I try to use your solution. It's work only for characters, not for a Corpus,
but I was an idea.

You can also try the GUI I'm currently writing to do that easily [1]. No
warranty it will work, but it usually does quite well, though it's still
in development. To install it:
install.packages("RcmdrPlugin.TextMiningSuite",
repos="http://R-Forge.R-project.org")
I will be interesinfg in but I ever try to set up this package but there is
problem Rgrafiz version. I don't undertand exaclty the problem.

best regard's
Mickaël

--
View this message in context: http://r.789695.n4.nabble.com/TM-reader-with-text-tp4433394p4444472.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list