Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brminnick/sentimentanalysis
An iOS and Android app made using Xamarin.Forms that uses Azure's Sentiment Analysis API to determine the sentiment of a message
https://github.com/brminnick/sentimentanalysis
azure cognitive-services microsoft microsoft-cognitive-services sentiment-analysis xamarin xamarin-android xamarin-forms xamarin-ios
Last synced: about 2 months ago
JSON representation
An iOS and Android app made using Xamarin.Forms that uses Azure's Sentiment Analysis API to determine the sentiment of a message
- Host: GitHub
- URL: https://github.com/brminnick/sentimentanalysis
- Owner: brminnick
- License: mit
- Created: 2017-09-19T15:57:01.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T16:18:58.000Z (over 2 years ago)
- Last Synced: 2024-05-01T14:08:57.402Z (8 months ago)
- Topics: azure, cognitive-services, microsoft, microsoft-cognitive-services, sentiment-analysis, xamarin, xamarin-android, xamarin-forms, xamarin-ios
- Language: C#
- Homepage: https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/56f30ceeeda5650db055a3c9/?WT.mc_id=none-XamarinBlog-bramin
- Size: 15 MB
- Stars: 5
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Sentiment Analysis
This app was made in conjunction with the Microsoft Blog, [Upgrade Your App With Sentiment Analysis](https://devblogs.microsoft.com/xamarin/upgrade-your-app-with-sentiment-analysis?WT.mc_id=mobile-0000-bramin).
| Happy Sentiment | Sad Sentiment |
|---------------------------|---------------------------
| ![Happy Sentiment](https://user-images.githubusercontent.com/13558917/45384332-930a2a80-b5c2-11e8-93a3-120a5f574cfb.gif)| ![Sad Sentiment](https://user-images.githubusercontent.com/13558917/45384333-93a2c100-b5c2-11e8-81d4-39cbe973164c.gif)|Microsoft's [Cognitive Services](https://azure.microsoft.com/services/cognitive-services?WT.mc_id=mobile-0000-bramin) team have created the [Sentiment Analysis API](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/56f30ceeeda5650db055a3c9/?WT.mc_id=mobile-0000-bramin) that uses machine learning to determine the sentiment of uploaded text. And the best part is, we don't need to be machine learning experts to use it.
I just submit the text as a POST Request:
```json
{
"documents": [
{
"language": "en",
"id": "251c99d7-1f89-426a-a3ad-c6fa1b34f020",
"text": "I hope you find time to actually get your reports done today."
}
]
}
```And the API returns back its sentiment score:
```json
{
"sentiment": {
"documents": [
{
"id": "251c99d7-1f89-426a-a3ad-c6fa1b34f020",
"score": 0.776355504989624
}
]
}
```The sentiment score ranges between 0 and 1.
Scores close to 0 indicate negative sentiment, while scores close to 1 indicate positive sentiment.
## Learn More
- [Upgrade Your App With Sentiment Analysis | Microsoft Blog](https://devblogs.microsoft.com/xamarin/upgrade-your-app-with-sentiment-analysis?WT.mc_id=mobile-0000-bramin)
- [Cognitive Services](https://azure.microsoft.com/services/cognitive-services?WT.mc_id=mobile-0000-bramin)
- [Text Analytics](https://azure.microsoft.com/services/cognitive-services/text-analytics?WT.mc_id=mobile-0000-bramin)
- [Sentiment Analysis API](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/56f30ceeeda5650db055a3c9?WT.mc_id=mobile-0000-bramin)