Learn R Programming

polyglotr (version 1.5.2)

language_detect: Detect Language using Google Translate API

Description

This function detects the language of a given text using the Google Translate API.

Usage

language_detect(text)

Value

A character string representing the detected language.

Arguments

text

The text for which the language needs to be detected.