From 611e5d250ea78dccf4ccc07dee385346c44a09cd Mon Sep 17 00:00:00 2001 From: zhunhung Date: Tue, 7 Apr 2020 20:46:30 +0800 Subject: [PATCH] Updated example for scale --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1aeccb9..0b0e808 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Example use (list of strings or pandas Series): >>> result = senti.getSentiment(str_arr, score='scale') >>> print(result) -... [0.25,-0.25] +... [1, -1] # OR, if you want dual scoring (a score each for positive rating and negative rating) >>> result = senti.getSentiment(str_arr, score='dual') >>> print(result)