Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements on the SentimentAnalyzer #1

Open
arafattehsin opened this issue Apr 6, 2021 · 6 comments
Open

Enhancements on the SentimentAnalyzer #1

arafattehsin opened this issue Apr 6, 2021 · 6 comments
Labels

Comments

@arafattehsin
Copy link
Owner

As a part of arafattehsin/CognitiveRocket#3 - an idea is floated around keeping a single library with multiple models under the hood. Each model will have a specific dataset(s) on which it is going to be trained for fine grained sentiment analysis.

User / developer should be able to call the function from by passing a flag (probably Enum?)

For example;

A user analyzing the sentiments for movie reviews will call the Movie Sentiment Analysis Model.
A user looking for the customer reviews sentiment analysis will call the Customers Feedback Analysis Model.

@arafattehsin
Copy link
Owner Author

@kamranayub - your thoughts are most welcome here 😊

@kamranayub
Copy link

I like that! Some kind of pseudo code here:

Sentiments.Predict(text) // Default
Sentiments.Predict(text, SentimentType.MovieReview)
Sentiments.Predict(text, SentimentType.ProductReview)

@kamranayub
Copy link

Just for some more data points, I had some review text I was running through the analyzer:

I HATE this product, it doesn't do anything I want it to!

And yet it determined the prediction was Positive so I do think there's some room for other model training to tweak the results depending on the domain!

One neat thing could be to use the IMDB dataset for tests since it includes the sentiment score (-1 = negative, 0 = neutral, 1 = positive) and test models against it to see how well they match up.

@arafattehsin
Copy link
Owner Author

Yeah I noticed that as well. You are right there's a room of other model training. I will schedule it soon. Meanwhile, what we can collect are the datasets and finalize the categories.

Movies - IMDB dataset
Product Reviews - Amazon Reviews
News / Views -
.
.
.
.

Above categories are not restricted (they can also be expanded if we want) and also can be trained with more than one dataset. A little to no feature engineering may required which I can handle.

@arafattehsin arafattehsin self-assigned this Apr 10, 2021
@arafattehsin arafattehsin transferred this issue from arafattehsin/CognitiveRocket Sep 27, 2021
@arafattehsin arafattehsin removed their assignment Sep 29, 2021
@Wodlfvllf
Copy link

Hey I would also like to contribute.

@arafattehsin
Copy link
Owner Author

@Wodlfvllf Please go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants