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.
https://api-natural-language-analysis.herokuapp.com/
-
Insert a name in database: '/character_insert/'
-
Insert a lines of dialogue in database: '/conversation_insert///'
-
Get character id in database: '/get_user_id/'
-
Get character lines in database: '/get_character_lines/<id_c>'
-
Get character group in database: '/get_house_characters/'
-
Get group lines of dialogue in database: '/get_house_conversation/'
-
Analyse de sentiment of a character: '/character_sentiment/'
-
Recommend the closest character to another character: '/character_friend_recommender/
-
Analyse de sentiment of a group: '/house_sentiment/'
-
Recommend the closest group to another group: '/house_friend_recommender/'
-
Recommend the closest group to a character: '/character_house_recommender/'
