rmymemory-package: rmymemory: Provides machine translation from/to multiple...

Description Details Author(s) References See Also Examples

Description

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

Details

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
rmymemory-package       rmymemory: Provides machine translation from/to
                        multiple languages

Author(s)

Alexander Gedranovich <[email protected]>

Maintainer: Alexander Gedranovich <[email protected]>

References

http://mymemory.translated.net

See Also

translate

Examples

 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")

redmode/rmymemory documentation built on May 24, 2017, 10:41 p.m.