language_detect {polyglotr} | R Documentation |
This function detects the language of a given text using the Google Translate API.
language_detect(text)
text |
The text for which the language needs to be detected. |
A character string representing the detected language.