Skip to main content

Detect Language

Open In Collab Run in Postman

In this article you will learn how to detect language of a given text using APIs or CLI commands.

Prerequisites

Make sure to follow Getting Started to login and install translation app. If you are using APIs, save your authorization token in a variable called AUTHORIZATION_TOKEN before moving ahead.

Detect

To detect language of a given text using the CLI, use the command mentioned below. Simply pass text in -t. Refer to the langauge from it's code using Langauge Support

neuralspace language-detection parse -t "TEXT TO DETECT LANGUAGE"