tencentcloud-sdk-nodejs-tmt 4.0.1027 → 4.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -27
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/tmt/index.js +4 -0
- package/es/services/tmt/v20180321/index.js +6 -0
- package/es/services/tmt/v20180321/tmt_client.js +30 -0
- package/es/services/tmt/v20180321/tmt_models.js +0 -0
- package/package.json +26 -8
- package/tencentcloud/services/tmt/v20180321/index.js +2 -1
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +12 -3
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +16 -4
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +383 -257
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/tmt/index.ts +0 -5
- package/src/services/tmt/v20180321/index.ts +0 -6
- package/src/services/tmt/v20180321/tmt_client.ts +0 -126
- package/src/services/tmt/v20180321/tmt_models.ts +0 -594
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
package/README.md
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
# 简介
|
|
2
2
|
|
|
3
|
-
欢迎使用腾讯云开发者工具套件(SDK),
|
|
4
|
-
为方便
|
|
3
|
+
欢迎使用腾讯云开发者工具套件(SDK),Node.js SDK 4.0 是云 API 3.0 平台的配套工具。
|
|
4
|
+
为方便 Node.js 开发者调试和接入腾讯云产品 API,这里向您介绍适用于 Node.js 的腾讯云开发工具包,并提供首次使用开发工具包的简单示例。让您快速获取腾讯云 Node.js SDK 并开始调用。
|
|
5
5
|
|
|
6
6
|
# 依赖环境
|
|
7
7
|
|
|
8
|
-
1.
|
|
9
|
-
2.
|
|
10
|
-
3. 获取 SecretID、SecretKey 以及调用地址(endpoint),endpoint 一般形式为\*.tencentcloudapi.com,如 CVM 的调用地址为 cvm.tencentcloudapi.com,具体参考各产品说明。
|
|
8
|
+
1. Node.js 10.0.0 版本及以上。
|
|
9
|
+
2. 注意:部分产品需在 [腾讯云控制台](https://console.cloud.tencent.com/) 开通服务后才能使用。
|
|
11
10
|
|
|
12
11
|
# 获取安装
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
使用 SDK 需要 API 密钥,可前往 [腾讯云控制台 - 访问密钥](https://console.cloud.tencent.com/cam/capi) 页面申请,API 密钥包括 SecretID 和 SecretKey,密钥须严格保管,避免泄露。
|
|
15
14
|
|
|
16
|
-
## 通过
|
|
15
|
+
## 通过 npm 安装
|
|
17
16
|
|
|
18
|
-
通过
|
|
17
|
+
通过 npm 获取安装是使用 Node.js SDK 的推荐方法,关于 npm 详细可参考 [NPM 官网](https://www.npmjs.com/) 。
|
|
19
18
|
|
|
20
19
|
### 安装指定产品 SDK(推荐)
|
|
21
20
|
|
|
@@ -45,21 +44,45 @@ npm install tencentcloud-sdk-nodejs-vpc --save
|
|
|
45
44
|
|
|
46
45
|
### 安装全产品 SDK
|
|
47
46
|
|
|
47
|
+
如果项目依赖的云产品较多,可以引入全产品 SDK。
|
|
48
|
+
|
|
48
49
|
```
|
|
49
50
|
npm install tencentcloud-sdk-nodejs --save
|
|
50
51
|
```
|
|
51
52
|
|
|
52
|
-
全产品 SDK
|
|
53
|
+
全产品 SDK 包含所有云产品调用代码和 TypeScript 类型文件,体积偏大。对于体积敏感的场景,推荐安装指定产品 SDK。
|
|
54
|
+
|
|
55
|
+
如果既希望全产品调用,又对包体积比较敏感,可以使用 Slim 版本 SDK。Slim SDK 移除类型文件,并进行了代码压缩,适合体积敏感场景使用:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
npm install tencentcloud-sdk-slim-nodejs --save
|
|
59
|
+
```
|
|
53
60
|
|
|
54
61
|
## 通过源码包安装
|
|
55
62
|
|
|
56
|
-
1.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
1. clone 代码到本地:
|
|
64
|
+
```
|
|
65
|
+
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
66
|
+
# 或者
|
|
67
|
+
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
68
|
+
```
|
|
69
|
+
2. 在项目根目录执行以下命令完成构建:
|
|
70
|
+
```
|
|
71
|
+
npm install && npm run build
|
|
72
|
+
```
|
|
73
|
+
3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
|
|
74
|
+
```
|
|
75
|
+
npm pack
|
|
76
|
+
```
|
|
77
|
+
4. 安装包到你的项目里:
|
|
78
|
+
```
|
|
79
|
+
npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
|
|
80
|
+
```
|
|
60
81
|
|
|
61
82
|
# 示例
|
|
62
83
|
|
|
84
|
+
以云服务器产品查询可用区列表接口为例。
|
|
85
|
+
|
|
63
86
|
```js
|
|
64
87
|
const tencentcloud = require("tencentcloud-sdk-nodejs")
|
|
65
88
|
|
|
@@ -102,7 +125,7 @@ client.DescribeZones().then(
|
|
|
102
125
|
)
|
|
103
126
|
```
|
|
104
127
|
|
|
105
|
-
在支持
|
|
128
|
+
在支持 TypeScript 项目中,采用如下方式调用
|
|
106
129
|
|
|
107
130
|
```js
|
|
108
131
|
import * as tencentcloud from "tencentcloud-sdk-nodejs"
|
|
@@ -112,10 +135,11 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
112
135
|
// ...
|
|
113
136
|
```
|
|
114
137
|
|
|
115
|
-
|
|
138
|
+
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)。
|
|
116
139
|
|
|
117
140
|
## Common Client
|
|
118
|
-
|
|
141
|
+
|
|
142
|
+
从 4.0.714 版本开始,腾讯云 Node.js SDK 支持使用泛用性的 API 调用方式(Common Client)进行请求。您只需要安装 tencentcloud-sdk-nodejs-common 包,即可向任何产品发起调用。
|
|
119
143
|
|
|
120
144
|
**注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
|
|
121
145
|
|
|
@@ -123,19 +147,19 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
123
147
|
|
|
124
148
|
## 更多示例
|
|
125
149
|
|
|
126
|
-
|
|
150
|
+
请参考 [examples](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples) 目录。
|
|
127
151
|
|
|
128
152
|
# 相关配置
|
|
129
153
|
|
|
130
154
|
## 代理
|
|
131
155
|
|
|
132
|
-
如果是有代理的环境下,需要配置代理,请在创建Client时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
|
156
|
+
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
|
133
157
|
|
|
134
158
|
# 凭证管理
|
|
135
159
|
|
|
136
160
|
除显式传入凭证外,从 `v4.0.506` 起支持 [腾讯云实例角色](https://cloud.tencent.com/document/product/213/47668)
|
|
137
161
|
|
|
138
|
-
在您为实例绑定角色后,您可以在实例中访问相关元数据接口获取临时凭证。用法可参考 [js示例代码](./examples/cvm_role.js) 或 [ts示例代码](./examples/cvm_role.ts)
|
|
162
|
+
在您为实例绑定角色后,您可以在实例中访问相关元数据接口获取临时凭证。用法可参考 [js 示例代码](./examples/cvm_role.js) 或 [ts 示例代码](./examples/cvm_role.ts)
|
|
139
163
|
```javascript
|
|
140
164
|
// ...
|
|
141
165
|
const CvmRoleCredential = require("tencentcloud-sdk-nodejs/tencentcloud/common/cvm_role_credential").default
|
|
@@ -147,20 +171,16 @@ new XxxClient({
|
|
|
147
171
|
})
|
|
148
172
|
```
|
|
149
173
|
|
|
150
|
-
# 旧版 SDK
|
|
151
|
-
|
|
152
|
-
我们推荐使用新版 NODEJS SDK,如果一定要用旧版 SDK,请前往[GitHub 仓库](https://github.com/CFETeam/qcloudapi-sdk)下载。
|
|
153
|
-
|
|
154
174
|
# 常见问题
|
|
155
|
-
- webpack打包出错/浏览器报错
|
|
175
|
+
- webpack 打包出错/浏览器报错
|
|
156
176
|
|
|
157
|
-
请**务必不要**将此SDK直接用于
|
|
177
|
+
请**务必不要**将此 SDK 直接用于 Web 前端(包括小程序等),暴露密钥在这些环境非常不安全。
|
|
158
178
|
|
|
159
|
-
正确的做法是在自己的服务端引用此SDK
|
|
179
|
+
正确的做法是在自己的服务端引用此 SDK,并保存好密钥,做好请求鉴权,前端再调用服务端执行业务流程。
|
|
160
180
|
|
|
161
181
|
- `The "original" argument must be of type Function.`
|
|
162
182
|
|
|
163
|
-
通常是因为
|
|
183
|
+
通常是因为 Node.js 版本低于 `v10` ,或处于非 Node.js 环境,请再次确认执行环境。
|
|
164
184
|
|
|
165
185
|
- 请求不通
|
|
166
186
|
|
package/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { tmt } from "./tmt";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
export class Client extends TencentCloudCommon.AbstractClient {
|
|
3
|
+
constructor(clientConfig) {
|
|
4
|
+
super("tmt.tencentcloudapi.com", "2018-03-21", clientConfig);
|
|
5
|
+
}
|
|
6
|
+
async LanguageDetect(req, cb) {
|
|
7
|
+
return this.request("LanguageDetect", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async TextTranslateBatch(req, cb) {
|
|
10
|
+
return this.request("TextTranslateBatch", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async ImageTranslateLLM(req, cb) {
|
|
13
|
+
return this.request("ImageTranslateLLM", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async GetFileTranslate(req, cb) {
|
|
16
|
+
return this.request("GetFileTranslate", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async ImageTranslate(req, cb) {
|
|
19
|
+
return this.request("ImageTranslate", req, cb);
|
|
20
|
+
}
|
|
21
|
+
async TextTranslate(req, cb) {
|
|
22
|
+
return this.request("TextTranslate", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async FileTranslate(req, cb) {
|
|
25
|
+
return this.request("FileTranslate", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async SpeechTranslate(req, cb) {
|
|
28
|
+
return this.request("SpeechTranslate", req, cb);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-tmt",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "tencentcloud/index.js",
|
|
3
|
+
"version": "4.1.38",
|
|
4
|
+
"description": "腾讯云 API NODEJS SDK",
|
|
5
|
+
"main": "./tencentcloud/index.js",
|
|
6
|
+
"module": "./es/index.js",
|
|
7
|
+
"types": "./tencentcloud/index.d.ts",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"test": "mocha -t 10000",
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
+
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
|
+
"build:cjs": "tsc -p tsconfig.json",
|
|
12
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"build:slim": "node ./scripts/build_slim.js",
|
|
14
|
+
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
15
|
+
"clean": "rimraf tencentcloud es"
|
|
10
16
|
},
|
|
11
17
|
"engines": {
|
|
12
18
|
"node": ">=10"
|
|
13
19
|
},
|
|
20
|
+
"files": [
|
|
21
|
+
"tencentcloud",
|
|
22
|
+
"es"
|
|
23
|
+
],
|
|
14
24
|
"keywords": [
|
|
15
25
|
"tencentcloudapi",
|
|
16
26
|
"tencentcloud",
|
|
@@ -22,7 +32,7 @@
|
|
|
22
32
|
"author": "tencentcloudapi",
|
|
23
33
|
"license": "Apache-2.0",
|
|
24
34
|
"dependencies": {
|
|
25
|
-
"tencentcloud-sdk-nodejs-common": "
|
|
35
|
+
"tencentcloud-sdk-nodejs-common": "*",
|
|
26
36
|
"tslib": "1.13.0"
|
|
27
37
|
},
|
|
28
38
|
"directories": {
|
|
@@ -35,14 +45,22 @@
|
|
|
35
45
|
},
|
|
36
46
|
"devDependencies": {
|
|
37
47
|
"@types/form-data": "^2.5.0",
|
|
48
|
+
"@types/json-bigint": "^1.0.1",
|
|
38
49
|
"@types/node": "^14.0.26",
|
|
39
50
|
"@types/node-fetch": "^2.5.7",
|
|
51
|
+
"@types/uuid": "^9.0.8",
|
|
40
52
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
41
53
|
"@typescript-eslint/parser": "^2.34.0",
|
|
54
|
+
"babel-eslint": "^10.0.2",
|
|
42
55
|
"chai": "^4.2.0",
|
|
56
|
+
"concurrently": "^6.5.1",
|
|
57
|
+
"esbuild": "^0.25.0",
|
|
43
58
|
"eslint": "^6.8.0",
|
|
44
|
-
"
|
|
59
|
+
"eslint-plugin-react": "^7.17.0",
|
|
60
|
+
"mocha": "^8.4.0",
|
|
61
|
+
"prettier": "^2.3.0",
|
|
62
|
+
"rimraf": "^5.0.10",
|
|
45
63
|
"ts-node": "^8.10.2",
|
|
46
64
|
"typescript": "^3.9.7"
|
|
47
65
|
}
|
|
48
|
-
}
|
|
66
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.v20180321 = void 0;
|
|
4
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./tmt_models"));
|
|
5
6
|
const tmt_client_1 = require("./tmt_client");
|
|
6
7
|
exports.v20180321 = {
|
|
7
8
|
Client: tmt_client_1.Client,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import {
|
|
2
|
+
import { ImageTranslateResponse, SpeechTranslateResponse, GetFileTranslateRequest, FileTranslateRequest, ImageTranslateLLMRequest, LanguageDetectRequest, TextTranslateBatchResponse, LanguageDetectResponse, SpeechTranslateRequest, TextTranslateRequest, TextTranslateBatchRequest, GetFileTranslateResponse, FileTranslateResponse, TextTranslateResponse, ImageTranslateRequest, ImageTranslateLLMResponse } from "./tmt_models";
|
|
3
3
|
/**
|
|
4
4
|
* tmt client
|
|
5
5
|
* @class
|
|
@@ -16,16 +16,25 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
16
16
|
*/
|
|
17
17
|
TextTranslateBatch(req: TextTranslateBatchRequest, cb?: (error: string, rep: TextTranslateBatchResponse) => void): Promise<TextTranslateBatchResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* 提供
|
|
19
|
+
* 提供18种语言的图片翻译服务,可自动识别图片中的文本内容并翻译成目标语言,识别后的文本按行翻译,后续会提供可按段落翻译的版本。
|
|
20
|
+
|
|
21
|
+
- 输入图片格式:png、jpg、jpeg等常用图片格式,不支持gif动图。
|
|
22
|
+
- 输出图片格式:jpg。
|
|
23
|
+
|
|
20
24
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
21
25
|
*/
|
|
22
|
-
|
|
26
|
+
ImageTranslateLLM(req: ImageTranslateLLMRequest, cb?: (error: string, rep: ImageTranslateLLMResponse) => void): Promise<ImageTranslateLLMResponse>;
|
|
23
27
|
/**
|
|
24
28
|
* 在调用文档翻译请求接口后,有回调和轮询两种方式获取识别结果。
|
|
25
29
|
•当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见[文件翻译回调说明](https://cloud.tencent.com/document/product/551/91138)。
|
|
26
30
|
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见参数说明。
|
|
27
31
|
*/
|
|
28
32
|
GetFileTranslate(req: GetFileTranslateRequest, cb?: (error: string, rep: GetFileTranslateResponse) => void): Promise<GetFileTranslateResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* 提供13种语言的图片翻译服务,可自动识别图片中的文本内容并翻译成目标语言,识别后的文本按行翻译,后续会提供可按段落翻译的版本。<br />
|
|
35
|
+
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
36
|
+
*/
|
|
37
|
+
ImageTranslate(req: ImageTranslateRequest, cb?: (error: string, rep: ImageTranslateResponse) => void): Promise<ImageTranslateResponse>;
|
|
29
38
|
/**
|
|
30
39
|
* 腾讯翻译为合作伙伴提供文本翻译、文档翻译、交互翻译、AI同传等多种机器翻译服务,具有toB多行业解决方案。作为WMT世界机器翻译大赛冠军,翻译准确度值得信赖,其中,交互翻译能力是业界领先技术;腾讯同传是AI同传业界标杆。<br />
|
|
31
40
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* tmt client
|
|
24
25
|
* @class
|
|
@@ -41,11 +42,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
41
42
|
return this.request("TextTranslateBatch", req, cb);
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
|
-
* 提供
|
|
45
|
+
* 提供18种语言的图片翻译服务,可自动识别图片中的文本内容并翻译成目标语言,识别后的文本按行翻译,后续会提供可按段落翻译的版本。
|
|
46
|
+
|
|
47
|
+
- 输入图片格式:png、jpg、jpeg等常用图片格式,不支持gif动图。
|
|
48
|
+
- 输出图片格式:jpg。
|
|
49
|
+
|
|
45
50
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
46
51
|
*/
|
|
47
|
-
async
|
|
48
|
-
return this.request("
|
|
52
|
+
async ImageTranslateLLM(req, cb) {
|
|
53
|
+
return this.request("ImageTranslateLLM", req, cb);
|
|
49
54
|
}
|
|
50
55
|
/**
|
|
51
56
|
* 在调用文档翻译请求接口后,有回调和轮询两种方式获取识别结果。
|
|
@@ -55,6 +60,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
55
60
|
async GetFileTranslate(req, cb) {
|
|
56
61
|
return this.request("GetFileTranslate", req, cb);
|
|
57
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* 提供13种语言的图片翻译服务,可自动识别图片中的文本内容并翻译成目标语言,识别后的文本按行翻译,后续会提供可按段落翻译的版本。<br />
|
|
65
|
+
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
|
66
|
+
*/
|
|
67
|
+
async ImageTranslate(req, cb) {
|
|
68
|
+
return this.request("ImageTranslate", req, cb);
|
|
69
|
+
}
|
|
58
70
|
/**
|
|
59
71
|
* 腾讯翻译为合作伙伴提供文本翻译、文档翻译、交互翻译、AI同传等多种机器翻译服务,具有toB多行业解决方案。作为WMT世界机器翻译大赛冠军,翻译准确度值得信赖,其中,交互翻译能力是业界领先技术;腾讯同传是AI同传业界标杆。<br />
|
|
60
72
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|