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
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.