GithubHelp home page GithubHelp logo

bvallelunga / example-app-sentiment Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 54 KB

Easily find the sentiment of a sentence targeted for social media and support messages.

Home Page: https://doppler.market/apps/sentiment

License: Apache License 2.0

Python 100.00%

example-app-sentiment's Introduction

Social Sentiment

Easily find the sentiment of a sentence targeted for social media and support messages.

Use Cases

  • Support Routing: route inbound messages to the proper support team.
    • Have a dedicated crisis response team for negative messages
    • Use chat bots or automated replies for neutral messages
  • Discover extremely positive messages as showcases of happy customers
  • Filter extremely negative messages in chat rooms

Input Scheme

The input should contain an array of texts.

{
  "texts": [
    "The book was good.",
    "At least it isn't a horrible book.",
    "The book was only kind of good.",
    "Today SUX!",
    "John is not smart, handsome, nor funny.",
    "The plot was good, but the characters are uncompelling and the dialog is not great."
  ]
}

Output Scheme

The output will map each input message to a score. Positive texts receive positive scores while negative texts receive negative scores.

{
  "texts": {
    "The book was good.": 0.4404,
    "At least it isn't a horrible book.": 0.431,
    "The book was only kind of good.": 0.3832,
    "Today SUX!": -0.5461,
    "John is not smart, handsome, nor funny.": -0.7424,
    "The plot was good, but the characters are uncompelling and the dialog is not great.": -0.7042
  }
}

Training

The underlying model was designed by a group at Georgia Institute of Technology and is "specifically attuned to sentiments expressed in social media".

Want To Learn More?

See the MAINTAINERS.md to learn more about the underlying model as well as how to contribute to the app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.