[R] Affinity Analysis at Product Category Level

2014-09-09 Thread anshuji
Hi - Need help to do product affinity analysis for a Retailer. Products are categorized into categories such as say Baby Care, Male Hair Care, Female Hair Care etc. I can do affinity analysis at the product level using Apriori algorithm. I get the support, confidence and lift and using this I g

[R] Sentence Splitting using R's openNLP library is not efficient

2014-09-09 Thread anshuji
Please suggest any efficient way/code of splitting text into sentences in R. Currently, I'm using openNLP library for the same, it is taking several hours to process 8,000+ records of twitter post/comments. Below is my R code for same: options(java.parameters = "-Xmx4g") library("NLP"); library