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

Get keyword that used for sentiment analysis #35

Open
louiswe989 opened this issue May 4, 2018 · 0 comments
Open

Get keyword that used for sentiment analysis #35

louiswe989 opened this issue May 4, 2018 · 0 comments

Comments

@louiswe989
Copy link

Hello, I would like to get the keyword that used for sentiment analysis after the categories and score is printed.
Something like:

String: This cake looks amazing
Dominant: positive, scores: Array
(
[positive] => 0.5 //keyword: amazing
[neutral] => 0.251
[negative] => 0.25
)

is there a way to do that?

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

1 participant