From 5bab9a6a02fe685637c23dee901eb474ea24feae Mon Sep 17 00:00:00 2001 From: militarpancho Date: Fri, 2 Jun 2017 17:43:18 +0200 Subject: [PATCH] #34. Fixed some errors from plugins examples --- docs/plugins.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins.rst b/docs/plugins.rst index bb56c65..770f6cc 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -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):