Solved

Consider the Following Code: in [18]: Blob

Question 3

Multiple Choice

Consider the following code: In [18]: blob
Out[18]: TextBlob("Today is a beautiful day. Tomorrow looks like bad weather.")
In [19]: blob.sentiment
Out[19]: Sentiment(polarity=0.07500000000000007,
Subjectivity=0.8333333333333333)
Which of the following statements is false?


A) A TextBlob's sentiment property returns a Sentiment object indicating whether the text is xe "positive sentiment"positive or xe "negative sentiment"negative and whether it's objective or subjective.
B) The xe "Sentiment named tuple:polarity"xe "polarity of Sentiment named tuple"polarity indicates xe "sentiment"sentiment with a value from -1.0 (negative) to 1.0 (positive) with 0.0 being neutral.
C) The xe "Sentiment named tuple:subjectivity"xe "subjectivity of Sentiment named tuple"subjectivity is a value from 0.0 (objective) to 1.0 (subjective) .
D) Based on the values for this TextBlob, the overall sentiment is close to xe "neutral sentiment"neutral, and the text is mostly objective.

Correct Answer:

verifed

Verified

Related Questions