Sentiment Analysis

How would you tackle a problem where you have to perform sentiment analysis in long texts, eg 3000 words. I was thinking to split into chunks, perform sentiment analysis and then average probabilities. My main issue is that I have to perform these actions in databricks.

Thanks