query and topic about sentiment140

55 views
Skip to first unread message

sunday...@gmail.com

unread,
Feb 1, 2018, 4:30:09 PM2/1/18
to Sentiment140
Hi,
For the query and topic keys in the data dictionary, can use multiple words as the values for key query and key topic?
For example, {"data": [{"text": "I love Titanic and  Leonardo.", "query": "Titanic  Leonardo", "topic": "movies actor"}]}
Thanks.

Alec Go

unread,
Feb 2, 2018, 12:35:34 AM2/2/18
to sentim...@googlegroups.com
Hi,

The query parameter simply removes the string from the text before analysis. So, for the text "I love Titanic and  Leonardo" you should use the query "Titanic and  Leonardo".

For topics, only "movies" is supported right now.

Thanks,
Alec

--
You received this message because you are subscribed to the Google Groups "Sentiment140" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sentiment140...@googlegroups.com.
To post to this group, send email to sentim...@googlegroups.com.
Visit this group at https://groups.google.com/group/sentiment140.
For more options, visit https://groups.google.com/d/optout.

sunday...@gmail.com

unread,
Feb 2, 2018, 10:53:47 AM2/2/18
to Sentiment140
Thank you.
Reply all
Reply to author
Forward
0 new messages