Updated example for scale

This commit is contained in:
zhunhung
2020-04-07 20:46:30 +08:00
parent f8e8adff48
commit 611e5d250e
+1 -1
View File
@@ -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)