Introduction to languagelayeR

Colin FAY

2018-01-05

languagelayerR

This package is designed to detect a language from a character string in R by acessing the languagelayer API — https://languagelayer.com/

Language layer API

This package offers a language detection tool by connecting to the languagelayer API, a JSON interface designed to extract language information from a character string.

Install languagelayerR

Install this package directly in R :

From CRAN :

From Github :

How languagelayeR works

The version 1.1.0 works with two functions. Which are :
pkgdown::build_site(path = “inst/”)

First of all

Before any request on the languagelayer, you need to get your API key from your language layer dashboard.

Examples

getLanguage

Detect a language from a character string.

getSupportedLanguage

List all the languages available on the languagelayer API.

Contact

Questions and feedbacks welcome!