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

#34. Fixed some errors from plugins examples

This commit is contained in:
militarpancho 2017-06-02 17:43:18 +02:00
parent 69ac95bb08
commit 5bab9a6a02

View File

@ -98,7 +98,7 @@ The value may be any valid JSON-LD dictionary.
For simplicity, senpy includes a series of models by default in the ``senpy.models`` module.
Example pluginhttps://lab.cluster.gsi.dit.upm.es/senpy/plugin-prueba
Example plugin
==============
In this section, we will implement a basic sentiment analysis plugin.
@ -166,7 +166,7 @@ Training a classifier can be time time consuming. To avoid running the training
.. code:: python
from senpy.plugins import ShelfMixin, SenpyPlugin
from senpy.plugins import ShelfMixin, AnalysisPlugin
class MyPlugin(ShelfMixin, AnalysisPlugin):
def train(self):