Hello- I am trying to count the number of negative and positive words within each "Comment" observation. Variables: Comment: A list of a website comments Negative: A list of negative associated words, each observation is one negative word Positive: A list of positive associated words, each observation is one positive word I have gathered the information and combined them into one data set, now I am confused how to scan/index each comment observation when I'm looking to see if it contains any word in an entire list and eventually count them to something like this: Does anyone have any insight? Comment Negative Positive Rating "Wow so great" 2 "It's OK" 1 "Good but boring" 0 "Meh" -1 Bad Meh boring Wow Great OK Good
... View more