A lexicon contains opinion words with their polarity value. Lexicon-based sentiment analysis models will sum up polarity values for lexicon words that appear in a sentence and define sentiment according to the total polarity score.