paralleldots 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1602685466929704b6c8cd10ef8902b39429889c
4
- data.tar.gz: f9f1cf3c5c97a1a6fd8aa471b2b28b6ef9410d39
3
+ metadata.gz: c8f7634cb8e108fc94b4af13488080ed1dcfacd3
4
+ data.tar.gz: fc6115ac944407a8bb11cfaf4f7eaf3256664955
5
5
  SHA512:
6
- metadata.gz: daae5173f10a8064e3f596dc017aa6bb1327dc86366b95525511b0623ed3e02f6dc75c18b50f6e531bfabf9a265b918d80a90d4cc079f9108825240454eaf513
7
- data.tar.gz: c7cc85a015bd1b69fc664ac8eb0377f8b02c916a732f50ec564c08904afe20594a1e444d6faf3a74cc02df176967b3a36cc8e7dc996e0bd4ef5b9c0ca2c5b25b
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,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paralleldots
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meghdeep Ray