gsi-upm / senpy

A sentiment and emotion analysis server in Python
http://senpy.gsi.upm.es
Apache License 2.0
71 stars 25 forks source link

Unable to Find SentiText and Vader in my local deploymen #44

Closed viju2008 closed 11 months ago

viju2008 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

balkian commented 11 months ago

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.