paralleldots 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8f7634cb8e108fc94b4af13488080ed1dcfacd3
|
4
|
+
data.tar.gz: fc6115ac944407a8bb11cfaf4f7eaf3256664955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53d74e5b9e6db81fb4e27d505da7f84d22db85ca7a30526a8ddca6d34f6fb17ac427a00d4824d5b0d0018967463de0e1c5f9495636c36da397487262fa48ed27
|
7
|
+
data.tar.gz: 2ebf38371c462d4eb5656a09ea915136400529ffcb1685ef629afdf47888da7bbcd9d1ccb3f3bbe8990e524c2e14b7e97243075bd5b34422cb62b3e7468ff91f
|
data/README.md
CHANGED
@@ -44,6 +44,7 @@ Supported APIs:
|
|
44
44
|
- Chinese ( cn )
|
45
45
|
- Spanish ( sp )
|
46
46
|
- Sentiment Social
|
47
|
+
- Custom Classifier
|
47
48
|
- Usage
|
48
49
|
|
49
50
|
Examples
|
@@ -111,6 +112,10 @@ Examples
|
|
111
112
|
> sentiment_social("I left my camera at home")
|
112
113
|
{"probabilities"=>{"positive"=>0.040374, "neutral"=>0.491032, "negative"=>0.468594}, "sentiment"=>"neutral"}
|
113
114
|
|
115
|
+
> custom_classifier( TEXT, ID )
|
116
|
+
Get your custom classifier id by loggin to your [dashboard](https://user.apis.paralleldots.com/login) and publishing your categories.
|
117
|
+
{ "taxonomy": [ { "tag": tag1, "confidence_score": score1 }, { "tag": tag2, "confidence_score": score2 }, ... ] }
|
118
|
+
|
114
119
|
> usage()
|
115
120
|
{
|
116
121
|
"emotion": 100,
|