Added local version of generateSentimentsByMovieFromSentences