The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
ecce offers some functions which translate English sentence into
Chinese, or translate Chinese sentence into English. Learn more in
vignette("ecce")
or help(package = "ecce")
.
You can visit https://cxy.cc/rproj/ecce/ for the latest
information.
# Install development version from GitLab
::install_gitlab("chuxinyuan/ecce")
remotes# Install from CRAN
install.packages("ecce")
To use the ecce package, user need to first register with the Youdao Wisdom Cloud AI open platform, and then open the text translation application. Then put your Youdao API ID and PASSWORD in the following code and run it once.
cat(
'\n# ID and PASSWORD of Youdao Translation',
'app_key = "Your Youdao API ID"',
'app_secret = "Your Youdao API PASSWORD"',
file = '~/.Renviron', sep = '\n', append = TRUE
)
Get started with pass a Chinese or English sentence into the translation function. In addition, also support obtain the pinyin of the Chinese character, so that you can more easily understand the pronunciation of the Chinese character.
# Example-1
translate("我喜欢中国")
# Example-2
translate("I like China")
# Example-3
translate_view("我喜欢中国")
# Example-4
translate_view("I like China")
# Example-5
pinyin("时间序列模型")
ecce is free and open source software, licensed under MIT + file LICENSE.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.