R Interface to Yandex Translate API

'Yandex Translate' ( https://translate.yandex.com/) is a statistical machine translation system. The system translates separate words, complete texts, and webpages. This package can be used to detect language from text and to translate it to supported target language. For more info: https://tech.yandex.com/translate/doc/dg/concepts/About-docpage/ .


R package to translate text using Yandex Translate API.

Installation

To install RYandexTranslate package:

library(devtools)
install_github("mukul13/RYandexTranslate")

To get free API key, sign up here

Examples

To list all functions supported by RYandexTranslate package

library(RYandexTranslate)
ls("package:RYandexTranslate")

To get a list of translation directions supported by the service

api_key="YOUR API KEY"
directions=get_translation_direction(api_key)

To detect the language of the specified text

data=detect_language(api_key,text="आप कैसे है?")

To translate text to the specified language

data=translate(api_key,text="how are you?",lang="en-hi"  )

Resources

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RYandexTranslate")

1.0 by Mukul Chaware, 5 years ago


https://github.com/mukul13/RYandexTranslate


Browse source code at https://github.com/cran/RYandexTranslate


Authors: Mukul Chaware[aut,cre]


Documentation:   PDF Manual  


Task views: Web Technologies and Services


MIT + file LICENSE license


Imports httr, RCurl, jsonlite


See at CRAN