Embodiments of the present invention provide a document sentiment analysis method, device, electronic equipment and readable storage medium, which can help improve the analysis effect and make sentiment analysis closer to daily life. The method includes: obtaining the document, and preprocessing the document to obtain the clauses and words of the document; establishing the index relationship between the clause and the document, and the word and the document; using the topic sentiment model to model the clause and the word, and generating the document The emotion of each clause and the theme of each word, and establish the correspondence between clauses and words; according to the emotion of each clause, the theme of each word, the correspondence between clauses and words, and clauses and documents , the index relationship between words and documents, and calculate the probability distribution of "document-emotion-clause" and the probability distribution of "document-subject-word"; according to the probability distribution of "document-emotion-clause" and the " document-topic-word" to calculate the sentiment orientation of a document.