senpy icon indicating copy to clipboard operation
senpy copied to clipboard

Unable to Find SentiText and Vader in my local deploymen

Open viju2008 opened this issue 6 years ago • 2 comments

I am unable to find SentiText and Vader in my local deployment of senpy ... where can i find these plugins from they are not available in plugins folder also

Please guide me

I have downladed the NTLK data for vader

viju2008 avatar May 13 '18 08:05 viju2008

Trying to load from senpy- community plugins

py\plugins_init_.py", line 452, in load_module tmp = importlib.import_module(name) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\import lib_init_.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in call_with_frames_removed File ".\affect\affect.py", line 15, in class unifiedPlugin(SentimentPlugin): File "C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\sen py\plugins_init.py", line 54, in new 'documentation to class {}').format(name)) Exception: Please, add a description or documentation to class unifiedPlugin

C:\senpy\senpy-plugins-community>

viju2008 avatar May 13 '18 08:05 viju2008

File "/home/ubuntu/senpy/senpy/plugins/init.py", line 509, in from_path yield from_info(info, **kwargs) File "/home/ubuntu/senpy/senpy/plugins/init.py", line 528, in from_info return one_from_module(module, root=root, info=info, **kwargs) File "/home/ubuntu/senpy/senpy/plugins/init.py", line 553, in one_from_module instance = next(from_module(module=module, root=root, info=info, **kwargs), None) File "/home/ubuntu/senpy/senpy/plugins/init.py", line 545, in from_module for p in res: File "/home/ubuntu/senpy/senpy/plugins/init.py", line 577, in _from_module_name module = load_module(module, root) File "/home/ubuntu/senpy/senpy/plugins/init.py", line 452, in load_module tmp = importlib.import_module(name) File "/home/ubuntu/anaconda3/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/home/ubuntu/senpy/senpy-plugins-community/emotion-anew/emotion-anew.py", line 26, in class EmotionTextPlugin(SentimentPlugin): File "/home/ubuntu/senpy/senpy/plugins/init.py", line 54, in new 'documentation to class {}').format(name)) Exception: Please, add a description or documentation to class EmotionTextPlugin

viju2008 avatar May 13 '18 09:05 viju2008

My apologies for the late reply. The vader plugin has been integrated into this repository. Please, check each plugin's code and readme for more info. e.g., here's Vader's current info.

Do not hesitate to open a new issue if you find any bugs or have trouble getting it to run.

balkian avatar Sep 27 '23 09:09 balkian