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

Sentiment analysis #10

Closed
epetros opened this issue Sep 26, 2017 · 4 comments
Closed

Sentiment analysis #10

epetros opened this issue Sep 26, 2017 · 4 comments

Comments

@epetros
Copy link

epetros commented Sep 26, 2017

Hi,
There seems to be something wrong with the Sentiment analysis, or I need help understanding its multiple output.
Thanks

@gamallo
Copy link
Member

gamallo commented Sep 27, 2017

Hi,
This modules gives a polartity (pos, neg, neutral) to each paragraph of the input text. For instance. If your input is:

"Peter is a nice person.
Paul is not very humble.
This is my opinion."

The system returns three values, each per paragraph. I've just updated this module in order to make the output clearer (I hope), by adding the text paragraph in the first column. So, the current output would be the following:

Peter is a nice person . 	        POSITIVE	0.996803778643914
Paul is not very humble . 	NEGATIVE	0.999608726124624
This is my opinion . 	                NONE	        1

if you have better ideas for the output of this module, please let me know. Thanks.

@epetros
Copy link
Author

epetros commented Sep 27, 2017

Hi,
I understand it now, thanks for clarifying.
Would suggest maybe adding an overall score as well. Thanks

@gamallo
Copy link
Member

gamallo commented Sep 28, 2017

Yes, your suggestion of adding a total score is just what the demo version does. I updated the module. The last line of the output returns the overall score which is the average of all paragraphs.

@epetros
Copy link
Author

epetros commented Sep 28, 2017

Great.

@epetros epetros closed this as completed Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants