Update README.md

This commit is contained in:
Yong Zhun Hung
2019-11-09 10:50:46 +08:00
committed by GitHub
parent cdf0afe6d9
commit d58e3d9ec0
+1 -1
View File
@@ -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]