mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 16:12:29 +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
|