create_transliteration_table {polyglotr} | R Documentation |
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)
Arguments
words |
A character vector containing the words to be transliterated. |
languages |
A character vector specifying the target languages for transliteration. |
Value
A data frame representing the transliteration table with original words and transliterations in each language.
Examples
words <- c("Hello world", "Goodbye", "Thank you", "Please")
languages <- c("ar", "he", "el", "ru", "fa")
transliterations <- create_transliteration_table(words, languages)
print(transliterations)
[Package polyglotr version 1.5.1 Index]