How-to · Text
Detect the emotional tone (positive or negative) of some text
Softanza
Q("The service was slow, but the food was delicious.").TextQ().Sentiment()
#--> "positive"Output
positive
ran: printed what the recipe promises
run on 2026-10-02 22:33 inside the library at commit 0e72e2e2c; the expression carrying the promise was printed for the run · The recipe on GitHub(opens in a new tab)
The methods
stzText.Sentiment · stzText.SentimentScore · stzText.IsPositive
See also
Words for this task: sentiment, mood, tone, emotion, feeling, opinion, positive, negative

