Skip to main content

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
  }
}

Metadata

Release files for tracardi-language-detection 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tracardi-language-detection 0.6.0
File Size Uploaded
tracardi-language-detection-0.6.0.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tracardi-language-detection 0.6.0
File Interpreter ABI Platform
tracardi_language_detection-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / tracardi-language-detection-0.6.0.tar.gz

Download URL tracardi-language-detection-0.6.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
226634cb970ccafc0d8ca5f28e6cc04664a84b21945c6cadd99a26bcc02bfafb
BLAKE2b-256 checksum
How to use checksums
dd98b382450beca38cc752aa7c9204929beb8a68da162f66961cd6327a0db974
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / tracardi_language_detection-0.6.0-py3-none-any.whl

Download URL tracardi_language_detection-0.6.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b7047a93ffae58c80ba184f6e98b5c2c31613d59abd3b394deb46731f6a477e
BLAKE2b-256 checksum
How to use checksums
8c5e939de26be9acc01ea04ae7afe7bdb8442f80bd3f2eac65e274a55e3ad058
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page