Package RYoudaoTranslate

Similar documents
Package wethepeople. March 3, 2013

Package ecoseries. R topics documented: September 27, 2017

Package scraep. November 15, Index 6

Package scraep. July 3, Index 6

Package imgur. R topics documented: December 20, Type Package. Title Share plots using the imgur.com image hosting service. Version 0.1.

Package Ohmage. R topics documented: February 19, 2015

Package SEMrushR. November 3, 2018

Package Storm. February 19, 2015

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package aws.transcribe

Package datasets.load

Package eulerian. February 19, Index 5

Package assortnet. January 18, 2016

Package gsalib. R topics documented: February 20, Type Package. Title Utility Functions For GATK. Version 2.1.

Package SPIn. R topics documented: February 19, Type Package

Package dkdna. June 1, Description Compute diffusion kernels on DNA polymorphisms, including SNP and bi-allelic genotypes.

Package sqliter. August 29, 2016

Package rwars. January 14, 2017

Package gpdtest. February 19, 2015

Package kirby21.base

Package RAdwords. October 2, 2017

Package ECctmc. May 1, 2018

Package gmapsdistance

Package CvM2SL2Test. February 15, 2013

Package tm.plugin.lexisnexis

Package flsa. February 19, 2015

Package calpassapi. August 25, 2018

Package PxWebApiData

Package rngsetseed. February 20, 2015

Package goodpractice

Package FrF2.catlg128

Package svkomodo. R topics documented: February 20, Type Package Version Date

Package gtrendsr. October 19, 2017

Package FastKNN. February 19, 2015

Package mdftracks. February 6, 2017

Package rgho. R topics documented: January 18, 2017

Package curry. September 28, 2016

Package sessioninfo. June 21, 2017

Package helsinki. February 18, 2017

Package regexselect. R topics documented: September 22, Version Date Title Regular Expressions in 'shiny' Select Lists

Package gibbs.met. February 19, 2015

Package condusco. November 8, 2017

Package qap. February 27, Index 5. Solve Quadratic Assignment Problems (QAP)

Package CatEncoders. March 8, 2017

Package PubMedWordcloud

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package DataClean. August 29, 2016

Package fastdummies. January 8, 2018

Package ArrayBin. February 19, 2015

Package gridgraphics

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package corenlp. June 3, 2015

Package GAR. September 18, 2015

Package algorithmia. September 13, 2016

Package genelistpie. February 19, 2015

Package cgh. R topics documented: February 19, 2015

Package MicroStrategyR

Package oec. R topics documented: May 11, Type Package

Package bisect. April 16, 2018

Package geoplot. February 15, 2013

Package RMongo. R topics documented: March 8, Type Package. Title MongoDB Client for R. Version Date Author Tommy Chheng

Package repec. August 31, 2018

Package httpcache. October 17, 2017

Package AnDE. R topics documented: February 19, 2015

Package synchronicity

Package Tushare. November 2, 2018

Package deductive. June 2, 2017

Package JGR. September 24, 2017

Package strat. November 23, 2016

Package plusser. R topics documented: August 29, Date Version Title A Google+ Interface for R

Package tm.plugin.factiva

Package rpst. June 6, 2017

Package TrafficBDE. March 1, 2018

Package jstree. October 24, 2017

Package reportr. October 6, 2016

Package internetarchive

Package desirability

Package jmetrik. March 15, 2015

Package reval. May 26, 2015

Package spark. July 21, 2017

Package WordR. September 7, 2017

Package ms.sev. R topics documented: December 21, Type Package

Package opencage. January 16, 2018

Package blockmatrix. February 19, 2015

Package ctv. October 8, 2017

Package showtextdb. R topics documented: September 11, 2017

Package messaging. May 27, 2018

Package sfc. August 29, 2016

Package smoother. April 16, 2015

Package imdbapi. April 24, 2018

Package hsiccca. February 20, 2015

Package tmpm. February 29, 2016

Package NetCluster. R topics documented: February 19, Type Package Version 0.2 Date Title Clustering for networks

Package wrswor. R topics documented: February 2, Type Package

Package Rserve. R topics documented: February 19, Version Title Binary R server

Package AWR.Kinesis. February 26, 2017

Package intcensroc. May 2, 2018

Package gtrendsr. August 4, 2018

Package promote. November 15, 2017

Package readmzxmldata

Transcription:

Package RYoudaoTranslate February 19, 2015 Type Package Title R package provide functions to translate English s into Chinese. Version 1.0 Date 2014-02-23 Author Maintainer <KeHao.Wu@gmail.com> You can use this package to translate thousands of s. The Youdao translation open API is applied in this package. But, it just translates less than 1000 English s into Chinese. License GPL (>= 2) Depends RCurl, rjson NeedsCompilation no Repository CRAN Date/Publication 2014-02-24 14:06:06 R topics documented: RYoudaoTranslate-package................................. 2 youdaodisplay....................................... 2 youdaolookup....................................... 3 youdaotranslate....................................... 4 youdaourl.......................................... 5 Index 6 1

2 youdaodisplay RYoudaoTranslate-package R package provide functions to translate English s into Chinese. Details This package provides interface to Youdao translation open API for R user. Users can translate thousands of s as soon as possible. It is worth to mention that you could only translate 1000 English s per day into Chinese for Youdao open api privacy. Package: RYoudaoTranslate Type: Package Version: 1.0 Date: 2014-02-23 License: GPL(>= 2) This package make it easy to look up thousands of s. It contains four functions: youdaourl, youdaotranslate,youdaodisplay and youdaolookup Maintainer: <KeHao.Wu@gmail.com> youdaolookup("youdao",api=apikey,keyfrom=keyfrom) youdaodisplay Display query result. This display query result. youdaodisplay(youdaoobj, )

youdaolookup 3 youdaoobj A list returned from Youdao Translate. Value Return a character. = "youdao" Obj = youdaotranslate(,api=apikey,keyfrom=keyfrom) youdaodisplay(obj,) youdaolookup The most important function in this package. You can use your, API key and keyfrom in this function to get query result directly. That is to say, other functions are included in this function. youdaolookup(, api, keyfrom) api keyfrom A Youdao API key. You can get it from http://fanyi.youdao.com/openapi. A Youdao keyfrom. You can get it from http://fanyi.youdao.com/openapi.

4 youdaotranslate = c("youdao", "China", "Homo Sapiens") for( i in ) { Res = youdaolookup(i,api=apikey,keyfrom=keyfrom) print(res) } youdaotranslate Get result from youdao This function return a result from youdao translation using url privided by youdaourl function. youdaotranslate(, api, keyfrom) api keyfrom A Youdao API key. You can get it from http://fanyi.youdao.com/openapi. A Youdao keyfrom. You can get it from http://fanyi.youdao.com/openapi. Details All of three arguments are needed. This function will call youdaourl using geturl from RCurl package. The result is processed by fromjson from rjson package. Value A list will be returned. References http://fanyi.youdao.com/openapi?path=data-mode http://www.youdao.com/help/fanyiapi/privacy/

youdaourl 5 = "youdao" Obj = youdaotranslate(,api=apikey,keyfrom=keyfrom) youdaourl Return a url to get qurey result from Youdao. Youdao open API key and keyfrom should be provided. youdaourl(, api, keyfrom) api keyfrom A Youdao API key. You can get it from http://fanyi.youdao.com/openapi. A Youdao keyfrom. You can get it from http://fanyi.youdao.com/openapi. Details Value All of three arguments are needed. The API key and keyfrom could be get from http://fanyi.youdao.com/openapi?path=datamode. If the vocabulary is consist of two s, the space between two s will be converted to a "+". Return a url link. References http://fanyi.youdao.com/openapi?path=data-mode http://www.youdao.com/help/fanyiapi/privacy/ Url = youdaourl(="youdao",api=apikey,keyfrom=keyfrom)

Index Topic Youdao RYoudaoTranslate-package, 2 youdaodisplay, 2 youdaolookup, 3 youdaotranslate, 4 youdaourl, 5 RYoudaoTranslate (RYoudaoTranslate-package), 2 RYoudaoTranslate-package, 2 youdaodisplay, 2, 2 youdaolookup, 2, 3 youdaotranslate, 2, 4 youdaourl, 2, 5 6