Create an instance of SentimentClassifier class. It is multilingual and supports English, Chinese, Spanish, and German.
Creates SentimentClassifier instance
var SentimentClassifier = new SentimentClassifier(); and call PositiveProbability method
Classifies Sentiment by text
var positiveProbability = SentimentClassifier.PositiveProbability("This is a new must-have thing."); Console.WriteLine($"The probability of a positive Sentiment is { positiveProbability }"); or call Classify method
Classifies Sentiment by text
var response = SentimentClassifier.Classify("This is a new must-have thing."); Console.WriteLine($"The best class name:{response....Basic Usage / Sentiment classification usage Sentiment classification...PositiveProbability method Classifies sentiment by text var positiveProbability...