added training for sentiment detection