Learn R Programming

RYandexTranslate (version 1.0)

detect_language: Detects the language of the specified text.

Description

Detects the language of the specified text.

Usage

detect_language(api_key, text = "")

Arguments

api_key
yandex API key
text
The text to detect the language for

Value

  • data frame giving detected language

Examples

Run this code
data=detect_language(api_key,text="how are you?")

Run the code above in your browser using DataLab