search for: app_neg

Displaying 1 result from an estimated 1 matches for "app_neg".

2013 Nov 06
1
Multiple String word replacements: Performance Issue
...hich is what I heard could be a solution. Appreciate your ideas and help very much! *Definition of the one function called inside `preprocessText`* appendEmotion<-function(x){ if (grepl(app_pos,x)){ x<-paste(x," [pos_emotion] ") } if(grepl(app_neg,x)){ x<-paste(x," [neg_emotion] ") } #Output return(x) }