nlpcloud 1.0.40 → 1.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nlpcloud.rb +0 -8
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64685ed4b295b167ab3c6fc9a9e58457fc977de7ff9aa139058fff708f640b32
4
- data.tar.gz: 403f83f4bf769784f9bc24efc666fc207716064547e66e0262eb5d0995c7a4bd
3
+ metadata.gz: ad3fa1f41a3d6dfd09015947748ee6a717b3a192e17adaa4412680e7451bb9c8
4
+ data.tar.gz: 2e79604b8072dcdf6d326e7940a71a395ccb652951ca7cd25395a5d76b022d58
5
5
  SHA512:
6
- metadata.gz: ad01d8ff341c56a4c47fa061c0385f5ad3c585693bffceb8c30b8a9faeb928e6759d0948d4da68516dcd9a7ef03a09a2d698015eb1efe1bc6c1512be53347a5f
7
- data.tar.gz: de1007facb5017657422c44aa20cd2cc57588e5ae448a53eb22430fce1bdeb10fd256773427f67f08d8c41906e91128438cbc566ce1e18bf24c2f69e50940b1c
6
+ metadata.gz: 4e809b7d56cb1d3c8320dc6e68057ea5e75e0c0edcf0406c2957cd28f629b0df0290b8c3a81a47d9d4aabab83fd85e0714ecaef75d52baf69e9d8824acde768e
7
+ data.tar.gz: 593ba9be24ffac31aebe0dc4410b9a9734c7a2590aa29b6704476e23e815715e0e02a99ce92eb462b5f48534060d5b5de5e28d5b2c06487d925bb70f293d8cd9
data/lib/nlpcloud.rb CHANGED
@@ -46,14 +46,6 @@ module NLPCloud
46
46
  JSON.parse(response.body)
47
47
  end
48
48
 
49
- def article_generation(title)
50
- payload = {
51
- 'title' => title
52
- }
53
- response = RestClient.post("#{@root_url}/article-generation", payload.to_json, @headers)
54
- JSON.parse(response.body)
55
- end
56
-
57
49
  def asr(url: nil, encoded_file: nil, input_language: nil)
58
50
  payload = {
59
51
  'url' => url,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nlpcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.40
4
+ version: 1.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Salinas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -28,11 +28,11 @@ description: 'NLP Cloud serves high performance pre-trained or custom models for
28
28
  sentiment-analysis, classification, summarization, paraphrasing, grammar and spelling
29
29
  correction, keywords and keyphrases extraction, chatbot, product description and
30
30
  ad generation, intent classification, text generation, image generation, code generation,
31
- blog post generation, question answering, automatic speech recognition, machine
32
- translation, language detection, semantic search, semantic similarity, speech synthesis,
33
- tokenization, POS tagging, embeddings, and dependency parsing. It is ready for production,
34
- served through a REST API. This is the Ruby client for the API. More details here:
35
- https://nlpcloud.io. Documentation: https://docs.nlpcloud.io.'
31
+ question answering, automatic speech recognition, machine translation, language
32
+ detection, semantic search, semantic similarity, speech synthesis, tokenization,
33
+ POS tagging, embeddings, and dependency parsing. It is ready for production, served
34
+ through a REST API. This is the Ruby client for the API. More details here: https://nlpcloud.io.
35
+ Documentation: https://docs.nlpcloud.io.'
36
36
  email: all@juliensalinas.com
37
37
  executables: []
38
38
  extensions: []