Skip to main content

Detect Language

Run in Postman

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


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


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

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