Learn R Programming

polyglotr (version 1.5.2)

create_transliteration_table: Create a Transliteration Table

Description

This function generates a transliteration table by transliterating a list of words into multiple languages.

Usage

create_transliteration_table(words, languages)

Value

A data frame representing the transliteration table with original words and transliterations in each language.

Arguments

words

A character vector containing the words to be transliterated.

languages

A character vector specifying the target languages for transliteration.

Examples

Run this code
if (FALSE) {
words <- c("Hello world", "Goodbye", "Thank you", "Please")
languages <- c("ar", "he", "el", "ru", "fa")
transliterations <- create_transliteration_table(words, languages)
print(transliterations)
}

Run the code above in your browser using DataLab