Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
5bab9a6a
Commit
5bab9a6a
authored
Jun 02, 2017
by
militarpancho
Browse files
#34
. Fixed some errors from plugins examples
parent
69ac95bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/plugins.rst
View file @
5bab9a6a
...
...
@@ -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 plugin
https://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,
Senpy
Plugin
from senpy.plugins import ShelfMixin,
Analysis
Plugin
class MyPlugin(ShelfMixin, AnalysisPlugin):
def train(self):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment