You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am planning to use python wrapper for corenlp for sentiment analysis in my lectures. Can someone please point me to some right documentation? It is a bit urgent. Thanks in advance
The text was updated successfully, but these errors were encountered:
from pycorenlp import StanfordCoreNLP
nlp = StanfordCoreNLP('http://localhost:9000')
sentence = nlp.annotate("I'm so happy that CoreNLP has sentiment", properties={
'annotators': 'sentiment',
'outputFormat': 'json',
'timeout': 1000,
})
for s in sentence["sentences"]:
print(s['sentimentDistribution'])
print(s["sentiment"])
Hi I am planning to use python wrapper for corenlp for sentiment analysis in my lectures. Can someone please point me to some right documentation? It is a bit urgent. Thanks in advance
The text was updated successfully, but these errors were encountered: