language_detect: Detect Language using Google Translate API

View source: R/language_detect.R

language_detectR Documentation

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)

Arguments

text

The text for which the language needs to be detected.

Value

A character string representing the detected language.


polyglotr documentation built on Jan. 11, 2026, 9:06 a.m.