sensein / senselab

senselab is a Python package that simplifies building pipelines for biometric (e.g. speech, voice, video, etc) analysis.
http://sensein.group/senselab/
Apache License 2.0
9 stars 3 forks source link

Task: Text sentiment analysis #34

Open fabiocat93 opened 5 months ago

fabiocat93 commented 5 months ago

Description

Extracting sentiment (polarity) and emotional category from text

Tasks

Freeform Notes

No response

adi611 commented 2 months ago

Hi @fabiocat93 - I noticed the task is unassigned and would like to take a shot at it. Let me know if that works!

fabiocat93 commented 2 months ago

Hi @adi611 - Thanks for offering to take this on! I've assigned the task to you. Below are the details and the checklist to ensure everything meets the project requirements.

Description

Your task involves implementing two main functionalities:

  1. Sentiment Analysis: Determine the sentiment polarity of each text in the list, providing both a numerical score (ranging from -1 to 1) and a corresponding label ("negative", "neutral", or "positive").

  2. Emotional Analysis: Identify the emotional content of each text, returning a dictionary of scores (probability for each possible emotion) and the dominant emotion as a string.

Tasks

Acceptability Criteria

I am happy to discuss this further if you feel it's needed. Thanks again for taking this on, and looking forward to your implementation!

adi611 commented 1 month ago

Hey @fabiocat93, I have made some changes and added tests, but the commit needs me to run pytest on all the test cases, and it's taking too long at the test_synthesize_texts_with_mars5_model. I checked the hardware requirements for the model and it’s way too much for my machine to handle. Any workaround?

adi611 commented 1 month ago

Hey @fabiocat93, I have made some changes and added tests, but the commit needs me to run pytest on all the test cases, and it's taking too long at the test_synthesize_texts_with_mars5_model. I checked the hardware requirements for the model and it’s way too much for my machine to handle. Any workaround?

using SKIP=pytest as a solution for now.