Updated analyze_sentiment and mixed_bag