1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 08:12:27 +00:00

Better readme, fixed app.py

This commit is contained in:
J. Fernando Sánchez 2015-02-24 08:39:33 +01:00
parent 6b78b7ccc7
commit c1a6b57ac5
6 changed files with 44 additions and 21 deletions

View File

@ -1,19 +0,0 @@
![GSI Logo](logo.png)
[Senpy](http://senpy.herokuapp.com)
=========================================
Example endpoint that yields results compatible with the EUROSENTIMENT format and exposes the NIF API.
It can be used as a template to adapt existing services to EUROSENTIMENT or to create new services.
[DEMO on Heroku](http://eurosentiment-endpoint.herokuapp.com)
This endpoint serves as bootcampt for any developer wishing to build applications that use the EUROSENTIMENT services.
Acknowledgement
---------------
EUROSENTIMENT PROJECT
Grant Agreement no: 296277
Starting date: 01/09/2012
Project duration: 24 months
![Eurosentiment Logo](logo_grande.png)
![FP7 logo](logo_fp7.gif)

42
README.rst Normal file
View File

@ -0,0 +1,42 @@
.. image:: logo.png
:height: 6em
:align: left
=====================================
`Senpy <http://senpy.herokuapp.com>`_
=====================================
.. image:: https://travis-ci.org/gsi-upm/senpy.svg?branch=master
:target: https://travis-ci.org/gsi-upm/senpy
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 <http://senpy.herokuapp.com>`_
TO-DO
-----
* Instalation instructions
* Improve documentation and generate via Sphinx
* ReadTheDocs
* Improve README
Acknowledgement
---------------
EUROSENTIMENT PROJECT
Grant Agreement no: 296277
Starting date: 01/09/2012
Project duration: 24 months
.. image:: logo_grande.png
:target: logo_grande.png
:width: 100px
:alt: Eurosentiment Logo
.. image:: logo_fp7.gif
:width: 100px
:target: logo_fp7.gif

2
app.py
View File

@ -19,7 +19,7 @@ This is a helper for development. If you want to run Senpy use:
python -m senpy python -m senpy
""" """
from gevent.monkey import patch_all patch_all() from gevent.monkey import patch_all; patch_all()
import gevent import gevent
import config import config
from flask import Flask from flask import Flask

BIN
logo_fp7.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
logo_grande.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -1,2 +1,2 @@
[metadata] [metadata]
description-file = README.md description-file = README.rst