analyze_sentiment function

Perform sentiment analysis on book reviews with negation handling