Skip to main content

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

tracardi-language-detection-0.6.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracardi_language_detection-0.6.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file tracardi-language-detection-0.6.0.tar.gz.

File metadata

  • Download URL: tracardi-language-detection-0.6.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for tracardi-language-detection-0.6.0.tar.gz
Algorithm Hash digest
SHA256 226634cb970ccafc0d8ca5f28e6cc04664a84b21945c6cadd99a26bcc02bfafb
MD5 3c206a89d22a6c1da7d0d7fb26ecfc5f
BLAKE2b-256 dd98b382450beca38cc752aa7c9204929beb8a68da162f66961cd6327a0db974

See more details on using hashes here.

File details

Details for the file tracardi_language_detection-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: tracardi_language_detection-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for tracardi_language_detection-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b7047a93ffae58c80ba184f6e98b5c2c31613d59abd3b394deb46731f6a477e
MD5 0b43ae6b409ee0788ca26da31504eb0c
BLAKE2b-256 8c5e939de26be9acc01ea04ae7afe7bdb8442f80bd3f2eac65e274a55e3ad058

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page