摘要 |
A computing device includes at least one processor and a sentiment analysis module. The sentiment analysis module is to, for each document set of a plurality of document sets, determine a distribution of sentiment classes for documents included in the document set. The sentiment analysis module is also to select, from the plurality of document sets, a first document set for analyzing a target document, and set a prior distribution of sentiment classes of the target document equal to the distribution of sentiment classes for documents included in the first document set. The sentiment analysis module is also to perform a Bayesian classification of the target document using a training data set and the prior distribution of sentiment classes of the target document, and determine a sentiment class for the target document based on the Bayesian classification. |