Added a convertSentiment method