1 · Lexicon
A supplied dictionary. Every matched word contributes a fixed score.
sum of matched word scores
very negativeneutralvery positive
2 · TF-IDF + logistic regression
A linear classifier. TF-IDF features push the prediction up or down.
largest feature contributions
logit
3 · Contextual model
The model sees the sentence as a sequence and returns a label with a confidence score.
Hugging Face pipeline-style output