Learn R Programming

polyglotr (version 1.7.0)

apertium_get_language_pairs: 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")

Value

A list of language pairs. Each element contains sourceLanguage and targetLanguage.

Arguments

host

Host URL for the Apertium API (default is "https://apertium.org/apy").

Examples

Run this code
# \donttest{
pairs <- apertium_get_language_pairs()
head(pairs, 5)

# }

Run the code above in your browser using DataLab