Package: polyglotr 1.7.4

polyglotr: Translate Text

Provide easy methods to translate pieces of text. Functions send requests to translation services online.

Authors:Tomer Iwan [aut, cre, cph]

polyglotr_1.7.4.tar.gz
polyglotr_1.7.4.zip(r-4.7)polyglotr_1.7.4.zip(r-4.6)polyglotr_1.7.4.zip(r-4.5)
polyglotr_1.7.4.tgz(r-4.6-any)polyglotr_1.7.4.tgz(r-4.5-any)
polyglotr_1.7.4.tar.gz(r-4.7-any)polyglotr_1.7.4.tar.gz(r-4.6-any)
polyglotr_1.7.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
polyglotr/json (API)

# Install 'polyglotr' in R:
install.packages('polyglotr', repos = c('https://tomeriko96.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tomeriko96/polyglotr/issues

Pkgdown/docs site:https://tomeriko96.github.io

Datasets:

On CRAN:

Conda:

google-translategoogletranslatelanguagelingueemymemory-apimymemorytranslatorponstranslationtranslations-api

8.78 score 45 stars 1 packages 75 scripts 849 downloads 25 exports 33 dependencies

Last updated from:6c3fbcfca7. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK191
source / vignettesOK215
linux-release-x86_64OK155
macos-release-arm64OK150
macos-oldrel-arm64OK147
windows-develOK83
windows-releaseOK82
windows-oldrelOK85
wasm-releaseOK156

Exports:%>%apertium_get_language_pairsapertium_translatecreate_translation_tablecreate_transliteration_tablegoogle_get_supported_languagesgoogle_is_valid_language_codegoogle_translategoogle_translate_long_textgoogle_transliteratelanguage_detectlaunch_polyglotr_appmicrosoft_supported_languagesmymemory_translatepons_dictionariespons_translateqcri_get_domainsqcri_get_language_pairsqcri_translate_texttranslate_filetranslate_to_morsetranslate_to_morse_audiowikimedia_detect_languagewikipedia_get_language_nameswmcloud_translate

Dependencies:askpassbitopsclicurldplyrgenericsgluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigpurrrR6RcppRCurlrlangrvestselectrstringistringrsystibbletidyselecttriebeardurltoolsutf8vctrswithrxml2

Language Detection and Conditional Translation
Overview | Basic Language Detection | Conditional Translation Function | Working with Tibbles and Mixed-Language Data | Advanced Tidyverse Integration | Batch Processing with Language Filtering | Best Practices | Conclusion

Last update: 2025-07-23
Started: 2025-07-23

Translation Table Workflow
Overview | Basic Usage | Multiple API Comparison | Advanced Multilingual Workflow | Working with Tibbles and Tidyverse | Export Options | Best Practices | Conclusion

Last update: 2025-07-23
Started: 2025-07-23

Apertium Translation with polyglotr
Introduction to Apertium Translation | What is Apertium? | Basic Usage | Checking Available Language Pairs | Translating Multiple Texts | Custom Host Configuration | Error Handling | Comparison with Other Services | Best Practices | Conclusion

Last update: 2025-07-21
Started: 2025-07-21

Introduction to polyglotr
Introduction | Installation | Basic usage | Translating Text | Translating Files

Last update: 2024-08-23
Started: 2022-09-15

Translation of Movie Reviews
Introduction | Installation | Translating Movie Reviews | Results

Last update: 2024-08-23
Started: 2023-06-16

Readme and manuals

Help Manual

Help pageTopics
Get Apertium Language Pairsapertium_get_language_pairs
Translate text using Apertiumapertium_translate
Batch Translation Functionbatch_translate
Create a Translation Tablecreate_translation_table
Create a Transliteration Tablecreate_transliteration_table
Get Supported Languagesgoogle_get_supported_languages
Check if a language code is validgoogle_is_valid_language_code
Google Supported Languagesgoogle_supported_languages
Translate text using Google Translategoogle_translate
Translate Long Text Using Google Translategoogle_translate_long_text
Transliterate a single word or a sentence to the required language.google_transliterate
Detect Language using Google Translate APIlanguage_detect
Launch polyglotr Shiny Applaunch_polyglotr_app
Get the set of languages currently supported by the Microsoft Translator APImicrosoft_supported_languages
Translate text using mymemory translatemymemory_translate
Get the list of available dictionaries from PONS APIpons_dictionaries
Translate text using PONSpons_translate
Get the QCRI API key from the environment variableqcri_api_key
QCRI Get Domainsqcri_get_domains
QCRI Get Language Pairsqcri_get_language_pairs
QCRI Translate Textqcri_translate_text
Replace URLs in a sentence with placeholdersreplace_urls_with_placeholders
Restore URLs from placeholders in a translated textrestore_urls_from_placeholders
Translate Filetranslate_file
Translate Text to Morse Code using the FunTranslations APItranslate_to_morse
Translate English Text to Morse Code with Audiotranslate_to_morse_audio
Detect the language of a textwikimedia_detect_language
Get language nameswikipedia_get_language_names
Translate content using WMCloudwmcloud_translate