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

arafattehsin/SentimentAnalyzer

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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