https://github.com/pkg6/go-aiyoudao
有道智云AI开放平台
https://github.com/pkg6/go-aiyoudao
Last synced: 3 months ago
JSON representation
有道智云AI开放平台
- Host: GitHub
- URL: https://github.com/pkg6/go-aiyoudao
- Owner: pkg6
- License: apache-2.0
- Created: 2023-08-02T08:15:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T05:05:51.000Z (about 1 year ago)
- Last Synced: 2025-01-09T11:41:17.786Z (5 months ago)
- Language: Go
- Homepage: https://ai.youdao.com/doc.s
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 有道智云AI开放平台
## 安装~~~
go get github.com/pkg6/go-aiyoudao
~~~## 基本使用
~~~
package mainimport (
"fmt"
"github.com/pkg6/go-aiyoudao"
)func main() {
youdao := aiyoudao.NewSingleton("appKey", "appSecret")
bfy, err := youdao.WBfy("你好", "zh-CHS", "en")
fmt.Println(err)
fmt.Println(bfy)
}
~~~## 功能列表
| 功能 | 方法 |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| [批量文本翻译](https://ai.youdao.com/DOCSIRMA/html/trans/api/plwbfy/index.html) | PLWBfy |
| [图片翻译](https://ai.youdao.com/DOCSIRMA/html/trans/api/tpfy/index.html) | TPFy,TPFyForReader,TPFyForFile |
| [文本翻译](https://ai.youdao.com/DOCSIRMA/html/trans/api/wbfy/index.html) | WBfy |
| [试卷手写体擦除](https://ai.youdao.com/DOCSIRMA/html/learn/api/sjsxtcc/index.html) | OcrWritingErase,OcrWritingEraseForReader,OcrWritingEraseForFile |
| [通用OCR](https://ai.youdao.com/DOCSIRMA/html/ocr/api/tyocr/index.html) | TYOcr,TYOcrForReader,TYOcrFile |
| [语音合成](https://ai.youdao.com/DOCSIRMA/html/tts/api/yyhc/index.html) | YYHC |