Renku Language Detection Engine Quick Start

This is a quick start to get you up and running with Renku Language Detection Engine fast and painless. To do this, we are going to launch Renku as a docker container. If you launched Renku from the AWS Marketplace you can skip installing Docker and jump down to the example commands.

First install Docker if you haven’t already. Once done, run the following commands to start Renku.

docker run -p 7070:7070 -it mtnfog/renku:1.0.0

Once Renku has started, open a console and run the following command:

curl http://localhost:7070/api/language -d "Can you please tell me what language this text is in?" -H "Content-Type: text/plain"

This sends a request to Renku to determine the language of the given text. If you launched Renku from the AWS Marketplace you will need to substitute localhost with the public IP address of the EC2 instance. The response from Renku will look like:


That’s it! The response tells us that the text is English.

The NLP Building Blocks Java SDK can be used to create NLP pipelines and to integrate Renku in your existing NLP pipeline.