Skip to main content

Posts

Showing posts from August, 2017

Text Mining in R

install.packages( c("tm", "VCorpus", "hunspell"),  dependencies = TRUE) install.packages( c("Rweka", "RMySQL", "textmining"),  dependencies = TRUE) install.packages( c("iemisctext", "ngram"), dependencies = TRUE) if(TRUE) {   WORKDIR="D:/DeltaPartners2017/FieldOperations/TextMining/Mining/";   setwd(WORKDIR);   Sys.setlocale("LC_ALL","Arabic")   memory.limit(size = 16072)       library(tm);   library("iemisctext")   library(ngram)   library(RWeka)     data(anarchy)   a <- anarchy="" documenttermmatrix="" p="">   findFreqTerms(a, 5)     data("crude")     # Corpust --> DataFrame   ddataframeCrude<-data .frame="" content="" stringsasfactors="F)</p" text="unlist(sapply(crude,">  dataframeCrude[1,]   }       # Raw data to Corpus   serv_log &