mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-23 00:22:28 +00:00
8 lines
182 B
Python
8 lines
182 B
Python
|
from senpy.plugins import SentimentPlugin
|
||
|
|
||
|
|
||
|
class DummyPlugin(SentimentPlugin):
|
||
|
def analyse_entry(self, entry, params):
|
||
|
entry.text = entry.text[::-1]
|
||
|
yield entry
|