using unreplace query to do sentiment analysis