Skip to content

redmode/rmymemory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

'rmymemory' package uses http://mymemory.translated.net translation API to provide simple interface to this service

Run to install:

install.packages("devtools")
library(devtools)
install_github("rmymemory", "redmode")

Usage:

# Translation from English to French
translate("Hello!", from="en", to="fr")

# Default translation from English to Russian
translate("To be or not to be?")

# Change translate pair to 'English'->'Spanish'
setpair("en", "es")
translate("To be or not to be?")

# Batch translation
txt <- c("Hello", "world", "To be or not to be?")
sapply(txt, translate, to="de")

About

rmymemory package repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages