Skip to content

This repo contains the source code of SentimentAnalyzer. It's an on-device (offline) open-source library to find out what customers think of your brand or topic by analyzing raw text for clues about positive or negative sentiment. Powered by ML.NET

License

Notifications You must be signed in to change notification settings

arafattehsin/SentimentAnalyzer

Repository files navigation

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

About

This repo contains the source code of SentimentAnalyzer. It's an on-device (offline) open-source library to find out what customers think of your brand or topic by analyzing raw text for clues about positive or negative sentiment. Powered by ML.NET

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages