Returns the sentence subjectivity (objective/subjective) between 0.0 and 1.0.
(s, **kwargs)
| 191 | return sentiment(s, **kwargs)[0] |
| 192 | |
| 193 | def subjectivity(s, **kwargs): |
| 194 | """ Returns the sentence subjectivity (objective/subjective) between 0.0 and 1.0. |
| 195 | """ |
| 196 | return sentiment(s, **kwargs)[1] |
| 197 | |
| 198 | def positive(s, threshold=0.1, **kwargs): |
| 199 | """ Returns True if the given sentence has a positive sentiment. |
nothing calls this directly
no test coverage detected
searching dependent graphs…