logic added for targeted sentiment analysis