8000 GitHub - DannyKong12/yhack17
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DannyKong12/yhack17

Repository files navigation

Emotionji Backend Django Server

A project for YHack 2017

A server that handles requests to our sentiment analyzers. Accepts strings of a sentence or entire paragraphs and returns the detected emotion and language tones, or submit an audio file and we will try to

Getting started

Our server is purely independent, send a request and you're on your way! Send a request however you'd like.

Calling our Server

Send a typical GET request to our server with a url argument at the end.

e.g.

var url = "immense-lowlands-49222.herokuapp.com/yhackss/1/"
$.get( url + <str>, function( data ) { //  send request with your input replacing <str>
  ... data ...
});

We return lists of tuples with (emotion, confidence, language tone), one for each sentence
Example:

[('Joy', 0.98270000000000002, 'Analytical'), ('Joy', 0.99839999999999995, 'Tentative')] # example api results

Our frontend

Our frontend was made by our team, and is hosted on a different repo. Github

Built with

Django 2.0 - The web framework we used
NLTK - Used for sentence tokenizing
IBM-Watson api - Our analytics engine
Indico - Our emotion analytics

Authors

  • Tate Cheng
  • Nicolas Hudon
  • Sharon Ho
  • Danny Kong

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0