Skip to main content

A sentiment analysis server implementation. Designed to be extendable, so new algorithms and sources can be used.

Project description

logo.png

Senpy

https://travis-ci.org/gsi-upm/senpy.svg?branch=master

Sentiment analysis web services using a common interface: NIF+JSON-LD.

With Senpy, you can easily turn your sentiment analysis algorithm into a web service, just by creating a new plugin.

DEMO on Heroku

Installation

The stable version can be installed via pip:

pip install senpy

Alternatively, you can use the development version:

git clone git@github.com:gsi-upm/senpy
cd senpy
pip install -r requirements.txt

To install it system-wide, use setuptools:

python setup.py install

If you are using docker, build the image or use the pre-built one:

docker run -ti -p 5000:5000 balkian/senpy --host 0.0.0.0 --default-plugins

To add custom plugins, add a volume and tell senpy where to find the plugins:

docker run -ti -p 5000:5000 -v <PATH OF PLUGINS:/plugins balkian/senpy --host 0.0.0.0 --default-plugins -f /plugins

Using

You can use the modules included in senpy to build your own application. However, the easiest and recommended way is to just use the command-line tool to load your plugins and launch the server.

senpy

or, alternatively:

python -m senpy

This will create a server with any modules found in the current path. For more options, see the –help page.

TO-DO

  • Improve documentation and generate it with Sphinx

  • ReadTheDocs

  • Improve README

Acknowledgement

EUROSENTIMENT PROJECT Grant Agreement no: 296277 Starting date: 01/09/2012 Project duration: 24 months

Eurosentiment Logo logo_fp7.gif

Project details


Release history Release notifications | RSS feed

This version

0.4.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

senpy-0.4.9.tar.gz (12.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page