Comparing version 1.0.39 to 1.0.40
@@ -24,3 +24,3 @@ export = Client; | ||
}>; | ||
asr(url?: string, encodedFile?: string): Promise<{ | ||
asr(url?: string, encodedFile?: string, inputLanguage?: string): Promise<{ | ||
status: number; | ||
@@ -27,0 +27,0 @@ statusText: string; |
@@ -51,6 +51,7 @@ const axios = require('axios') | ||
asr(url = null, encodedFile= null) { | ||
asr(url = null, encodedFile = null, inputLanguage = null) { | ||
const payload = { | ||
'url': url, | ||
'encoded_file': encodedFile | ||
'encoded_file': encodedFile, | ||
'input_language': inputLanguage | ||
}; | ||
@@ -57,0 +58,0 @@ |
{ | ||
"name": "nlpcloud", | ||
"version": "1.0.39", | ||
"version": "1.0.40", | ||
"description": "NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, text generation, image generation, blog post generation, code generation, question answering, automatic speech recognition, machine translation, language detection, semantic search, semantic similarity, tokenization, POS tagging, embeddings, and dependency parsing. It is ready for production, served through a REST API.\n\nThis is the Node.js client for the NLP Cloud API.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34419
494