This plugin detect language from given string with meaningcloud API
Project description
Language detection Plugin
The purpose of this plugin is detect language from given string with meaningcloud API
Configuration
This node requires configuration. You need have an account in meaningcloud to get access to API.
Example
{
"source": {
"id": "<source-id>"
},
"message": "Hello world!",
"timeout": 10
}
- source.id - enter your resource id with access token, See below for resource schema.
- message - enter your message.
- timeout - response time-out.
Resource configuration
Example
{
"token": "<token>"
}
Please register to https://www.meaningcloud.com/developer/account/subscriptions to obtain token.
Use Api-Token resource template in GUI to create this kind of resource.
Input
This node does not process input payload.
Output
This node returns json with API response at response port if API call was successful.
Example of successful call
{
"status": 200,
"body": {
"deepTime": 0.04363226890563965,
"language_list": [
{
"iso-639-1": "en",
"iso-639-2": "eng",
"iso-639-3": "eng",
"language": "en",
"name": "English",
"relevance": 100
}
],
"status": {
"code": 0,
"msg": "OK",
"credits": 1,
"remainig_credits": 19964
},
"time": 0.04784107208251953
}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tracardi-language-detection-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226634cb970ccafc0d8ca5f28e6cc04664a84b21945c6cadd99a26bcc02bfafb |
|
MD5 | 3c206a89d22a6c1da7d0d7fb26ecfc5f |
|
BLAKE2b-256 | dd98b382450beca38cc752aa7c9204929beb8a68da162f66961cd6327a0db974 |
Close
Hashes for tracardi_language_detection-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b7047a93ffae58c80ba184f6e98b5c2c31613d59abd3b394deb46731f6a477e |
|
MD5 | 0b43ae6b409ee0788ca26da31504eb0c |
|
BLAKE2b-256 | 8c5e939de26be9acc01ea04ae7afe7bdb8442f80bd3f2eac65e274a55e3ad058 |