Sentiment classifies text by the attitude it actually expresses, positive, negative, or neutral, and often finer gradations than that simple three-way split, with each successive generation of sentiment-classification methods representing a direct response to that prior generation's own specific particular limitations. Early rule-based and lexicon-based sentiment methods struggled badly with negation and sarcasm, motivating a shift toward statistical and eventually neural sentiment-classification methods specifically capable of actually modeling broader surrounding context rather than scoring individual words in isolation from each other.