From 3c8585fe45a2e6eac032537d03b8e559b9e4535a Mon Sep 17 00:00:00 2001 From: Yeddu Dinesh Babu Date: Tue, 26 Mar 2019 15:15:10 +0530 Subject: [PATCH] Update README.rst I guess limits of compound values to categorize positive, negative and neutral should be like ``compound`` score >=0.5, (``compound`` score < 0.5 and ``compound`` score > -0.5) and ``compound`` score <=-0.5. I don't find proper result with above mentioned limits could you please check on that. --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index f7fe82a..855ff67 100644 --- a/README.rst +++ b/README.rst @@ -235,9 +235,9 @@ About the Scoring It is also useful for researchers who would like to set standardized thresholds for classifying sentences as either positive, neutral, or negative. Typical threshold values (used in the literature cited on this page) are: - #. **positive sentiment**: ``compound`` score >= 0.05 - #. **neutral sentiment**: (``compound`` score > -0.05) and (``compound`` score < 0.05) - #. **negative sentiment**: ``compound`` score <= -0.05 + #. **positive sentiment**: ``compound`` score >= 0.5 + #. **neutral sentiment**: (``compound`` score > -0.5) and (``compound`` score < 0.5) + #. **negative sentiment**: ``compound`` score <= -0.5 * The ``pos``, ``neu``, and ``neg`` scores are ratios for proportions of text that fall in each category (so these should all add up to be 1... or close to it with float operation). These are the most useful metrics if you want multidimensional measures of sentiment for a given sentence.