From d58e3d9ec0c5aff273e27c6ad8041facc3cd31a5 Mon Sep 17 00:00:00 2001 From: Yong Zhun Hung Date: Sat, 9 Nov 2019 10:50:46 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c1ca44..6f00c2a 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Example use (list of strings or pandas Series): ... [(2, -1), (1, -2)] # OR, if you want binary scoring (1 for positive sentence, -1 for negative sentence) ->>> result = senti.getSentiment(str_arr, score='dual') +>>> result = senti.getSentiment(str_arr, score='binary') >>> print(result) ... [1, -1]