nlpcloud 1.0.40 → 1.0.41
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.
- checksums.yaml +4 -4
- data/lib/nlpcloud.rb +0 -8
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad3fa1f41a3d6dfd09015947748ee6a717b3a192e17adaa4412680e7451bb9c8
|
4
|
+
data.tar.gz: 2e79604b8072dcdf6d326e7940a71a395ccb652951ca7cd25395a5d76b022d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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: []
|