Kimmy Fabel Today

Returns: dict: A dictionary containing the sentiment scores. """ sia = SentimentIntensityAnalyzer() sentiment_scores = sia.polarity_scores(text) return sentiment_scores

# Example usage text = "I'm feeling happy and excited for the weekend!" sentiment_scores = kimmy_fabel_sentiment_analysis(text) print(sentiment_scores) kimmy fabel

# Download required NLTK data nltk.download('vader_lexicon') Returns: dict: A dictionary containing the sentiment scores