Skip to content

guillermomar/API-Natural-Language-Analysis

Repository files navigation

Overview

alt text

In this repo you will find an API whose main functionality is:

 Store characters in a MongoDB.

 Store lines of dialogue in a MongoDB.

 Analyze the polarity and subjetivity(sentiment) of characters and group of characters with Natural Language Toolkit.

 Stablish the affinity between characters and group of characters based on the sentiment similarity anysis. 

The API is cloud deployed in this url via heroku:

https://api-natural-language-analysis.herokuapp.com/

You also will find a jupyter notebook with an example in the present repository

API end-points

API end-points to insert information

  1. Insert a name in database: '/character_insert/'

  2. Insert a lines of dialogue in database: '/conversation_insert///'

API end-points to obtain information

  1. Get character id in database: '/get_user_id/'

  2. Get character lines in database: '/get_character_lines/<id_c>'

  3. Get character group in database: '/get_house_characters/'

  4. Get group lines of dialogue in database: '/get_house_conversation/'

API end-points for sentiment analysis

  1. Analyse de sentiment of a character: '/character_sentiment/'

  2. Recommend the closest character to another character: '/character_friend_recommender/

  3. Analyse de sentiment of a group: '/house_sentiment/'

  4. Recommend the closest group to another group: '/house_friend_recommender/'

  5. Recommend the closest group to a character: '/character_house_recommender/'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors