1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 04:58:12 +00:00
Go to file
J. Fernando Sánchez 7c959aace8 Squashed 'sentiment-basic/' content from commit beb8e31
git-subtree-dir: sentiment-basic
git-subtree-split: beb8e311619059a0c660411edef1cf95b3826c0a
2018-06-12 10:01:45 +02:00
data@7f99680db6 Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00
.gitmodules Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00
README.md Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00
sentiment-basic.py Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00
sentiment-basic.senpy Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00
sentiwn.py Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00
test.py Squashed 'sentiment-basic/' content from commit beb8e31 2018-06-12 10:01:45 +02:00

Sentiment basic plugin

This plugin is based on the classifier developed for the TASS 2015 competition. It has been developed for Spanish and English. This is a demo plugin that uses only some features from the TASS 2015 classifier. To use the entirely functional classifier you can use the service in: http://senpy.cluster.gsi.dit.upm.es

There is more information avaliable in:

- Aspect based Sentiment Analysis of Spanish Tweets, Oscar Araque and Ignacio Corcuera-Platas and Constantino Román-Gómez and Carlos A. Iglesias and J. Fernando Sánchez-Rada. http://gsi.dit.upm.es/es/investigacion/publicaciones?view=publication&task=show&id=376

Usage

Params accepted:

  • Language: Spanish (es).
  • Input: text to analyse.

Example request:

http://senpy.cluster.gsi.dit.upm.es/api/?algo=sentiment-basic&language=es&input=I%20love%20Madrid

Example respond: This plugin follows the standard for the senpy plugin response. For more information, please visit senpy documentation. Specifically, NIF API section.

This plugin only supports python2

alt GSI Logo