Read this document in: Spanish
Application is divided in two REST services. Out of certain topics, the application searchs messages on Twitter about them. Finally, the sentiment of these messages are analyzed.
Thus, we have one REST service in charge of search topics and messages about them, as well ass save them in the database, and another service in charge of the sentiment analysis of text.
The topics are searched using the tool ArchMS, created by the University of Murcia, where we obtain medical information.
The comments about the topics are searched using Twitter4j, a non-official Java library, which allows an easy access to the Twitter's API.
The text sentiment analysis has been implemented though multiple algorithms:
- Based on our own dictionary.
- Using the library of Apache OpenNLP.
- Using the library of Stanford CoreNLP.
Both services work independently. The text sentiment analysis service can be easily used by other services, though REST requests.
The comment extractor service allows the register of users. These users can add and remove other favourite people, whose comments will have priority above others.
These instructions allows you to get a copy of the project in your local machine.
The project has been written in Java.
Both services are deployed using Tomcat.
In short:
Java
Tomcat
Tools used for the project building
System
- Maven - Dependency manager
- ArchMS - Tool created by the University of Murcia, used to get the topics.
Social media
- Twitter4j - Library used to access Twitter
Sentiment analyzer algorithms
- Apache OpenNLP - Library used for the text sentiment analysis
- Stanford CoreNLP - Library used for the text sentiment analysis
Database
Test
- JUnit - Code test
- REST-assured - Rest services test
- Swagger - Interactive interface of REST services
Interface
- HTML5 - Interface created using HTML
- CSS3 - Interface decorated using HTML
- JavaScript - Interface created using JS
- AngularJS - JS framework
- José Fernándo Fernández Espín - Inicial development
- Diego Valera - Development and subsequent completion - Di3GO95
This project is created uned the MIT license - look the file LICENSE.md for details.