Description Details Author(s) References See Also Examples
rmymemory uses <http://mymemory.translated.net> translation API to provide simple interface to this service
Package: | rmymemory |
Type: | Package |
Version: | 0.0.2 |
Date: | 2013-12-10 |
License: | MIT |
Depends: | R (>= 3.0.0), RCurl, RJSONIO |
Built: | R 3.0.2; ; 2013-12-10 19:27:08 UTC; unix |
Index:
1 2 |
Alexander Gedranovich <gedranovich@gmail.com>
Maintainer: Alexander Gedranovich <gedranovich@gmail.com>
http://mymemory.translated.net
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Default translation from English to Russian
translate("Hello")
# Translation from English to German
translate("Hello", to="de")
# Translation from German to Spanish
translate("Hallo", from="de", to="es")
# Sentence translation
translate("To be or not to be?")
# Batch translation
txt <- c("Hello", "world", "To be or not to be?")
sapply(txt, translate, to="es")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.