Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tracardi-language-detection

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tracardi-language-detection

This plugin detect language from given string with meaningcloud API

  • 0.6.0
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc