Predicting Stock Prices and Trends Using Sentiment Analysis and Machine Learning Algorithms