mirror of https://github.com/gsi-upm/senpy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
182 B
Python
8 lines
182 B
Python
7 years ago
|
from senpy.plugins import SentimentPlugin
|
||
|
|
||
|
|
||
|
class DummyPlugin(SentimentPlugin):
|
||
|
def analyse_entry(self, entry, params):
|
||
|
entry.text = entry.text[::-1]
|
||
|
yield entry
|