View source: R/wikimedia_detect_language.R
wikimedia_detect_language | R Documentation |
This function sends a POST request to the Wikimedia Language ID API with the specified text, parses the JSON response, and returns the detected language.
wikimedia_detect_language(text)
text |
The text whose language is to be detected. |
The detected language.
# Detect the language of a text
wikimedia_detect_language("Hallo, wereld")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.