A mechanism is provided in a data processing system for applying a genetic algorithm to semantic sentiment analysis. The mechanism provides a sentiment analysis model to a sentiment analysis algorithm. The mechanism trains the sentiment analysis model using a genetic algorithm based on a training corpus of documents with corresponding desired sentiment analysis values for a given domain to form a trained sentiment analysis model. The mechanism performs the sentiment analysis algorithm on an input document using the trained sentiment analysis model to form a domain-specific sentiment analysis result. The mechanism outputs the domain-specific sentiment analysis result.
展开▼