apertium_get_language_pairs {polyglotr} | R Documentation |
Get Apertium Language Pairs
Description
This function retrieves the supported language pairs from the Apertium API.
Usage
apertium_get_language_pairs(host = "https://apertium.org/apy")
Arguments
host |
Host URL for the Apertium API (default is "https://apertium.org/apy"). |
Value
A list of language pairs. Each element contains sourceLanguage and targetLanguage.
Examples
pairs <- apertium_get_language_pairs()
head(pairs, 5)
[Package polyglotr version 1.7.0 Index]