Analyze the code below. Match each sentence with the sentiment score it would obtain in Stanza.
doc = nlp('I have read a new book. The plot was good. I did not like the characters.')
for sentence in doc.sentences:
print(sentence.sentiment)Analyze the code below. Match each sentence with the sentiment score it would obtain in Stanza.
doc = nlp('I have read a new book. The plot was good. I did not like the characters.')
for sentence in doc.sentences:
print(sentence.sentiment)Create a free account to access the full topic