[R] DocumentTermMatrix

2016-12-01 Thread Patrick Casimir
My dtm is showing the 4 files in the corpus correctly, but the number of terms is incorrect at 0. What can cause that? dtm <- DocumentTermMatrix(docs) dtm ## <> __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

Re: [R] DocumentTermMatrix error

2011-05-21 Thread Matevž Pavlič
-help@r-project.org Cc: feine...@logic.at Subject: [R] DocumentTermMatrix error Hi all, I have tried to create a DocumentTermMatrix with a tm package, but i get this error : Error in tolower(txt) : invalid input 'PROD Z LAHKO GNETNO MELJNO GLINO, ... in 'utf8towcs'

[R] DocumentTermMatrix error

2011-05-21 Thread Matevž Pavlič
Hi all, I have tried to create a DocumentTermMatrix with a tm package, but i get this error : Error in tolower(txt) : invalid input 'PROD Z LAHKO GNETNO MELJNO GLINO, ... in 'utf8towcs' I tried doing this as it is showed in : http://www.r-project.org/doc/Rnews/Rnews_2008-2.pdf (

[R] DocumentTermMatrix - text minig

2011-05-20 Thread Matevž Pavlič
Hi All, I have a Data.frame that looks like that one below. I would like to do some text mining on it to possibly find some patterns between Opis, ACklasifikacija and Vodja. I looked over a tm package which loks promissing, more specifically DocumentTermMatrix or TermDocumentMatrix. But I c

[R] DocumentTermMatrix - text minig

2011-05-20 Thread Matevž Pavlič
Hi All, I have a Data.frame that looks like that one below. I would like to do some text mining on it to possibly find some patterns between Opis, ACklasifikacija and Vodja. I looked over a tm package which loks promissing, more specifically DocumentTermMatrix or TermDocumentMatrix. But I c