Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 640 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 640 Bytes

SentimentAnalyzer - On-device (offline) Sentiment Analysis for .NET Standard apps

This is a library which can be used to consume a model which I created using ML.NET.

For further information, you can always have a look at my blog

Quick Start

using SentimentAnalyzer;

var sentiment = Sentiments.Predict("some string");

Predict returns a SentimentPrediction which contains:

  • Prediction (bool) - true is Positive sentiment, false is Negative sentiment.
  • Score (float) - A score representing the model's accuracy