tencentcloud-sdk-nodejs-intl-en 3.0.1298 → 3.0.1300
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/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/mdl/v20200326/models.js +28 -14
- package/tencentcloud/monitor/v20180724/models.js +1 -1
- package/tencentcloud/mps/v20190612/models.js +1822 -120
- package/tencentcloud/mps/v20190612/mps_client.js +17 -0
- package/tencentcloud/vod/v20180717/vod_client.js +3 -3
|
@@ -4322,6 +4322,48 @@ class DeleteContentReviewTemplateRequest extends AbstractModel {
|
|
|
4322
4322
|
}
|
|
4323
4323
|
}
|
|
4324
4324
|
|
|
4325
|
+
/**
|
|
4326
|
+
* Smart subtitle task result.
|
|
4327
|
+
* @class
|
|
4328
|
+
*/
|
|
4329
|
+
class SubtitleResult extends AbstractModel {
|
|
4330
|
+
constructor(){
|
|
4331
|
+
super();
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* Language of the subtitle file.
|
|
4335
|
+
* @type {string || null}
|
|
4336
|
+
*/
|
|
4337
|
+
this.Language = null;
|
|
4338
|
+
|
|
4339
|
+
/**
|
|
4340
|
+
* Whether the processing is successful.
|
|
4341
|
+
* @type {string || null}
|
|
4342
|
+
*/
|
|
4343
|
+
this.Status = null;
|
|
4344
|
+
|
|
4345
|
+
/**
|
|
4346
|
+
* Subtitle file URL.
|
|
4347
|
+
* @type {string || null}
|
|
4348
|
+
*/
|
|
4349
|
+
this.Path = null;
|
|
4350
|
+
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4353
|
+
/**
|
|
4354
|
+
* @private
|
|
4355
|
+
*/
|
|
4356
|
+
deserialize(params) {
|
|
4357
|
+
if (!params) {
|
|
4358
|
+
return;
|
|
4359
|
+
}
|
|
4360
|
+
this.Language = 'Language' in params ? params.Language : null;
|
|
4361
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4362
|
+
this.Path = 'Path' in params ? params.Path : null;
|
|
4363
|
+
|
|
4364
|
+
}
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4325
4367
|
/**
|
|
4326
4368
|
* The input parameters for the detection of politically sensitive information.
|
|
4327
4369
|
* @class
|
|
@@ -5180,6 +5222,72 @@ class AiRecognitionTaskInput extends AbstractModel {
|
|
|
5180
5222
|
}
|
|
5181
5223
|
}
|
|
5182
5224
|
|
|
5225
|
+
/**
|
|
5226
|
+
* Smart subtitle recognition result.
|
|
5227
|
+
* @class
|
|
5228
|
+
*/
|
|
5229
|
+
class SmartSubtitleTaskTextResultOutput extends AbstractModel {
|
|
5230
|
+
constructor(){
|
|
5231
|
+
super();
|
|
5232
|
+
|
|
5233
|
+
/**
|
|
5234
|
+
* Subtitle recognition result.
|
|
5235
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5236
|
+
* @type {Array.<SubtitleResult> || null}
|
|
5237
|
+
*/
|
|
5238
|
+
this.RecognizeSubtitleResult = null;
|
|
5239
|
+
|
|
5240
|
+
/**
|
|
5241
|
+
* Subtitle translation result.
|
|
5242
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5243
|
+
* @type {Array.<SubtitleResult> || null}
|
|
5244
|
+
*/
|
|
5245
|
+
this.TransSubtitleResult = null;
|
|
5246
|
+
|
|
5247
|
+
/**
|
|
5248
|
+
* Storage location of the subtitle file.
|
|
5249
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5250
|
+
* @type {TaskOutputStorage || null}
|
|
5251
|
+
*/
|
|
5252
|
+
this.OutputStorage = null;
|
|
5253
|
+
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
/**
|
|
5257
|
+
* @private
|
|
5258
|
+
*/
|
|
5259
|
+
deserialize(params) {
|
|
5260
|
+
if (!params) {
|
|
5261
|
+
return;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
if (params.RecognizeSubtitleResult) {
|
|
5265
|
+
this.RecognizeSubtitleResult = new Array();
|
|
5266
|
+
for (let z in params.RecognizeSubtitleResult) {
|
|
5267
|
+
let obj = new SubtitleResult();
|
|
5268
|
+
obj.deserialize(params.RecognizeSubtitleResult[z]);
|
|
5269
|
+
this.RecognizeSubtitleResult.push(obj);
|
|
5270
|
+
}
|
|
5271
|
+
}
|
|
5272
|
+
|
|
5273
|
+
if (params.TransSubtitleResult) {
|
|
5274
|
+
this.TransSubtitleResult = new Array();
|
|
5275
|
+
for (let z in params.TransSubtitleResult) {
|
|
5276
|
+
let obj = new SubtitleResult();
|
|
5277
|
+
obj.deserialize(params.TransSubtitleResult[z]);
|
|
5278
|
+
this.TransSubtitleResult.push(obj);
|
|
5279
|
+
}
|
|
5280
|
+
}
|
|
5281
|
+
|
|
5282
|
+
if (params.OutputStorage) {
|
|
5283
|
+
let obj = new TaskOutputStorage();
|
|
5284
|
+
obj.deserialize(params.OutputStorage)
|
|
5285
|
+
this.OutputStorage = obj;
|
|
5286
|
+
}
|
|
5287
|
+
|
|
5288
|
+
}
|
|
5289
|
+
}
|
|
5290
|
+
|
|
5183
5291
|
/**
|
|
5184
5292
|
* Result type of intelligent frame-specific tagging
|
|
5185
5293
|
* @class
|
|
@@ -9102,7 +9210,7 @@ Valid values for enhancement TYPE:
|
|
|
9102
9210
|
<li>Highlights: highlights.</li>
|
|
9103
9211
|
<li>OpeningAndEnding: opening and ending clips.</li>
|
|
9104
9212
|
6. Intelligent recognition specification:
|
|
9105
|
-
<li>AIRecognition: major category for recognition
|
|
9213
|
+
<li>AIRecognition: major category for recognition.</li>
|
|
9106
9214
|
<li>FaceRecognition: face recognition.</li>
|
|
9107
9215
|
<li>TextRecognition: optical character recognition.</li>
|
|
9108
9216
|
<li>ObjectRecognition: object recognition.</li>
|
|
@@ -9605,7 +9713,7 @@ If you do not specify this, the file will be saved to the trigger directory.
|
|
|
9605
9713
|
this.TaskNotifyConfig = null;
|
|
9606
9714
|
|
|
9607
9715
|
/**
|
|
9608
|
-
* Resource ID. Ensure the corresponding resource is
|
|
9716
|
+
* Resource ID. Ensure that the corresponding resource is enabled. The default value is the primary resource ID of the account.
|
|
9609
9717
|
* @type {string || null}
|
|
9610
9718
|
*/
|
|
9611
9719
|
this.ResourceId = null;
|
|
@@ -12445,11 +12553,10 @@ class LiveStreamTaskNotifyConfig extends AbstractModel {
|
|
|
12445
12553
|
super();
|
|
12446
12554
|
|
|
12447
12555
|
/**
|
|
12448
|
-
* Notification
|
|
12449
|
-
TDMQ-CMQ:
|
|
12450
|
-
"URL": When a URL is specified, HTTP callbacks are pushed to the address specified by NotifyUrl. The callback protocol is HTTP+JSON. The content of the packet body is the same as the output parameters of [ParseLiveStreamProcessNotification](https://www.tencentcloud.
|
|
12451
|
-
|
|
12452
|
-
<font color="red">Note: If it is left blank, TDMQ-CMQ is used by default. To use other types, fill in the corresponding type value.</font>
|
|
12556
|
+
* Notification type:
|
|
12557
|
+
TDMQ-CMQ: message queue.
|
|
12558
|
+
"URL": When a URL is specified, HTTP callbacks are pushed to the address specified by NotifyUrl. The callback protocol is HTTP+JSON. The content of the packet body is the same as the output parameters of [ParseLiveStreamProcessNotification](https://www.tencentcloud.comom/document/product/862/39229?from_cn_redirect=1).
|
|
12559
|
+
<Font color="red"> Note: if it is unspecified or left blank, no callback will be sent. To send a callback, fill in the corresponding type value. </font>
|
|
12453
12560
|
* @type {string || null}
|
|
12454
12561
|
*/
|
|
12455
12562
|
this.NotifyType = null;
|
|
@@ -14951,7 +15058,7 @@ Note 3: The trigger configured for an orchestration is for automatically startin
|
|
|
14951
15058
|
this.TaskType = null;
|
|
14952
15059
|
|
|
14953
15060
|
/**
|
|
14954
|
-
* Resource ID. Ensure the corresponding resource is
|
|
15061
|
+
* Resource ID. Ensure that the corresponding resource is enabled. The default value is the primary resource ID of the account.
|
|
14955
15062
|
* @type {string || null}
|
|
14956
15063
|
*/
|
|
14957
15064
|
this.ResourceId = null;
|
|
@@ -15856,33 +15963,173 @@ The value can only be 0 when TranslateSwitch is set to OFF. The value can only b
|
|
|
15856
15963
|
|
|
15857
15964
|
/**
|
|
15858
15965
|
* Source language of the video with smart subtitles.
|
|
15859
|
-
|
|
15860
|
-
`zh`: Simplified Chinese.
|
|
15861
|
-
`yue`: Cantonese.
|
|
15862
|
-
`zh-PY`: Chinese, English, and Cantonese.
|
|
15863
|
-
`zh_medical`: Chinese (medical scenario).
|
|
15864
|
-
`zh_dialect`: Chinese dialect.
|
|
15865
|
-
`prime_zh`: Chinese, English, and Chinese dialects.
|
|
15966
|
+
OCR recognition only supports the following languages:
|
|
15866
15967
|
`zh_en`: Chinese and English.
|
|
15968
|
+
`multi`: others.
|
|
15969
|
+
ASR recognition and pure subtitle translation currently support the following languages:
|
|
15970
|
+
`auto`: automatic recognition (it is only supported in pure subtitle translation).
|
|
15971
|
+
`zh`: Simplified Chinese.
|
|
15867
15972
|
`en`: English.
|
|
15868
15973
|
`ja`: Japanese.
|
|
15869
15974
|
`ko`: Korean.
|
|
15870
|
-
`
|
|
15871
|
-
`
|
|
15872
|
-
`it`: Italian.
|
|
15873
|
-
`de`: German.
|
|
15874
|
-
`tr`: Turkish.
|
|
15875
|
-
`ru`: Russian.
|
|
15876
|
-
`pt`: Portuguese (Brazil).
|
|
15877
|
-
`pt-PT`: Portuguese (Portugal).
|
|
15975
|
+
`zh-PY`: Chinese, English, and Cantonese.
|
|
15976
|
+
`zh_medical`: Chinese (medical scenario).
|
|
15878
15977
|
`vi`: Vietnamese.
|
|
15879
|
-
`id`: Indonesian.
|
|
15880
15978
|
`ms`: Malay.
|
|
15979
|
+
`id`: Indonesian.
|
|
15980
|
+
`fil`: Filipino.
|
|
15881
15981
|
`th`: Thai.
|
|
15982
|
+
`pt`: Portuguese.
|
|
15983
|
+
`tr`: Turkish.
|
|
15882
15984
|
`ar`: Arabic.
|
|
15985
|
+
`es`: Spanish.
|
|
15883
15986
|
`hi`: Hindi.
|
|
15884
|
-
`
|
|
15885
|
-
`
|
|
15987
|
+
`fr`: French.
|
|
15988
|
+
`de`: German.
|
|
15989
|
+
`it`: Italian.
|
|
15990
|
+
`zh_dialect`: Chinese dialect.
|
|
15991
|
+
`zh_en`: Chinese and English.
|
|
15992
|
+
`yue`: Cantonese.
|
|
15993
|
+
`ru`: Russian.
|
|
15994
|
+
`prime_zh`: Chinese, English, and Chinese dialects.
|
|
15995
|
+
`af-ZA`: Afrikaans (South Africa).
|
|
15996
|
+
`sq-AL`: Albanian (Albania).
|
|
15997
|
+
`am-ET`: Amharic (Ethiopia).
|
|
15998
|
+
`ar-DZ`: Arabic (Algeria).
|
|
15999
|
+
`ar-BH`: Arabic (Bahrain).
|
|
16000
|
+
`ar-EG`: Arabic (Egypt).
|
|
16001
|
+
`ar-IQ`: Arabic (Iraq).
|
|
16002
|
+
`ar-IL`: Arabic (Israel).
|
|
16003
|
+
`ar-JO`: Arabic (Jordan).
|
|
16004
|
+
`ar-KW`: Arabic (Kuwait).
|
|
16005
|
+
`ar-LB`: Arabic (Lebanon).
|
|
16006
|
+
`ar-MR`: Arabic (Mauritania).
|
|
16007
|
+
`ar-MA`: Arabic (Morocco).
|
|
16008
|
+
`ar-OM`: Arabic (Oman).
|
|
16009
|
+
`ar-QA`: Arabic (Qatar).
|
|
16010
|
+
`ar-SA`: Arabic (Saudi Arabia).
|
|
16011
|
+
`ar-PS`: Arabic (State of Palestine).
|
|
16012
|
+
`ar-SY`: Arabic (Syria).
|
|
16013
|
+
`ar-TN`: Arabic (Tunisia).
|
|
16014
|
+
`ar-AE`: Arabic (United Arab Emirates).
|
|
16015
|
+
`ar-YE`: Arabic (Yemen).
|
|
16016
|
+
`hy-AM`: Armenian (Armenia).
|
|
16017
|
+
`az-AZ`: Azerbaijani (Azerbaijan).
|
|
16018
|
+
`eu-ES`: Basque (Spain).
|
|
16019
|
+
`bn-BD`: Bengali (Bangladesh).
|
|
16020
|
+
`bn-IN`: Bengali (India).
|
|
16021
|
+
`bs-BA`: Bosnian (Bosnia and Herzegovina).
|
|
16022
|
+
`bg-BG`: Bulgarian (Bulgaria).
|
|
16023
|
+
`my-MM`: Burmese (Myanmar).
|
|
16024
|
+
`ca-ES`: Catalan (Spain).
|
|
16025
|
+
`hr-HR`: Croatian (Croatia).
|
|
16026
|
+
`cs-CZ`: Czech (Czech Republic).
|
|
16027
|
+
`da-DK`: Danish (Denmark).
|
|
16028
|
+
`nl-BE`: Dutch (Belgium).
|
|
16029
|
+
`nl-NL`: Dutch (Holland).
|
|
16030
|
+
`en-AU`: English (Australia).
|
|
16031
|
+
`en-CA`: English (Canada).
|
|
16032
|
+
`en-GH`: English (Ghana).
|
|
16033
|
+
`en-HK`: English (Hong Kong (China)).
|
|
16034
|
+
`en-IN`: English (India).
|
|
16035
|
+
`en-IE`: English (Ireland).
|
|
16036
|
+
`en-KE`: English (Kenya).
|
|
16037
|
+
`en-NZ`: English (New Zealand).
|
|
16038
|
+
`en-NG`: English (Nigeria).
|
|
16039
|
+
`en-PK`: English (Pakistan).
|
|
16040
|
+
`en-PH`: English (Philippines).
|
|
16041
|
+
`en-SG`: English (Singapore).
|
|
16042
|
+
`en-ZA`: English (South Africa).
|
|
16043
|
+
`en-TZ`: English (Tanzania).
|
|
16044
|
+
`en-GB`: English (UK).
|
|
16045
|
+
`en-US`: English (US).
|
|
16046
|
+
`et-EE`: Estonian (Estonia).
|
|
16047
|
+
`fil-PH`: Filipino (Philippines).
|
|
16048
|
+
`fi-FI`: Finnish (Finland).
|
|
16049
|
+
`fr-BE`: French (Belgium).
|
|
16050
|
+
`fr-CA`: French (Canada).
|
|
16051
|
+
`fr-FR`: French (France).
|
|
16052
|
+
`fr-CH`: French (Switzerland).
|
|
16053
|
+
`gl-ES`: Galician (Spain).
|
|
16054
|
+
`ka-GE`: Georgian (Georgia).
|
|
16055
|
+
`el-GR`: Greek (Greece).
|
|
16056
|
+
`gu-IN`: Gujarati (India).
|
|
16057
|
+
`iw-IL`: Hebrew (Israel).
|
|
16058
|
+
`hi-IN`: Hindi (India).
|
|
16059
|
+
`hu-HU`: Hungarian (Hungary).
|
|
16060
|
+
`is-IS`: Icelandic (Iceland).
|
|
16061
|
+
`id-ID`: Indonesian (Indonesia).
|
|
16062
|
+
`it-IT`: Italian (Italy).
|
|
16063
|
+
`it-CH`: Italian (Switzerland).
|
|
16064
|
+
`ja-JP`: Japanese (Japan).
|
|
16065
|
+
`jv-ID`: Javanese (Indonesia).
|
|
16066
|
+
`kn-IN`: Kannada (India).
|
|
16067
|
+
`kk-KZ`: Kazakh (Kazakhstan).
|
|
16068
|
+
`km-KH`: Khmer (Cambodia).
|
|
16069
|
+
`rw-RW`: Kinyarwanda (Rwanda).
|
|
16070
|
+
`ko-KR`: Korean (South Korea).
|
|
16071
|
+
`lo-LA`: Lao (Laos).
|
|
16072
|
+
`lv-LV`: Latvian (Latvia).
|
|
16073
|
+
`lt-LT`: Lithuanian (Lithuania).
|
|
16074
|
+
`mk-MK`: Macedonian (North Macedonia).
|
|
16075
|
+
`ms-MY`: Malay (Malaysia).
|
|
16076
|
+
`ml-IN`: Malayalam (India).
|
|
16077
|
+
`mr-IN`: Marathi (India).
|
|
16078
|
+
`mn-MN`: Mongolian (Mongolia).
|
|
16079
|
+
`ne-NP`: Nepali (Nepal).
|
|
16080
|
+
`no-NO`: Bokmål Norwegian (Norway).
|
|
16081
|
+
`fa-IR`: Persian (Iran).
|
|
16082
|
+
`pl-PL`: Polish (Poland).
|
|
16083
|
+
`pt-BR`: Portuguese (Brazil).
|
|
16084
|
+
`pt-PT`: Portuguese (Portugal).
|
|
16085
|
+
`ro-RO`: Romanian (Romania).
|
|
16086
|
+
`ru-RU`: Russian (Russia).
|
|
16087
|
+
`sr-RS`: Serbian (Serbia).
|
|
16088
|
+
`si-LK`: Sinhalese (Sri Lanka).
|
|
16089
|
+
`sk-SK`: Slovak (Slovakia).
|
|
16090
|
+
`sl-SI`: Slovenian (Slovenia).
|
|
16091
|
+
`st-ZA`: Sesotho (South Africa).
|
|
16092
|
+
`es-AR`: Spanish (Argentina).
|
|
16093
|
+
`es-BO`: Spanish (Bolivia).
|
|
16094
|
+
`es-CL`: Spanish (Chile).
|
|
16095
|
+
`es-CO`: Spanish (Colombia).
|
|
16096
|
+
`es-CR`: Spanish (Costa Rica).
|
|
16097
|
+
`es-DO`: Spanish (Dominican Republic).
|
|
16098
|
+
`es-EC`: Spanish (Ecuador).
|
|
16099
|
+
`es-SV`: Spanish (El Salvador).
|
|
16100
|
+
`es-GT`: Spanish (Guatemala).
|
|
16101
|
+
`es-HN`: Spanish (Honduras).
|
|
16102
|
+
`es-MX`: Spanish (Mexico).
|
|
16103
|
+
`es-NI`: Spanish (Nicaragua).
|
|
16104
|
+
`es-PA`: Spanish (Panama).
|
|
16105
|
+
`es-PY`: Spanish (Paraguay).
|
|
16106
|
+
`es-PE`: Spanish (Peru).
|
|
16107
|
+
`es-PR`: Spanish (Puerto Rico).
|
|
16108
|
+
`es-ES`: Spanish (Spain).
|
|
16109
|
+
`es-US`: Spanish (US).
|
|
16110
|
+
`es-UY`: Spanish (Uruguay).
|
|
16111
|
+
`es-VE`: Spanish (Venezuela).
|
|
16112
|
+
`su-ID`: Sundanese (Indonesia).
|
|
16113
|
+
`sw-KE`: Swahili (Kenya).
|
|
16114
|
+
`sw-TZ`: Swahili (Tanzania).
|
|
16115
|
+
`sv-SE`: Swedish (Sweden).
|
|
16116
|
+
`ta-IN`: Tamil (India).
|
|
16117
|
+
`ta-MY`: Tamil (Malaysia).
|
|
16118
|
+
`ta-SG`: Tamil (Singapore).
|
|
16119
|
+
`ta-LK`: Tamil (Sri Lanka).
|
|
16120
|
+
`te-IN`: Telugu (India).
|
|
16121
|
+
`th-TH`: Thai (Thailand).
|
|
16122
|
+
`ts-ZA`: Tsonga (South Africa).
|
|
16123
|
+
`tr-TR`: Turkish (Turkey).
|
|
16124
|
+
`uk-UA`: Ukrainian (Ukraine).
|
|
16125
|
+
`ur-IN`: Urdu (India).
|
|
16126
|
+
`ur-PK`: Urdu (Pakistan).
|
|
16127
|
+
`uz-UZ`: Uzbek (Uzbekistan).
|
|
16128
|
+
`ve-ZA`: Venda (South Africa).
|
|
16129
|
+
`vi-VN`: Vietnamese (Vietnam).
|
|
16130
|
+
`xh-ZA`: Xhosa (South Africa).
|
|
16131
|
+
`zu-ZA`: Zulu (South Africa).
|
|
16132
|
+
|
|
15886
16133
|
* @type {string || null}
|
|
15887
16134
|
*/
|
|
15888
16135
|
this.VideoSrcLanguage = null;
|
|
@@ -15890,16 +16137,19 @@ Currently, the following languages are supported:
|
|
|
15890
16137
|
/**
|
|
15891
16138
|
* Smart subtitle file format:
|
|
15892
16139
|
- Under the ASR recognition and translation processing type:
|
|
15893
|
-
-vtt: WebVTT format subtitle.
|
|
15894
|
-
-srt: SRT format subtitle.
|
|
15895
|
-
-
|
|
16140
|
+
- vtt: WebVTT format subtitle.
|
|
16141
|
+
- srt: SRT format subtitle.
|
|
16142
|
+
- Unspecified or left blank: no subtitle file generated.
|
|
15896
16143
|
- Under the pure subtitle translation processing type:
|
|
15897
16144
|
- original: consistent with the source file.
|
|
15898
16145
|
- vtt: WebVTT format subtitle.
|
|
15899
16146
|
- srt: SRT format subtitle.
|
|
16147
|
+
- Under the OCR recognition and translation processing type:
|
|
16148
|
+
- vtt: WebVTT format subtitle.
|
|
16149
|
+
- srt: SRT format subtitle.
|
|
15900
16150
|
**Note**:
|
|
15901
16151
|
- For ASR recognition mode, when 2 or more languages are involved in translation, this field cannot be unspecified or left blank.
|
|
15902
|
-
- For pure subtitle translation mode, this field cannot be unspecified or left blank.
|
|
16152
|
+
- For pure subtitle translation and OCR recognition mode, this field cannot be unspecified or left blank.
|
|
15903
16153
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15904
16154
|
* @type {string || null}
|
|
15905
16155
|
*/
|
|
@@ -15918,26 +16168,198 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
15918
16168
|
/**
|
|
15919
16169
|
* Target language for subtitle translation.
|
|
15920
16170
|
This field is valid when the value of TranslateSwitch is ON. List of translation languages:
|
|
15921
|
-
`
|
|
15922
|
-
`
|
|
16171
|
+
`ab`: Abkhaz language.
|
|
16172
|
+
`ace`: Acehnese.
|
|
16173
|
+
`ach`: Acholi.
|
|
16174
|
+
`af`: Afrikaans.
|
|
16175
|
+
`ak`: Twi (Akan).
|
|
16176
|
+
`am`: Amharic.
|
|
16177
|
+
`ar`: Arabic.
|
|
16178
|
+
`as`: Assamese.
|
|
16179
|
+
`ay`: Aymara.
|
|
16180
|
+
`az`: Azerbaijani.
|
|
16181
|
+
`ba`: Bashkir.
|
|
16182
|
+
`ban`: Balinese.
|
|
16183
|
+
`bbc`: Batak Toba.
|
|
16184
|
+
`bem`: Bemba.
|
|
16185
|
+
`bew`: Betawi.
|
|
16186
|
+
`bg`: Bulgarian.
|
|
16187
|
+
`bho`: Bhojpuri.
|
|
16188
|
+
`bik`: Bikol.
|
|
16189
|
+
`bm`: Bambara.
|
|
16190
|
+
`bn`: Bengali.
|
|
16191
|
+
`br`: Breton.
|
|
16192
|
+
`bs`: Bosnian.
|
|
16193
|
+
`btx`: Batak Karo.
|
|
16194
|
+
`bts`: Batak Simalungun.
|
|
16195
|
+
`bua`: Buryat.
|
|
16196
|
+
`ca`: Catalan.
|
|
16197
|
+
`ceb`: Cebuano.
|
|
16198
|
+
`cgg`: Kiga
|
|
16199
|
+
`chm`: Meadow Mari language.
|
|
16200
|
+
`ckb`: Kurdish (Sorani).
|
|
16201
|
+
`cnh`: Hakha Chin.
|
|
16202
|
+
`co`: Corsican.
|
|
16203
|
+
`crh`: Crimean Tatar.
|
|
16204
|
+
`crs`: Seychellois Creole.
|
|
16205
|
+
`cs`: Czech.
|
|
16206
|
+
`cv`: Chuvash.
|
|
16207
|
+
`cy`: Welsh.
|
|
16208
|
+
`da`: Danish.
|
|
16209
|
+
`de`: German.
|
|
16210
|
+
`din`: Dinka.
|
|
16211
|
+
`doi`: Dogri.
|
|
16212
|
+
`dov`: Dombe.
|
|
16213
|
+
`dv`: Divehi.
|
|
16214
|
+
`dz`: Dzongkha.
|
|
16215
|
+
`ee`: Ewe.
|
|
16216
|
+
`el`: Greek.
|
|
15923
16217
|
`en`: English.
|
|
15924
|
-
`
|
|
15925
|
-
`ko`: Korean.
|
|
15926
|
-
`fr`: French.
|
|
16218
|
+
`eo`: Esperanto.
|
|
15927
16219
|
`es`: Spanish.
|
|
15928
|
-
`
|
|
15929
|
-
`
|
|
15930
|
-
`
|
|
15931
|
-
`
|
|
15932
|
-
`
|
|
15933
|
-
`
|
|
15934
|
-
`
|
|
16220
|
+
`et`: Estonian.
|
|
16221
|
+
`eu`: Basque.
|
|
16222
|
+
`fa`: Persian.
|
|
16223
|
+
`ff`: Fula.
|
|
16224
|
+
`fi`: Finnish.
|
|
16225
|
+
`fil`: Filipino (Tagalog).
|
|
16226
|
+
`fj`: Fijian.
|
|
16227
|
+
`fr`: French.
|
|
16228
|
+
`fr-CA`: French (Canada).
|
|
16229
|
+
`fr-FR`: French (France).
|
|
16230
|
+
`fy`: Frisian.
|
|
16231
|
+
`ga`: Irish.
|
|
16232
|
+
`gaa`: Ga.
|
|
16233
|
+
`gd`: Scottish Gaelic.
|
|
16234
|
+
`gl`: Galician.
|
|
16235
|
+
`gn`: Guaraní.
|
|
16236
|
+
`gom`: Goan Konkani.
|
|
16237
|
+
`gu`: Gujarati.
|
|
16238
|
+
`gv`: Manx.
|
|
16239
|
+
`ha`: Hausa.
|
|
16240
|
+
`haw`: Hawaiian.
|
|
16241
|
+
`he`: Hebrew.
|
|
16242
|
+
`hi`: Hindi.
|
|
16243
|
+
`hil`: Hiligaynon.
|
|
16244
|
+
`hmn`: Hmong.
|
|
16245
|
+
`hr`: Croatian.
|
|
16246
|
+
`hrx`: Hunsrik.
|
|
16247
|
+
`ht`: Haitian Creole.
|
|
16248
|
+
`hu`: Hungarian.
|
|
16249
|
+
`hy`: Armenian.
|
|
15935
16250
|
`id`: Indonesian.
|
|
16251
|
+
`ig`: Igbo.
|
|
16252
|
+
`ilo`: Iloko.
|
|
16253
|
+
`is`: Icelandic.
|
|
16254
|
+
`it`: Italian.
|
|
16255
|
+
`iw`: Hebrew.
|
|
16256
|
+
`ja`: Japanese.
|
|
16257
|
+
`jv`: Javanese.
|
|
16258
|
+
`jw`: Javanese.
|
|
16259
|
+
`ka`: Georgian.
|
|
16260
|
+
`kk`: Kazakh.
|
|
16261
|
+
`km`: Khmer.
|
|
16262
|
+
`kn`: Kannada.
|
|
16263
|
+
`ko`: Korean.
|
|
16264
|
+
`kri`: Krio.
|
|
16265
|
+
`ku`: Kurdish (Kurmanji).
|
|
16266
|
+
`ktu`: Kituba.
|
|
16267
|
+
`ky`: Kirghiz.
|
|
16268
|
+
`la`: Latin.
|
|
16269
|
+
`lb`: Luxembourgish.
|
|
16270
|
+
`lg`: Ganda (Luganda).
|
|
16271
|
+
`li`: Limburgish.
|
|
16272
|
+
`lij`: Ligurian.
|
|
16273
|
+
`lmo`: Lombard.
|
|
16274
|
+
`ln`: Lingala.
|
|
16275
|
+
`lo`: Lao.
|
|
16276
|
+
`lt`: Lithuanian.
|
|
16277
|
+
`ltg`: Latgalian.
|
|
16278
|
+
`luo`: Luo.
|
|
16279
|
+
`lus`: Mizo.
|
|
16280
|
+
`lv`: Latvian.
|
|
16281
|
+
`mai`: Maithili.
|
|
16282
|
+
`mak`: Makassar.
|
|
16283
|
+
`mg`: Malagasy.
|
|
16284
|
+
`mi`: Maori.
|
|
16285
|
+
`min`: Minangkabau.
|
|
16286
|
+
`mk`: Macedonian.
|
|
16287
|
+
`ml`: Malayalam.
|
|
16288
|
+
`mn`: Mongolian.
|
|
16289
|
+
`mr`: Marathi.
|
|
15936
16290
|
`ms`: Malay.
|
|
16291
|
+
`mt`: Maltese.
|
|
16292
|
+
`my`: Burmese.
|
|
16293
|
+
`ne`: Nepali.
|
|
16294
|
+
`new`: Newar.
|
|
16295
|
+
`nl`: Dutch.
|
|
16296
|
+
`no`: Norwegian.
|
|
16297
|
+
`nr`: Ndebele (South).
|
|
16298
|
+
`nso`: Northern Sotho (Sepedi).
|
|
16299
|
+
`nus`: Nuer.
|
|
16300
|
+
`ny`: Chichewa (Nyanja).
|
|
16301
|
+
`oc`: Occitan.
|
|
16302
|
+
`om`: Oromo.
|
|
16303
|
+
`or`: Odia.
|
|
16304
|
+
`pa`: Punjabi.
|
|
16305
|
+
`pag`: Pangasinan.
|
|
16306
|
+
`pam`: Kapampangan.
|
|
16307
|
+
`pap`: Papiamento.
|
|
16308
|
+
`pl`: Polish.
|
|
16309
|
+
`ps`: Pashto.
|
|
16310
|
+
`pt`: Portuguese.
|
|
16311
|
+
`pt-BR`: Portuguese (Brazil).
|
|
16312
|
+
`pt-PT`: Portuguese (Portugal).
|
|
16313
|
+
`qu`: Quechuan.
|
|
16314
|
+
`ro`: Romanian.
|
|
16315
|
+
`rom`: Romani.
|
|
16316
|
+
`rn`: Rundi.
|
|
16317
|
+
`ru`: Russian.
|
|
16318
|
+
`rw`: Kinyarwanda.
|
|
16319
|
+
`sa`: Sanskrit.
|
|
16320
|
+
`scn`: Sicilian.
|
|
16321
|
+
`sd`: Sindhi.
|
|
16322
|
+
`sg`: Sango.
|
|
16323
|
+
`shn`: Shan.
|
|
16324
|
+
`si`: Sinhalese.
|
|
16325
|
+
`sk`: Slovak.
|
|
16326
|
+
`sl`: Slovene.
|
|
16327
|
+
`sm`: Samoan.
|
|
16328
|
+
`sn`: Shona.
|
|
16329
|
+
`so`: Somali.
|
|
16330
|
+
`sq`: Albanian.
|
|
16331
|
+
`sr`: Serbian.
|
|
16332
|
+
`ss`: Swati.
|
|
16333
|
+
`st`: Sesotho.
|
|
16334
|
+
`su`: Sundanese.
|
|
16335
|
+
`sv`: Swedish.
|
|
16336
|
+
`sw`: Swahili.
|
|
16337
|
+
`szl`: Silesian.
|
|
16338
|
+
`ta`: Tamil.
|
|
16339
|
+
`te`: Telugu.
|
|
16340
|
+
`tet`: Tetum.
|
|
16341
|
+
`tg`: Tajik.
|
|
15937
16342
|
`th`: Thai.
|
|
15938
|
-
`
|
|
15939
|
-
`
|
|
15940
|
-
`
|
|
16343
|
+
`ti`: Tigrinya.
|
|
16344
|
+
`tk`: Turkmen.
|
|
16345
|
+
`tl`: Filipino (Tagalog).
|
|
16346
|
+
`tn`: Tswana.
|
|
16347
|
+
`tr`: Turkish.
|
|
16348
|
+
`ts`: Tsonga.
|
|
16349
|
+
`tt`: Tatar.
|
|
16350
|
+
`ug`: Uyghur.
|
|
16351
|
+
`uk`: Ukrainian.
|
|
16352
|
+
`ur`: Urdu.
|
|
16353
|
+
`uz`: Uzbek.
|
|
16354
|
+
`vi`: Vietnamese.
|
|
16355
|
+
`xh`: Xhosa.
|
|
16356
|
+
`yi`: Yiddish.
|
|
16357
|
+
`yo`: Yoruba.
|
|
16358
|
+
`yua`: Yucatec Maya.
|
|
16359
|
+
`yue`: Cantonese.
|
|
16360
|
+
`zh`: Simplified Chinese.
|
|
16361
|
+
`zh-TW`: Chinese (Traditional).
|
|
16362
|
+
`zu`: Zulu.
|
|
15941
16363
|
**Note**: Use `/` to separate multiple languages, such as `en/ja`, which indicates English and Japanese.
|
|
15942
16364
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15943
16365
|
* @type {string || null}
|
|
@@ -15958,14 +16380,21 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
15958
16380
|
this.ExtInfo = null;
|
|
15959
16381
|
|
|
15960
16382
|
/**
|
|
15961
|
-
* Subtitle processing type
|
|
16383
|
+
* Subtitle processing type:
|
|
15962
16384
|
- 0: ASR recognition subtitle.
|
|
15963
16385
|
- 1: pure subtitle translation.
|
|
16386
|
+
- 2: OCR recognition subtitle.
|
|
15964
16387
|
**Note**: The default processing type is ASR recognition subtitle if the field is unspecified.
|
|
15965
16388
|
* @type {number || null}
|
|
15966
16389
|
*/
|
|
15967
16390
|
this.ProcessType = null;
|
|
15968
16391
|
|
|
16392
|
+
/**
|
|
16393
|
+
*
|
|
16394
|
+
* @type {SelectingSubtitleAreasConfig || null}
|
|
16395
|
+
*/
|
|
16396
|
+
this.SelectingSubtitleAreasConfig = null;
|
|
16397
|
+
|
|
15969
16398
|
}
|
|
15970
16399
|
|
|
15971
16400
|
/**
|
|
@@ -15989,6 +16418,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
15989
16418
|
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
15990
16419
|
this.ProcessType = 'ProcessType' in params ? params.ProcessType : null;
|
|
15991
16420
|
|
|
16421
|
+
if (params.SelectingSubtitleAreasConfig) {
|
|
16422
|
+
let obj = new SelectingSubtitleAreasConfig();
|
|
16423
|
+
obj.deserialize(params.SelectingSubtitleAreasConfig)
|
|
16424
|
+
this.SelectingSubtitleAreasConfig = obj;
|
|
16425
|
+
}
|
|
16426
|
+
|
|
15992
16427
|
}
|
|
15993
16428
|
}
|
|
15994
16429
|
|
|
@@ -25224,6 +25659,88 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
25224
25659
|
}
|
|
25225
25660
|
}
|
|
25226
25661
|
|
|
25662
|
+
/**
|
|
25663
|
+
* Full-text recognition result for smart subtitle tasks.
|
|
25664
|
+
* @class
|
|
25665
|
+
*/
|
|
25666
|
+
class SmartSubtitleTaskFullTextResult extends AbstractModel {
|
|
25667
|
+
constructor(){
|
|
25668
|
+
super();
|
|
25669
|
+
|
|
25670
|
+
/**
|
|
25671
|
+
* Task status, which can be PROCESSING, SUCCESS, or FAIL.
|
|
25672
|
+
* @type {string || null}
|
|
25673
|
+
*/
|
|
25674
|
+
this.Status = null;
|
|
25675
|
+
|
|
25676
|
+
/**
|
|
25677
|
+
* Error code. A null string indicates that the task is successful, while other values indicate that the task has failed. For valid values, see the list of [MPS error codes](https://www.tencentcloud.comom/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).
|
|
25678
|
+
* @type {string || null}
|
|
25679
|
+
*/
|
|
25680
|
+
this.ErrCodeExt = null;
|
|
25681
|
+
|
|
25682
|
+
/**
|
|
25683
|
+
* Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.)
|
|
25684
|
+
* @type {number || null}
|
|
25685
|
+
*/
|
|
25686
|
+
this.ErrCode = null;
|
|
25687
|
+
|
|
25688
|
+
/**
|
|
25689
|
+
* Error message.
|
|
25690
|
+
* @type {string || null}
|
|
25691
|
+
*/
|
|
25692
|
+
this.Message = null;
|
|
25693
|
+
|
|
25694
|
+
/**
|
|
25695
|
+
* Input information for smart subtitle tasks.
|
|
25696
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
25697
|
+
* @type {SmartSubtitleTaskResultInput || null}
|
|
25698
|
+
*/
|
|
25699
|
+
this.Input = null;
|
|
25700
|
+
|
|
25701
|
+
/**
|
|
25702
|
+
* Output information for smart subtitle tasks.Note: This field may return null, indicating that no valid values can be obtained.
|
|
25703
|
+
* @type {SmartSubtitleTaskTextResultOutput || null}
|
|
25704
|
+
*/
|
|
25705
|
+
this.Output = null;
|
|
25706
|
+
|
|
25707
|
+
/**
|
|
25708
|
+
* Task progress.
|
|
25709
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
25710
|
+
* @type {number || null}
|
|
25711
|
+
*/
|
|
25712
|
+
this.Progress = null;
|
|
25713
|
+
|
|
25714
|
+
}
|
|
25715
|
+
|
|
25716
|
+
/**
|
|
25717
|
+
* @private
|
|
25718
|
+
*/
|
|
25719
|
+
deserialize(params) {
|
|
25720
|
+
if (!params) {
|
|
25721
|
+
return;
|
|
25722
|
+
}
|
|
25723
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
25724
|
+
this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
|
|
25725
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
25726
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
25727
|
+
|
|
25728
|
+
if (params.Input) {
|
|
25729
|
+
let obj = new SmartSubtitleTaskResultInput();
|
|
25730
|
+
obj.deserialize(params.Input)
|
|
25731
|
+
this.Input = obj;
|
|
25732
|
+
}
|
|
25733
|
+
|
|
25734
|
+
if (params.Output) {
|
|
25735
|
+
let obj = new SmartSubtitleTaskTextResultOutput();
|
|
25736
|
+
obj.deserialize(params.Output)
|
|
25737
|
+
this.Output = obj;
|
|
25738
|
+
}
|
|
25739
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
25740
|
+
|
|
25741
|
+
}
|
|
25742
|
+
}
|
|
25743
|
+
|
|
25227
25744
|
/**
|
|
25228
25745
|
* Input parameter type of a transcoding task
|
|
25229
25746
|
* @class
|
|
@@ -30556,6 +31073,56 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
30556
31073
|
}
|
|
30557
31074
|
}
|
|
30558
31075
|
|
|
31076
|
+
/**
|
|
31077
|
+
*
|
|
31078
|
+
* @class
|
|
31079
|
+
*/
|
|
31080
|
+
class SelectingSubtitleAreasConfig extends AbstractModel {
|
|
31081
|
+
constructor(){
|
|
31082
|
+
super();
|
|
31083
|
+
|
|
31084
|
+
/**
|
|
31085
|
+
*
|
|
31086
|
+
* @type {Array.<EraseArea> || null}
|
|
31087
|
+
*/
|
|
31088
|
+
this.AutoAreas = null;
|
|
31089
|
+
|
|
31090
|
+
/**
|
|
31091
|
+
*
|
|
31092
|
+
* @type {number || null}
|
|
31093
|
+
*/
|
|
31094
|
+
this.SampleWidth = null;
|
|
31095
|
+
|
|
31096
|
+
/**
|
|
31097
|
+
*
|
|
31098
|
+
* @type {number || null}
|
|
31099
|
+
*/
|
|
31100
|
+
this.SampleHeight = null;
|
|
31101
|
+
|
|
31102
|
+
}
|
|
31103
|
+
|
|
31104
|
+
/**
|
|
31105
|
+
* @private
|
|
31106
|
+
*/
|
|
31107
|
+
deserialize(params) {
|
|
31108
|
+
if (!params) {
|
|
31109
|
+
return;
|
|
31110
|
+
}
|
|
31111
|
+
|
|
31112
|
+
if (params.AutoAreas) {
|
|
31113
|
+
this.AutoAreas = new Array();
|
|
31114
|
+
for (let z in params.AutoAreas) {
|
|
31115
|
+
let obj = new EraseArea();
|
|
31116
|
+
obj.deserialize(params.AutoAreas[z]);
|
|
31117
|
+
this.AutoAreas.push(obj);
|
|
31118
|
+
}
|
|
31119
|
+
}
|
|
31120
|
+
this.SampleWidth = 'SampleWidth' in params ? params.SampleWidth : null;
|
|
31121
|
+
this.SampleHeight = 'SampleHeight' in params ? params.SampleHeight : null;
|
|
31122
|
+
|
|
31123
|
+
}
|
|
31124
|
+
}
|
|
31125
|
+
|
|
30559
31126
|
/**
|
|
30560
31127
|
* The translation result.
|
|
30561
31128
|
* @class
|
|
@@ -30612,6 +31179,7 @@ class SmartSubtitlesResult extends AbstractModel {
|
|
|
30612
31179
|
- AsrFullTextRecognition: full speech recognition.
|
|
30613
31180
|
- TransTextRecognition: speech translation.
|
|
30614
31181
|
- PureSubtitleTrans: pure subtitle translation.
|
|
31182
|
+
- OcrFullTextRecognition: text-based subtitle extraction.
|
|
30615
31183
|
* @type {string || null}
|
|
30616
31184
|
*/
|
|
30617
31185
|
this.Type = null;
|
|
@@ -30640,6 +31208,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
30640
31208
|
*/
|
|
30641
31209
|
this.PureSubtitleTransTask = null;
|
|
30642
31210
|
|
|
31211
|
+
/**
|
|
31212
|
+
* Text-based subtitle extraction result. This field is valid when the value of Type is
|
|
31213
|
+
OcrFullTextRecognition.
|
|
31214
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
31215
|
+
* @type {SmartSubtitleTaskFullTextResult || null}
|
|
31216
|
+
*/
|
|
31217
|
+
this.OcrFullTextTask = null;
|
|
31218
|
+
|
|
30643
31219
|
}
|
|
30644
31220
|
|
|
30645
31221
|
/**
|
|
@@ -30669,6 +31245,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
30669
31245
|
this.PureSubtitleTransTask = obj;
|
|
30670
31246
|
}
|
|
30671
31247
|
|
|
31248
|
+
if (params.OcrFullTextTask) {
|
|
31249
|
+
let obj = new SmartSubtitleTaskFullTextResult();
|
|
31250
|
+
obj.deserialize(params.OcrFullTextTask)
|
|
31251
|
+
this.OcrFullTextTask = obj;
|
|
31252
|
+
}
|
|
31253
|
+
|
|
30672
31254
|
}
|
|
30673
31255
|
}
|
|
30674
31256
|
|
|
@@ -32625,33 +33207,173 @@ Length limit: 64 characters.
|
|
|
32625
33207
|
|
|
32626
33208
|
/**
|
|
32627
33209
|
* Source language of the video with smart subtitles.
|
|
32628
|
-
|
|
32629
|
-
`zh`: Simplified Chinese.
|
|
32630
|
-
`yue`: Cantonese.
|
|
32631
|
-
`zh-PY`: Chinese, English, and Cantonese.
|
|
32632
|
-
`zh_medical`: Chinese (medical scenario).
|
|
32633
|
-
`zh_dialect`: Chinese dialect.
|
|
32634
|
-
`prime_zh`: Chinese, English, and Chinese dialects.
|
|
33210
|
+
OCR recognition only supports the following languages:
|
|
32635
33211
|
`zh_en`: Chinese and English.
|
|
33212
|
+
`multi`: others.
|
|
33213
|
+
ASR recognition and pure subtitle translation currently support the following languages:
|
|
33214
|
+
`auto`: automatic recognition (it is only supported in pure subtitle translation).
|
|
33215
|
+
`zh`: Simplified Chinese.
|
|
32636
33216
|
`en`: English.
|
|
32637
33217
|
`ja`: Japanese.
|
|
32638
33218
|
`ko`: Korean.
|
|
32639
|
-
`
|
|
32640
|
-
`
|
|
32641
|
-
`it`: Italian.
|
|
32642
|
-
`de`: German.
|
|
32643
|
-
`tr`: Turkish.
|
|
32644
|
-
`ru`: Russian.
|
|
32645
|
-
`pt`: Portuguese (Brazil).
|
|
32646
|
-
`pt-PT`: Portuguese (Portugal).
|
|
33219
|
+
`zh-PY`: Chinese, English, and Cantonese.
|
|
33220
|
+
`zh_medical`: Chinese (medical scenario).
|
|
32647
33221
|
`vi`: Vietnamese.
|
|
32648
|
-
`id`: Indonesian.
|
|
32649
33222
|
`ms`: Malay.
|
|
33223
|
+
`id`: Indonesian.
|
|
33224
|
+
`fil`: Filipino.
|
|
32650
33225
|
`th`: Thai.
|
|
33226
|
+
`pt`: Portuguese.
|
|
33227
|
+
`tr`: Turkish.
|
|
32651
33228
|
`ar`: Arabic.
|
|
33229
|
+
`es`: Spanish.
|
|
32652
33230
|
`hi`: Hindi.
|
|
32653
|
-
`
|
|
32654
|
-
`
|
|
33231
|
+
`fr`: French.
|
|
33232
|
+
`de`: German.
|
|
33233
|
+
`it`: Italian.
|
|
33234
|
+
`zh_dialect`: Chinese dialect.
|
|
33235
|
+
`zh_en`: Chinese and English.
|
|
33236
|
+
`yue`: Cantonese.
|
|
33237
|
+
`ru`: Russian.
|
|
33238
|
+
`prime_zh`: Chinese, English, and Chinese dialects.
|
|
33239
|
+
`af-ZA`: Afrikaans (South Africa).
|
|
33240
|
+
`sq-AL`: Albanian (Albania).
|
|
33241
|
+
`am-ET`: Amharic (Ethiopia).
|
|
33242
|
+
`ar-DZ`: Arabic (Algeria).
|
|
33243
|
+
`ar-BH`: Arabic (Bahrain).
|
|
33244
|
+
`ar-EG`: Arabic (Egypt).
|
|
33245
|
+
`ar-IQ`: Arabic (Iraq).
|
|
33246
|
+
`ar-IL`: Arabic (Israel).
|
|
33247
|
+
`ar-JO`: Arabic (Jordan).
|
|
33248
|
+
`ar-KW`: Arabic (Kuwait).
|
|
33249
|
+
`ar-LB`: Arabic (Lebanon).
|
|
33250
|
+
`ar-MR`: Arabic (Mauritania).
|
|
33251
|
+
`ar-MA`: Arabic (Morocco).
|
|
33252
|
+
`ar-OM`: Arabic (Oman).
|
|
33253
|
+
`ar-QA`: Arabic (Qatar).
|
|
33254
|
+
`ar-SA`: Arabic (Saudi Arabia).
|
|
33255
|
+
`ar-PS`: Arabic (State of Palestine).
|
|
33256
|
+
`ar-SY`: Arabic (Syria).
|
|
33257
|
+
`ar-TN`: Arabic (Tunisia).
|
|
33258
|
+
`ar-AE`: Arabic (United Arab Emirates).
|
|
33259
|
+
`ar-YE`: Arabic (Yemen).
|
|
33260
|
+
`hy-AM`: Armenian (Armenia).
|
|
33261
|
+
`az-AZ`: Azerbaijani (Azerbaijan).
|
|
33262
|
+
`eu-ES`: Basque (Spain).
|
|
33263
|
+
`bn-BD`: Bengali (Bangladesh).
|
|
33264
|
+
`bn-IN`: Bengali (India).
|
|
33265
|
+
`bs-BA`: Bosnian (Bosnia and Herzegovina).
|
|
33266
|
+
`bg-BG`: Bulgarian (Bulgaria).
|
|
33267
|
+
`my-MM`: Burmese (Myanmar).
|
|
33268
|
+
`ca-ES`: Catalan (Spain).
|
|
33269
|
+
`hr-HR`: Croatian (Croatia).
|
|
33270
|
+
`cs-CZ`: Czech (Czech Republic).
|
|
33271
|
+
`da-DK`: Danish (Denmark).
|
|
33272
|
+
`nl-BE`: Dutch (Belgium).
|
|
33273
|
+
`nl-NL`: Dutch (Holland).
|
|
33274
|
+
`en-AU`: English (Australia).
|
|
33275
|
+
`en-CA`: English (Canada).
|
|
33276
|
+
`en-GH`: English (Ghana).
|
|
33277
|
+
`en-HK`: English (Hong Kong (China)).
|
|
33278
|
+
`en-IN`: English (India).
|
|
33279
|
+
`en-IE`: English (Ireland).
|
|
33280
|
+
`en-KE`: English (Kenya).
|
|
33281
|
+
`en-NZ`: English (New Zealand).
|
|
33282
|
+
`en-NG`: English (Nigeria).
|
|
33283
|
+
`en-PK`: English (Pakistan).
|
|
33284
|
+
`en-PH`: English (Philippines).
|
|
33285
|
+
`en-SG`: English (Singapore).
|
|
33286
|
+
`en-ZA`: English (South Africa).
|
|
33287
|
+
`en-TZ`: English (Tanzania).
|
|
33288
|
+
`en-GB`: English (UK).
|
|
33289
|
+
`en-US`: English (US).
|
|
33290
|
+
`et-EE`: Estonian (Estonia).
|
|
33291
|
+
`fil-PH`: Filipino (Philippines).
|
|
33292
|
+
`fi-FI`: Finnish (Finland).
|
|
33293
|
+
`fr-BE`: French (Belgium).
|
|
33294
|
+
`fr-CA`: French (Canada).
|
|
33295
|
+
`fr-FR`: French (France).
|
|
33296
|
+
`fr-CH`: French (Switzerland).
|
|
33297
|
+
`gl-ES`: Galician (Spain).
|
|
33298
|
+
`ka-GE`: Georgian (Georgia).
|
|
33299
|
+
`el-GR`: Greek (Greece).
|
|
33300
|
+
`gu-IN`: Gujarati (India).
|
|
33301
|
+
`iw-IL`: Hebrew (Israel).
|
|
33302
|
+
`hi-IN`: Hindi (India).
|
|
33303
|
+
`hu-HU`: Hungarian (Hungary).
|
|
33304
|
+
`is-IS`: Icelandic (Iceland).
|
|
33305
|
+
`id-ID`: Indonesian (Indonesia).
|
|
33306
|
+
`it-IT`: Italian (Italy).
|
|
33307
|
+
`it-CH`: Italian (Switzerland).
|
|
33308
|
+
`ja-JP`: Japanese (Japan).
|
|
33309
|
+
`jv-ID`: Javanese (Indonesia).
|
|
33310
|
+
`kn-IN`: Kannada (India).
|
|
33311
|
+
`kk-KZ`: Kazakh (Kazakhstan).
|
|
33312
|
+
`km-KH`: Khmer (Cambodia).
|
|
33313
|
+
`rw-RW`: Kinyarwanda (Rwanda).
|
|
33314
|
+
`ko-KR`: Korean (South Korea).
|
|
33315
|
+
`lo-LA`: Lao (Laos).
|
|
33316
|
+
`lv-LV`: Latvian (Latvia).
|
|
33317
|
+
`lt-LT`: Lithuanian (Lithuania).
|
|
33318
|
+
`mk-MK`: Macedonian (North Macedonia).
|
|
33319
|
+
`ms-MY`: Malay (Malaysia).
|
|
33320
|
+
`ml-IN`: Malayalam (India).
|
|
33321
|
+
`mr-IN`: Marathi (India).
|
|
33322
|
+
`mn-MN`: Mongolian (Mongolia).
|
|
33323
|
+
`ne-NP`: Nepali (Nepal).
|
|
33324
|
+
`no-NO`: Bokmål Norwegian (Norway).
|
|
33325
|
+
`fa-IR`: Persian (Iran).
|
|
33326
|
+
`pl-PL`: Polish (Poland).
|
|
33327
|
+
`pt-BR`: Portuguese (Brazil).
|
|
33328
|
+
`pt-PT`: Portuguese (Portugal).
|
|
33329
|
+
`ro-RO`: Romanian (Romania).
|
|
33330
|
+
`ru-RU`: Russian (Russia).
|
|
33331
|
+
`sr-RS`: Serbian (Serbia).
|
|
33332
|
+
`si-LK`: Sinhalese (Sri Lanka).
|
|
33333
|
+
`sk-SK`: Slovak (Slovakia).
|
|
33334
|
+
`sl-SI`: Slovenian (Slovenia).
|
|
33335
|
+
`st-ZA`: Sesotho (South Africa).
|
|
33336
|
+
`es-AR`: Spanish (Argentina).
|
|
33337
|
+
`es-BO`: Spanish (Bolivia).
|
|
33338
|
+
`es-CL`: Spanish (Chile).
|
|
33339
|
+
`es-CO`: Spanish (Colombia).
|
|
33340
|
+
`es-CR`: Spanish (Costa Rica).
|
|
33341
|
+
`es-DO`: Spanish (Dominican Republic).
|
|
33342
|
+
`es-EC`: Spanish (Ecuador).
|
|
33343
|
+
`es-SV`: Spanish (El Salvador).
|
|
33344
|
+
`es-GT`: Spanish (Guatemala).
|
|
33345
|
+
`es-HN`: Spanish (Honduras).
|
|
33346
|
+
`es-MX`: Spanish (Mexico).
|
|
33347
|
+
`es-NI`: Spanish (Nicaragua).
|
|
33348
|
+
`es-PA`: Spanish (Panama).
|
|
33349
|
+
`es-PY`: Spanish (Paraguay).
|
|
33350
|
+
`es-PE`: Spanish (Peru).
|
|
33351
|
+
`es-PR`: Spanish (Puerto Rico).
|
|
33352
|
+
`es-ES`: Spanish (Spain).
|
|
33353
|
+
`es-US`: Spanish (US).
|
|
33354
|
+
`es-UY`: Spanish (Uruguay).
|
|
33355
|
+
`es-VE`: Spanish (Venezuela).
|
|
33356
|
+
`su-ID`: Sundanese (Indonesia).
|
|
33357
|
+
`sw-KE`: Swahili (Kenya).
|
|
33358
|
+
`sw-TZ`: Swahili (Tanzania).
|
|
33359
|
+
`sv-SE`: Swedish (Sweden).
|
|
33360
|
+
`ta-IN`: Tamil (India).
|
|
33361
|
+
`ta-MY`: Tamil (Malaysia).
|
|
33362
|
+
`ta-SG`: Tamil (Singapore).
|
|
33363
|
+
`ta-LK`: Tamil (Sri Lanka).
|
|
33364
|
+
`te-IN`: Telugu (India).
|
|
33365
|
+
`th-TH`: Thai (Thailand).
|
|
33366
|
+
`ts-ZA`: Tsonga (South Africa).
|
|
33367
|
+
`tr-TR`: Turkish (Turkey).
|
|
33368
|
+
`uk-UA`: Ukrainian (Ukraine).
|
|
33369
|
+
`ur-IN`: Urdu (India).
|
|
33370
|
+
`ur-PK`: Urdu (Pakistan).
|
|
33371
|
+
`uz-UZ`: Uzbek (Uzbekistan).
|
|
33372
|
+
`ve-ZA`: Venda (South Africa).
|
|
33373
|
+
`vi-VN`: Vietnamese (Vietnam).
|
|
33374
|
+
`xh-ZA`: Xhosa (South Africa).
|
|
33375
|
+
`zu-ZA`: Zulu (South Africa).
|
|
33376
|
+
|
|
32655
33377
|
* @type {string || null}
|
|
32656
33378
|
*/
|
|
32657
33379
|
this.VideoSrcLanguage = null;
|
|
@@ -32678,14 +33400,17 @@ Length limit: 256 characters.
|
|
|
32678
33400
|
- Under the ASR recognition and translation processing type:
|
|
32679
33401
|
- vtt: WebVTT format subtitle.
|
|
32680
33402
|
- srt: SRT format subtitle.
|
|
32681
|
-
-
|
|
33403
|
+
- Unspecified or left blank: no subtitle file generated.
|
|
32682
33404
|
- Under the pure subtitle translation processing type:
|
|
32683
33405
|
- original: consistent with the source file.
|
|
32684
33406
|
- vtt: WebVTT format subtitle.
|
|
32685
33407
|
- srt: SRT format subtitle.
|
|
33408
|
+
- Under the OCR recognition and translation processing type:
|
|
33409
|
+
- vtt: WebVTT format subtitle.
|
|
33410
|
+
- srt: SRT format subtitle.
|
|
32686
33411
|
**Note**:
|
|
32687
33412
|
- For ASR recognition mode, when 2 or more languages are involved in translation, this field cannot be unspecified or left blank.
|
|
32688
|
-
- For pure subtitle translation mode, this field cannot be unspecified or left blank.
|
|
33413
|
+
- For pure subtitle translation and OCR recognition mode, this field cannot be unspecified or left blank.
|
|
32689
33414
|
* @type {string || null}
|
|
32690
33415
|
*/
|
|
32691
33416
|
this.SubtitleFormat = null;
|
|
@@ -32706,37 +33431,210 @@ Length limit: 256 characters.
|
|
|
32706
33431
|
this.TranslateSwitch = null;
|
|
32707
33432
|
|
|
32708
33433
|
/**
|
|
32709
|
-
*
|
|
32710
|
-
|
|
32711
|
-
`
|
|
32712
|
-
`
|
|
33434
|
+
* Target language for subtitle translation.
|
|
33435
|
+
This field is valid when the value of TranslateSwitch is ON. List of translation languages:
|
|
33436
|
+
`ab`: Abkhaz language.
|
|
33437
|
+
`ace`: Acehnese.
|
|
33438
|
+
`ach`: Acholi.
|
|
33439
|
+
`af`: Afrikaans.
|
|
33440
|
+
`ak`: Twi (Akan).
|
|
33441
|
+
`am`: Amharic.
|
|
33442
|
+
`ar`: Arabic.
|
|
33443
|
+
`as`: Assamese.
|
|
33444
|
+
`ay`: Aymara.
|
|
33445
|
+
`az`: Azerbaijani.
|
|
33446
|
+
`ba`: Bashkir.
|
|
33447
|
+
`ban`: Balinese.
|
|
33448
|
+
`bbc`: Batak Toba.
|
|
33449
|
+
`bem`:Bemba.
|
|
33450
|
+
`bew`:Betawi.
|
|
33451
|
+
`bg`: Bulgarian.
|
|
33452
|
+
`bho`: Bhojpuri.
|
|
33453
|
+
`bik`:Bikol.
|
|
33454
|
+
`bm`: Bambara.
|
|
33455
|
+
`bn`: Bengali.
|
|
33456
|
+
`br`: Breton.
|
|
33457
|
+
`bs`: Bosnian.
|
|
33458
|
+
`btx`: Batak Karo.
|
|
33459
|
+
`bts`: Batak Simalungun.
|
|
33460
|
+
`bua`: Buryat language.
|
|
33461
|
+
`ca`: Catalan.
|
|
33462
|
+
`ceb`: Cebuano.
|
|
33463
|
+
`cgg`:Kiga.
|
|
33464
|
+
`chm`: Meadow Mari language.
|
|
33465
|
+
`ckb`: Kurdish (Sorani).
|
|
33466
|
+
`cnh`: Hakha Chin.
|
|
33467
|
+
`co`: Corsican.
|
|
33468
|
+
`crh`: Crimean Tatar.
|
|
33469
|
+
`crs`: Seychellois Creole.
|
|
33470
|
+
`cs`: Czech.
|
|
33471
|
+
`cv`: Chuvash.
|
|
33472
|
+
`cy`: Welsh.
|
|
33473
|
+
`da`: Danish.
|
|
33474
|
+
`de`: German.
|
|
33475
|
+
`din`: Dinka
|
|
33476
|
+
`doi`: Dogri.
|
|
33477
|
+
`dov`: Dombe.
|
|
33478
|
+
`dv`: Divehi.
|
|
33479
|
+
`dz`: Dzongkha.
|
|
33480
|
+
`ee`: Ewe.
|
|
33481
|
+
`el`: Greek.
|
|
32713
33482
|
`en`: English.
|
|
32714
|
-
`
|
|
32715
|
-
`ko`: Korean.
|
|
32716
|
-
`fr`: French.
|
|
33483
|
+
`eo`: Esperanto.
|
|
32717
33484
|
`es`: Spanish.
|
|
32718
|
-
`
|
|
32719
|
-
`
|
|
32720
|
-
`
|
|
32721
|
-
`
|
|
32722
|
-
`
|
|
32723
|
-
`
|
|
32724
|
-
`
|
|
33485
|
+
`et`: Estonian.
|
|
33486
|
+
`eu`: Basque.
|
|
33487
|
+
`fa`: Persian.
|
|
33488
|
+
`ff`: Fula.
|
|
33489
|
+
`fi`: Finnish.
|
|
33490
|
+
`fil`: Filipino (Tagalog).
|
|
33491
|
+
`fj`: Fijian.
|
|
33492
|
+
`fr`: French.
|
|
33493
|
+
`fr-CA`: French (Canada).
|
|
33494
|
+
`fr-FR`: French (France).
|
|
33495
|
+
`fy`: Frisian.
|
|
33496
|
+
`ga`: Irish.
|
|
33497
|
+
`gaa`: Ga.
|
|
33498
|
+
`gd`: Scottish Gaelic.
|
|
33499
|
+
`gl`: Galician.
|
|
33500
|
+
`gn`: Guaraní.
|
|
33501
|
+
`gom`: Goan Konkani.
|
|
33502
|
+
`gu`: Gujarati.
|
|
33503
|
+
`gv`: Manx.
|
|
33504
|
+
`ha`: Hausa.
|
|
33505
|
+
`haw`: Hawaiian.
|
|
33506
|
+
`he`: Hebrew.
|
|
33507
|
+
`hi`: Hindi.
|
|
33508
|
+
`hil`: Hiligaynon.
|
|
33509
|
+
`hmn`: Hmong.
|
|
33510
|
+
`hr`: Croatian.
|
|
33511
|
+
`hrx`: Hunsrik.
|
|
33512
|
+
`ht`: Haitian Creole.
|
|
33513
|
+
`hu`: Hungarian.
|
|
33514
|
+
`hy`: Armenian.
|
|
32725
33515
|
`id`: Indonesian.
|
|
33516
|
+
`ig`: Igbo.
|
|
33517
|
+
`ilo`: Iloko.
|
|
33518
|
+
`is`: Icelandic.
|
|
33519
|
+
`it`: Italian.
|
|
33520
|
+
`iw`: Hebrew
|
|
33521
|
+
`ja`: Japanese.
|
|
33522
|
+
`jv`: Javanese.
|
|
33523
|
+
`jw`: Javanese.
|
|
33524
|
+
`ka`: Georgian.
|
|
33525
|
+
`kk`: Kazakh.
|
|
33526
|
+
`km`: Khmer.
|
|
33527
|
+
`kn`: Kannada.
|
|
33528
|
+
`ko`: Korean.
|
|
33529
|
+
`kri`: Krio.
|
|
33530
|
+
`ku`: Kurdish (Kurmanji).
|
|
33531
|
+
`ktu`: Kituba.
|
|
33532
|
+
`ky`: Kirghiz.
|
|
33533
|
+
`la`: Latin.
|
|
33534
|
+
`lb`: Luxembourgish.
|
|
33535
|
+
`lg`: Ganda (Luganda).
|
|
33536
|
+
`li`: Limburgish.
|
|
33537
|
+
`lij`: Ligurian.
|
|
33538
|
+
`lmo`: Lombard.
|
|
33539
|
+
`ln`: Lingala.
|
|
33540
|
+
`lo`: Lao.
|
|
33541
|
+
`lt`: Lithuanian.
|
|
33542
|
+
`ltg`: Latgalian.
|
|
33543
|
+
`luo`: Luo.
|
|
33544
|
+
`lus`: Mizo.
|
|
33545
|
+
`lv`: Latvian.
|
|
33546
|
+
`mai`: Maithili.
|
|
33547
|
+
`mak`: Makassar.
|
|
33548
|
+
`mg`: Malagasy.
|
|
33549
|
+
`mi`: Maori.
|
|
33550
|
+
`min`: Minangkabau.
|
|
33551
|
+
`mk`: Macedonian.
|
|
33552
|
+
`ml`: Malayalam.
|
|
33553
|
+
`mn`: Mongolian.
|
|
33554
|
+
`mr`: Marathi.
|
|
32726
33555
|
`ms`: Malay.
|
|
33556
|
+
`mt`: Maltese.
|
|
33557
|
+
`my`: Burmese.
|
|
33558
|
+
`ne`: Nepali.
|
|
33559
|
+
`new`: Newar.
|
|
33560
|
+
`nl`: Dutch.
|
|
33561
|
+
`no`: Norwegian.
|
|
33562
|
+
`nr`: Ndebele (South).
|
|
33563
|
+
`nso`: Northern Sotho (Sepedi).
|
|
33564
|
+
`nus`: Nuer.
|
|
33565
|
+
`ny`: Chichewa (Nyanja).
|
|
33566
|
+
`oc`: Occitan.
|
|
33567
|
+
`om`: Oromo.
|
|
33568
|
+
`or`: Odia.
|
|
33569
|
+
`pa`: Punjabi.
|
|
33570
|
+
`pag`: Pangasinan.
|
|
33571
|
+
`pam`: Kapampangan.
|
|
33572
|
+
`pap`: Papiamento.
|
|
33573
|
+
`pl`: Polish.
|
|
33574
|
+
`ps`: Pashto.
|
|
33575
|
+
`pt`: Portuguese.
|
|
33576
|
+
`pt-BR`: Portuguese (Brazil).
|
|
33577
|
+
`pt-PT`: Portuguese (Portugal).
|
|
33578
|
+
`qu`: Quechuan.
|
|
33579
|
+
`ro`: Romanian.
|
|
33580
|
+
`rom`: Romani.
|
|
33581
|
+
`rn`: Rundi.
|
|
33582
|
+
`ru`: Russian.
|
|
33583
|
+
`rw`: Kinyarwanda.
|
|
33584
|
+
`sa`: Sanskrit.
|
|
33585
|
+
`scn`: Sicilian.
|
|
33586
|
+
`sd`: Sindhi.
|
|
33587
|
+
`sg`: Sango.
|
|
33588
|
+
`shn`: Shan.
|
|
33589
|
+
`si`: Sinhalese.
|
|
33590
|
+
`sk`: Slovak.
|
|
33591
|
+
`sl`: Slovene.
|
|
33592
|
+
`sm`: Samoan.
|
|
33593
|
+
`sn`: Shona.
|
|
33594
|
+
`so`: Somali.
|
|
33595
|
+
`sq`: Albanian.
|
|
33596
|
+
`sr`: Serbian.
|
|
33597
|
+
`ss`: Swati.
|
|
33598
|
+
`st`: Sesotho.
|
|
33599
|
+
`su`: Sundanese.
|
|
33600
|
+
`sv`: Swedish.
|
|
33601
|
+
`sw`: Swahili.
|
|
33602
|
+
`szl`: Silesian.
|
|
33603
|
+
`ta`: Tamil.
|
|
33604
|
+
`te`: Telugu.
|
|
33605
|
+
`tet`: Tetum.
|
|
33606
|
+
`tg`: Tajik.
|
|
32727
33607
|
`th`: Thai.
|
|
32728
|
-
`
|
|
32729
|
-
`
|
|
32730
|
-
`
|
|
33608
|
+
`ti`: Tigrinya.
|
|
33609
|
+
`tk`: Turkmen.
|
|
33610
|
+
`tl`: Filipino (Tagalog).
|
|
33611
|
+
`tn`: Tswana.
|
|
33612
|
+
`tr`: Turkish.
|
|
33613
|
+
`ts`: Tsonga.
|
|
33614
|
+
`tt`: Tatar.
|
|
33615
|
+
`ug`: Uyghur.
|
|
33616
|
+
`uk`: Ukrainian.
|
|
33617
|
+
`ur`: Urdu.
|
|
33618
|
+
`uz`: Uzbek.
|
|
33619
|
+
`vi`: Vietnamese.
|
|
33620
|
+
`xh`: Xhosa.
|
|
33621
|
+
`yi`: Yiddish.
|
|
33622
|
+
`yo`: Yoruba.
|
|
33623
|
+
`yua`: Yucatec Maya.
|
|
33624
|
+
`yue`: Cantonese.
|
|
33625
|
+
`zh`: Simplified Chinese.
|
|
33626
|
+
`zh-TW`: Chinese (Traditional).
|
|
33627
|
+
`zu`: Zulu.
|
|
32731
33628
|
**Note**: Use `/` to separate multiple languages, such as `en/ja`, which indicates English and Japanese.
|
|
32732
33629
|
* @type {string || null}
|
|
32733
33630
|
*/
|
|
32734
33631
|
this.TranslateDstLanguage = null;
|
|
32735
33632
|
|
|
32736
33633
|
/**
|
|
32737
|
-
* Subtitle processing type
|
|
33634
|
+
* Subtitle processing type.
|
|
32738
33635
|
- 0: ASR recognition subtitle.
|
|
32739
33636
|
- 1: pure subtitle translation.
|
|
33637
|
+
- 2: OCR recognition subtitle.
|
|
32740
33638
|
**Note**: The default processing type is ASR recognition subtitle if the field is unspecified.
|
|
32741
33639
|
* @type {number || null}
|
|
32742
33640
|
*/
|
|
@@ -32985,6 +33883,440 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
32985
33883
|
}
|
|
32986
33884
|
}
|
|
32987
33885
|
|
|
33886
|
+
/**
|
|
33887
|
+
* TextTranslation request structure.
|
|
33888
|
+
* @class
|
|
33889
|
+
*/
|
|
33890
|
+
class TextTranslationRequest extends AbstractModel {
|
|
33891
|
+
constructor(){
|
|
33892
|
+
super();
|
|
33893
|
+
|
|
33894
|
+
/**
|
|
33895
|
+
* Text to be translated, which must be encoded in UTF-8 format. Characters not encoded in UTF-8 format cannot be translated. Input valid text. Unconventional content, such as HTML tags, may also cause translation failures. The text length per request must be less than 2,000 characters.
|
|
33896
|
+
* @type {string || null}
|
|
33897
|
+
*/
|
|
33898
|
+
this.SourceText = null;
|
|
33899
|
+
|
|
33900
|
+
/**
|
|
33901
|
+
* Source language. Valid values:
|
|
33902
|
+
"auto": "automatic recognition (recognized as a language).",
|
|
33903
|
+
"ab": "Abkhaz language.",
|
|
33904
|
+
"ace": Acehnese.",
|
|
33905
|
+
"ach": "Acholi.",
|
|
33906
|
+
"af": "Afrikaans.",
|
|
33907
|
+
"ak": "Twi (Akan).",
|
|
33908
|
+
"am": "Amharic",
|
|
33909
|
+
"ar": "Arabic.",
|
|
33910
|
+
"as": "Assamese.",
|
|
33911
|
+
"ay": "Aymara.",
|
|
33912
|
+
"az": "Azerbaijani.",
|
|
33913
|
+
"ba": "Bashkir.",
|
|
33914
|
+
"ban": "Balinese",
|
|
33915
|
+
"bbc": "Batak Toba.",
|
|
33916
|
+
"bem": "Bemba",
|
|
33917
|
+
"bew": "Betawi",
|
|
33918
|
+
"bg": "Bulgarian.",
|
|
33919
|
+
"bho": "Bhojpuri.",
|
|
33920
|
+
"bik": "Bikol",
|
|
33921
|
+
"bm": "Bambara.",
|
|
33922
|
+
"bn": "Bengali.",
|
|
33923
|
+
"br": "Breton.",
|
|
33924
|
+
"bs": "Bosnian.",
|
|
33925
|
+
"btx": "Batak Karo.",
|
|
33926
|
+
"bts": "Batak Simalungun.",
|
|
33927
|
+
"bua": "Buryat.",
|
|
33928
|
+
"ca": "Catalan.",
|
|
33929
|
+
"ceb": "Cebuano.",
|
|
33930
|
+
"cgg": "Kiga",
|
|
33931
|
+
"chm": "Meadow Mari language.",
|
|
33932
|
+
"ckb": "Kurdish (Sorani).",
|
|
33933
|
+
"cnh": "Hakha Chin.",
|
|
33934
|
+
"co": "Corsican.",
|
|
33935
|
+
"crh": "Crimean Tatar.",
|
|
33936
|
+
"crs": "Seychellois Creole.",
|
|
33937
|
+
"cs": "Czech.",
|
|
33938
|
+
"cv": "Chuvash.",
|
|
33939
|
+
"cy": "Welsh.",
|
|
33940
|
+
"da": "Danish.",
|
|
33941
|
+
"de": "German.",
|
|
33942
|
+
"din": "Dinka",
|
|
33943
|
+
"doi": "Dogri.",
|
|
33944
|
+
"dov": "Dombe.",
|
|
33945
|
+
"dv": "Divehi.",
|
|
33946
|
+
"dz": "Dzongkha.",
|
|
33947
|
+
"ee": "Ewe",
|
|
33948
|
+
"el": "Greek.",
|
|
33949
|
+
"en": "English.",
|
|
33950
|
+
"eo": "Esperanto.",
|
|
33951
|
+
"es": "Spanish.",
|
|
33952
|
+
"et": "Estonian.",
|
|
33953
|
+
"eu": "Basque.",
|
|
33954
|
+
"fa": "Persian.",
|
|
33955
|
+
"ff": "Fula.",
|
|
33956
|
+
"fi": "Finnish.",
|
|
33957
|
+
"fil": "Filipino (Tagalog).",
|
|
33958
|
+
"fj": "Fijian.",
|
|
33959
|
+
"fr": "French.",
|
|
33960
|
+
"fr-CA": "French (Canada).",
|
|
33961
|
+
"fr-FR": "French (France).",
|
|
33962
|
+
"fy": "Frisian.",
|
|
33963
|
+
"ga": "Irish.",
|
|
33964
|
+
"gaa": "Ga.",
|
|
33965
|
+
"gd": "Scottish Gaelic.",
|
|
33966
|
+
"gl": "Galician.",
|
|
33967
|
+
"gn": "Guarani.",
|
|
33968
|
+
"gom": "Goan Konkani.",
|
|
33969
|
+
"gu": "Gujarati.",
|
|
33970
|
+
"gv": "Manx.",
|
|
33971
|
+
"ha": "Hausa",
|
|
33972
|
+
"haw": "Hawaiian.",
|
|
33973
|
+
"he": "Hebrew.",
|
|
33974
|
+
"hi": "Hindi.",
|
|
33975
|
+
"hil": "Hiligaynon.",
|
|
33976
|
+
"hmn": "Hmong.",
|
|
33977
|
+
"hr": "Croatian.",
|
|
33978
|
+
"hrx": "Hunsrik.",
|
|
33979
|
+
"ht": "Haitian Creole.",
|
|
33980
|
+
"hu": "Hungarian.",
|
|
33981
|
+
"hy": "Armenian.",
|
|
33982
|
+
"id": "Indonesian.",
|
|
33983
|
+
"ig": "Igbo",
|
|
33984
|
+
"ilo": "Iloko.",
|
|
33985
|
+
"is": "Icelandic.",
|
|
33986
|
+
"it": "Italian.",
|
|
33987
|
+
"iw": "Hebrew.",
|
|
33988
|
+
"ja": "Japanese.",
|
|
33989
|
+
"jv": "Javanese.",
|
|
33990
|
+
"jw": "Javanese.",
|
|
33991
|
+
"ka": "Georgian.",
|
|
33992
|
+
"kk": "Kazakh.",
|
|
33993
|
+
"km": "Khmer.",
|
|
33994
|
+
"kn": "Kanada.",
|
|
33995
|
+
"ko": "Korean.",
|
|
33996
|
+
"kri": "Krio",
|
|
33997
|
+
"ku": "Kurdish (Kurmanji).",
|
|
33998
|
+
"ktu": "Kituba.",
|
|
33999
|
+
"ky": "Kirghiz.",
|
|
34000
|
+
"la": "Latin.",
|
|
34001
|
+
"lb": "Luxembourgish.",
|
|
34002
|
+
"lg": "Ganda (Luganda).",
|
|
34003
|
+
"li": "Limburgish.",
|
|
34004
|
+
"lij": "Ligurian.",
|
|
34005
|
+
"lmo": "Lombard.",
|
|
34006
|
+
"ln": "Lingala.",
|
|
34007
|
+
"lo": "Lao.",
|
|
34008
|
+
"lt": "Lithuanian.",
|
|
34009
|
+
"ltg": "Latgalian.",
|
|
34010
|
+
"luo": "Luo",
|
|
34011
|
+
"lus": "Mizo.",
|
|
34012
|
+
"lv": "Latvian.",
|
|
34013
|
+
"mai": "Maithili.",
|
|
34014
|
+
"mak": "Makassar.",
|
|
34015
|
+
"mg": "Malagasy.",
|
|
34016
|
+
"mi": "Maori.",
|
|
34017
|
+
"min": "Minangkabau.",
|
|
34018
|
+
"mk": "Macedonian.",
|
|
34019
|
+
"ml": "Malayalam.",
|
|
34020
|
+
"mn": "Mongolian.",
|
|
34021
|
+
"mr": "Marathi.",
|
|
34022
|
+
"ms": "Malay.",
|
|
34023
|
+
"mt": "Maltese.",
|
|
34024
|
+
"my": "Burmese.",
|
|
34025
|
+
"ne": "Nepali.",
|
|
34026
|
+
"new": "Nepali (Newar).",
|
|
34027
|
+
"nl": "Dutch.",
|
|
34028
|
+
"no": "Norwegian.",
|
|
34029
|
+
"nr": "Ndebele (South).",
|
|
34030
|
+
"nso": "Northern Sotho (Sepedi).",
|
|
34031
|
+
"nus": "Nuer.",
|
|
34032
|
+
"ny": "Chichewa (Nyanja).",
|
|
34033
|
+
"oc": "Occitan.",
|
|
34034
|
+
"om": "Oromo",
|
|
34035
|
+
"or": "Odia (Oria).",
|
|
34036
|
+
"pa": "Punjabi.",
|
|
34037
|
+
"pag": "Pangasinan.",
|
|
34038
|
+
"pam": "Kapampangan.",
|
|
34039
|
+
"pap": "Papiamento",
|
|
34040
|
+
"pl": "Polish.",
|
|
34041
|
+
"ps": "Pashto",
|
|
34042
|
+
"pt": "Portuguese.",
|
|
34043
|
+
"pt-BR": "Portuguese (Brazil).",
|
|
34044
|
+
"pt-PT": "Portuguese (Portugal).",
|
|
34045
|
+
"qu": "Quechuan.",
|
|
34046
|
+
"ro": "Romanian.",
|
|
34047
|
+
"rom": "Romani.",
|
|
34048
|
+
"rn": "Rundi",
|
|
34049
|
+
"ru": "Russian.",
|
|
34050
|
+
"rw": "Kinyarwanda.",
|
|
34051
|
+
"sa": "Sanskrit.",
|
|
34052
|
+
"scn": "Sicilian.",
|
|
34053
|
+
"sd": "Sindhi.",
|
|
34054
|
+
"sg": "Sango",
|
|
34055
|
+
"shn": "Shan.",
|
|
34056
|
+
"si": "Sinhalese.",
|
|
34057
|
+
"sk": "Slovak.",
|
|
34058
|
+
"sl": "Slovene.",
|
|
34059
|
+
"sm": "Samoan.",
|
|
34060
|
+
"sn": "Shona.",
|
|
34061
|
+
"so": "Somali.",
|
|
34062
|
+
"sq": "Albanian.",
|
|
34063
|
+
"sr": "Serbian.",
|
|
34064
|
+
"ss": "Swati.",
|
|
34065
|
+
"st": "Sesotho.",
|
|
34066
|
+
"su": "Sundanese.",
|
|
34067
|
+
"sv": "Swedish.",
|
|
34068
|
+
"sw": "Swahili.",
|
|
34069
|
+
"szl": "Silesian.",
|
|
34070
|
+
"ta": "Tamil.",
|
|
34071
|
+
"te": "Telugu.",
|
|
34072
|
+
"tet": "Tetum.",
|
|
34073
|
+
"tg": "Tajik.",
|
|
34074
|
+
"th": "Thai.",
|
|
34075
|
+
"ti": "Tigrinya.",
|
|
34076
|
+
"tk": "Turkmen.",
|
|
34077
|
+
"tl": " Filipino (Tagalog).",
|
|
34078
|
+
"tn": "Tswana.",
|
|
34079
|
+
"tr": "Turkish.",
|
|
34080
|
+
"ts": "Tsonga.",
|
|
34081
|
+
"tt": "Tatar.",
|
|
34082
|
+
"ug": "Uyghur.",
|
|
34083
|
+
"uk": "Ukrainian.",
|
|
34084
|
+
"ur": "Urdu.",
|
|
34085
|
+
"uz": "Uzbek.",
|
|
34086
|
+
"vi": "Vietnamese.",
|
|
34087
|
+
"xh": "Xhosa.",
|
|
34088
|
+
"yi": "Yiddish.",
|
|
34089
|
+
"yo": "Yoruba.",
|
|
34090
|
+
"yua": "Yucatec Maya.",
|
|
34091
|
+
"yue": "Cantonese.",
|
|
34092
|
+
"zh": "Simplified Chinese.",
|
|
34093
|
+
"zh-TW": "Chinese (Traditional).",
|
|
34094
|
+
"zu": "Zulu."
|
|
34095
|
+
* @type {string || null}
|
|
34096
|
+
*/
|
|
34097
|
+
this.Source = null;
|
|
34098
|
+
|
|
34099
|
+
/**
|
|
34100
|
+
* Target language. Valid values:
|
|
34101
|
+
"ab": "Abkhaz language.",
|
|
34102
|
+
"ace": "Acehnese.",
|
|
34103
|
+
"ach": "Acholi.",
|
|
34104
|
+
"af": "Afrikaans.",
|
|
34105
|
+
"ak": "Twi (Akan).",
|
|
34106
|
+
"am": "Amharic",
|
|
34107
|
+
"ar": "Arabic.",
|
|
34108
|
+
"as": "Assamese.",
|
|
34109
|
+
"ay": "Aymara.",
|
|
34110
|
+
"az": "Azerbaijani.",
|
|
34111
|
+
"ba": "Bashkir.",
|
|
34112
|
+
"ban": "Balinese",
|
|
34113
|
+
"bbc": "Batak Toba.",
|
|
34114
|
+
"bem": "Bemba",
|
|
34115
|
+
"bew": "Betawi",
|
|
34116
|
+
"bg": "Bulgarian.",
|
|
34117
|
+
"bho": "Bhojpuri.",
|
|
34118
|
+
"bik": "Bikol",
|
|
34119
|
+
"bm": "Bambara.",
|
|
34120
|
+
"bn": "Bengali.",
|
|
34121
|
+
"br": "Breton.",
|
|
34122
|
+
"bs": "Bosnian.",
|
|
34123
|
+
"btx": "Batak Karo.",
|
|
34124
|
+
"bts": "Batak Simalungun.",
|
|
34125
|
+
"bua": "Buryat.",
|
|
34126
|
+
"ca": "Catalan.",
|
|
34127
|
+
"ceb": "Cebuano.",
|
|
34128
|
+
"cgg": "Kiga",
|
|
34129
|
+
"chm": "Meadow Mari language.",
|
|
34130
|
+
"ckb": "Kurdish (Sorani).",
|
|
34131
|
+
"cnh": "Hakha Chin.",
|
|
34132
|
+
"co": "Corsican.",
|
|
34133
|
+
"crh": "Crimean Tatar.",
|
|
34134
|
+
"crs": "Seychellois Creole.",
|
|
34135
|
+
"cs": "Czech.",
|
|
34136
|
+
"cv": "Chuvash.",
|
|
34137
|
+
"cy": "Welsh.",
|
|
34138
|
+
"da": "Danish.",
|
|
34139
|
+
"de": "German.",
|
|
34140
|
+
"din": "Dinka",
|
|
34141
|
+
"doi": "Dogri.",
|
|
34142
|
+
"dov": "Dombe.",
|
|
34143
|
+
"dv": "Divehi.",
|
|
34144
|
+
"dz": "Dzongkha.",
|
|
34145
|
+
"ee": "Ewe",
|
|
34146
|
+
"el": "Greek.",
|
|
34147
|
+
"en": "English.",
|
|
34148
|
+
"eo": "Esperanto.",
|
|
34149
|
+
"es": "Spanish.",
|
|
34150
|
+
"et": "Estonian.",
|
|
34151
|
+
"eu": "Basque.",
|
|
34152
|
+
"fa": "Persian.",
|
|
34153
|
+
"ff": "Fula.",
|
|
34154
|
+
"fi": "Finnish.",
|
|
34155
|
+
"fil": "Filipino (Tagalog).",
|
|
34156
|
+
"fj": "Fijian.",
|
|
34157
|
+
"fr": "French.",
|
|
34158
|
+
"fr-CA": "French (Canada).",
|
|
34159
|
+
"fr-FR": "French (France).",
|
|
34160
|
+
"fy": "Frisian.",
|
|
34161
|
+
"ga": "Irish.",
|
|
34162
|
+
"gaa": "Ga.",
|
|
34163
|
+
"gd": "Scottish Gaelic.",
|
|
34164
|
+
"gl": "Galician.",
|
|
34165
|
+
"gn": "Guarani.",
|
|
34166
|
+
"gom": "Goan Konkani.",
|
|
34167
|
+
"gu": "Gujarati.",
|
|
34168
|
+
"gv": "Manx.",
|
|
34169
|
+
"ha": "Hausa",
|
|
34170
|
+
"haw": "Hawaiian.",
|
|
34171
|
+
"he": "Hebrew.",
|
|
34172
|
+
"hi": "Hindi.",
|
|
34173
|
+
"hil": "Hiligaynon.",
|
|
34174
|
+
"hmn": "Hmong.",
|
|
34175
|
+
"hr": "Croatian.",
|
|
34176
|
+
"hrx": "Hunsrik.",
|
|
34177
|
+
"ht": "Haitian Creole.",
|
|
34178
|
+
"hu": "Hungarian.",
|
|
34179
|
+
"hy": "Armenian.",
|
|
34180
|
+
"id": "Indonesian.",
|
|
34181
|
+
"ig": "Igbo",
|
|
34182
|
+
"ilo": "Iloko.",
|
|
34183
|
+
"is": "Icelandic.",
|
|
34184
|
+
"it": "Italian.",
|
|
34185
|
+
"iw": "Hebrew.",
|
|
34186
|
+
"ja": "Japanese.",
|
|
34187
|
+
"jv": "Javanese.",
|
|
34188
|
+
"jw": "Javanese.",
|
|
34189
|
+
"ka": "Georgian.",
|
|
34190
|
+
"kk": "Kazakh.",
|
|
34191
|
+
"km": "Khmer.",
|
|
34192
|
+
"kn": "Kanada.",
|
|
34193
|
+
"ko": "Korean.",
|
|
34194
|
+
"kri": "Krio",
|
|
34195
|
+
"ku": "Kurdish (Kurmanji).",
|
|
34196
|
+
"ktu": "Kituba.",
|
|
34197
|
+
"ky": "Kirghiz.",
|
|
34198
|
+
"la": "Latin.",
|
|
34199
|
+
"lb": "Luxembourgish.",
|
|
34200
|
+
"lg": "Ganda (Luganda).",
|
|
34201
|
+
"li": "Limburgish.",
|
|
34202
|
+
"lij": "Ligurian.",
|
|
34203
|
+
"lmo": "Lombard.",
|
|
34204
|
+
"ln": "Lingala.",
|
|
34205
|
+
"lo": "Lao.",
|
|
34206
|
+
"lt": "Lithuanian.",
|
|
34207
|
+
"ltg": "Latgalian.",
|
|
34208
|
+
"luo": "Luo",
|
|
34209
|
+
"lus": "Mizo.",
|
|
34210
|
+
"lv": "Latvian.",
|
|
34211
|
+
"mai": "Maithili.",
|
|
34212
|
+
"mak": "Makassar.",
|
|
34213
|
+
"mg": "Malagasy.",
|
|
34214
|
+
"mi": "Maori.",
|
|
34215
|
+
"min": "Minangkabau.",
|
|
34216
|
+
"mk": "Macedonian.",
|
|
34217
|
+
"ml": "Malayalam.",
|
|
34218
|
+
"mn": "Mongolian.",
|
|
34219
|
+
"mr": "Marathi.",
|
|
34220
|
+
"ms": "Malay.",
|
|
34221
|
+
"mt": "Maltese.",
|
|
34222
|
+
"my": "Burmese.",
|
|
34223
|
+
"ne": "Nepali.",
|
|
34224
|
+
"new": "Nepali (Newar).",
|
|
34225
|
+
"nl": "Dutch.",
|
|
34226
|
+
"no": "Norwegian.",
|
|
34227
|
+
"nr": "Ndebele (South).",
|
|
34228
|
+
"nso": "Northern Sotho (Sepedi).",
|
|
34229
|
+
"nus": "Nuer.",
|
|
34230
|
+
"ny": "Chichewa (Nyanja).",
|
|
34231
|
+
"oc": "Occitan.",
|
|
34232
|
+
"om": "Oromo",
|
|
34233
|
+
"or": "Odia (Oria).",
|
|
34234
|
+
"pa": "Punjabi.",
|
|
34235
|
+
"pag": "Pangasinan.",
|
|
34236
|
+
"pam": "Kapampangan.",
|
|
34237
|
+
"pap": "Papiamento",
|
|
34238
|
+
"pl": "Polish.",
|
|
34239
|
+
"ps": "Pashto",
|
|
34240
|
+
"pt": "Portuguese.",
|
|
34241
|
+
"pt-BR": "Portuguese (Brazil).",
|
|
34242
|
+
"pt-PT": "Portuguese (Portugal).",
|
|
34243
|
+
"qu": "Quechuan.",
|
|
34244
|
+
"ro": "Romanian.",
|
|
34245
|
+
"rom": "Romani.",
|
|
34246
|
+
"rn": "Rundi",
|
|
34247
|
+
"ru": "Russian.",
|
|
34248
|
+
"rw": "Kinyarwanda.",
|
|
34249
|
+
"sa": "Sanskrit.",
|
|
34250
|
+
"scn": "Sicilian.",
|
|
34251
|
+
"sd": "Sindhi.",
|
|
34252
|
+
"sg": "Sango",
|
|
34253
|
+
"shn": "Shan.",
|
|
34254
|
+
"si": "Sinhalese.",
|
|
34255
|
+
"sk": "Slovak.",
|
|
34256
|
+
"sl": "Slovene.",
|
|
34257
|
+
"sm": "Samoan.",
|
|
34258
|
+
"sn": "Shona.",
|
|
34259
|
+
"so": "Somali.",
|
|
34260
|
+
"sq": "Albanian.",
|
|
34261
|
+
"sr": "Serbian.",
|
|
34262
|
+
"ss": "Swati.",
|
|
34263
|
+
"st": "Sesotho.",
|
|
34264
|
+
"su": "Sundanese.",
|
|
34265
|
+
"sv": "Swedish.",
|
|
34266
|
+
"sw": "Swahili.",
|
|
34267
|
+
"szl": "Silesian.",
|
|
34268
|
+
"ta": "Tamil.",
|
|
34269
|
+
"te": "Telugu.",
|
|
34270
|
+
"tet": "Tetum.",
|
|
34271
|
+
"tg": "Tajik.",
|
|
34272
|
+
"th": "Thai.",
|
|
34273
|
+
"ti": "Tigrinya.",
|
|
34274
|
+
"tk": "Turkmen.",
|
|
34275
|
+
"tl": " Filipino (Tagalog).",
|
|
34276
|
+
"tn": "Tswana.",
|
|
34277
|
+
"tr": "Turkish.",
|
|
34278
|
+
"ts": "Tsonga.",
|
|
34279
|
+
"tt": "Tatar.",
|
|
34280
|
+
"ug": "Uyghur.",
|
|
34281
|
+
"uk": "Ukrainian.",
|
|
34282
|
+
"ur": "Urdu.",
|
|
34283
|
+
"uz": "Uzbek.",
|
|
34284
|
+
"vi": "Vietnamese.",
|
|
34285
|
+
"xh": "Xhosa.",
|
|
34286
|
+
"yi": "Yiddish.",
|
|
34287
|
+
"yo": "Yoruba.",
|
|
34288
|
+
"yua": "Yucatec Maya.",
|
|
34289
|
+
"yue": "Cantonese.",
|
|
34290
|
+
"zh": "Simplified Chinese.",
|
|
34291
|
+
"zh-TW": "Chinese (Traditional).",
|
|
34292
|
+
"zu": "Zulu."
|
|
34293
|
+
* @type {string || null}
|
|
34294
|
+
*/
|
|
34295
|
+
this.Target = null;
|
|
34296
|
+
|
|
34297
|
+
/**
|
|
34298
|
+
* User extension parameter.
|
|
34299
|
+
* @type {string || null}
|
|
34300
|
+
*/
|
|
34301
|
+
this.UserExtPara = null;
|
|
34302
|
+
|
|
34303
|
+
}
|
|
34304
|
+
|
|
34305
|
+
/**
|
|
34306
|
+
* @private
|
|
34307
|
+
*/
|
|
34308
|
+
deserialize(params) {
|
|
34309
|
+
if (!params) {
|
|
34310
|
+
return;
|
|
34311
|
+
}
|
|
34312
|
+
this.SourceText = 'SourceText' in params ? params.SourceText : null;
|
|
34313
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
34314
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
34315
|
+
this.UserExtPara = 'UserExtPara' in params ? params.UserExtPara : null;
|
|
34316
|
+
|
|
34317
|
+
}
|
|
34318
|
+
}
|
|
34319
|
+
|
|
32988
34320
|
/**
|
|
32989
34321
|
* DescribeSampleSnapshotTemplates response structure.
|
|
32990
34322
|
* @class
|
|
@@ -36508,6 +37840,55 @@ class UpdateSmartErasePrivacyConfig extends AbstractModel {
|
|
|
36508
37840
|
}
|
|
36509
37841
|
}
|
|
36510
37842
|
|
|
37843
|
+
/**
|
|
37844
|
+
* TextTranslation response structure.
|
|
37845
|
+
* @class
|
|
37846
|
+
*/
|
|
37847
|
+
class TextTranslationResponse extends AbstractModel {
|
|
37848
|
+
constructor(){
|
|
37849
|
+
super();
|
|
37850
|
+
|
|
37851
|
+
/**
|
|
37852
|
+
* Text after translation.
|
|
37853
|
+
* @type {string || null}
|
|
37854
|
+
*/
|
|
37855
|
+
this.TargetText = null;
|
|
37856
|
+
|
|
37857
|
+
/**
|
|
37858
|
+
* Source language. See the input parameter Source.
|
|
37859
|
+
* @type {string || null}
|
|
37860
|
+
*/
|
|
37861
|
+
this.Source = null;
|
|
37862
|
+
|
|
37863
|
+
/**
|
|
37864
|
+
* Target language. See the input parameter Target.
|
|
37865
|
+
* @type {string || null}
|
|
37866
|
+
*/
|
|
37867
|
+
this.Target = null;
|
|
37868
|
+
|
|
37869
|
+
/**
|
|
37870
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
37871
|
+
* @type {string || null}
|
|
37872
|
+
*/
|
|
37873
|
+
this.RequestId = null;
|
|
37874
|
+
|
|
37875
|
+
}
|
|
37876
|
+
|
|
37877
|
+
/**
|
|
37878
|
+
* @private
|
|
37879
|
+
*/
|
|
37880
|
+
deserialize(params) {
|
|
37881
|
+
if (!params) {
|
|
37882
|
+
return;
|
|
37883
|
+
}
|
|
37884
|
+
this.TargetText = 'TargetText' in params ? params.TargetText : null;
|
|
37885
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
37886
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
37887
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
37888
|
+
|
|
37889
|
+
}
|
|
37890
|
+
}
|
|
37891
|
+
|
|
36511
37892
|
/**
|
|
36512
37893
|
* ModifyLiveRecordTemplate request structure.
|
|
36513
37894
|
* @class
|
|
@@ -36620,33 +38001,173 @@ Length limit: 256 characters.
|
|
|
36620
38001
|
|
|
36621
38002
|
/**
|
|
36622
38003
|
* Source language of the video with smart subtitles.
|
|
36623
|
-
|
|
36624
|
-
`zh`: Simplified Chinese.
|
|
36625
|
-
`yue`: Cantonese.
|
|
36626
|
-
`zh-PY`: Chinese, English, and Cantonese.
|
|
36627
|
-
`zh_medical`: Chinese (medical scenario).
|
|
36628
|
-
`zh_dialect`: Chinese dialect.
|
|
36629
|
-
`prime_zh`: Chinese, English, and Chinese dialects.
|
|
38004
|
+
OCR recognition only supports the following languages:
|
|
36630
38005
|
`zh_en`: Chinese and English.
|
|
38006
|
+
`multi`: others.
|
|
38007
|
+
ASR recognition and pure subtitle translation currently support the following languages:
|
|
38008
|
+
`auto`: automatic recognition (it is only supported in pure subtitle translation).
|
|
38009
|
+
`zh`: Simplified Chinese.
|
|
36631
38010
|
`en`: English.
|
|
36632
38011
|
`ja`: Japanese.
|
|
36633
38012
|
`ko`: Korean.
|
|
36634
|
-
`
|
|
36635
|
-
`
|
|
36636
|
-
`it`: Italian.
|
|
36637
|
-
`de`: German.
|
|
36638
|
-
`tr`: Turkish.
|
|
36639
|
-
`ru`: Russian.
|
|
36640
|
-
`pt`: Portuguese (Brazil).
|
|
36641
|
-
`pt-PT`: Portuguese (Portugal).
|
|
38013
|
+
`zh-PY`: Chinese, English, and Cantonese.
|
|
38014
|
+
`zh_medical`: Chinese (medical scenario).
|
|
36642
38015
|
`vi`: Vietnamese.
|
|
36643
|
-
`id`: Indonesian.
|
|
36644
38016
|
`ms`: Malay.
|
|
38017
|
+
`id`: Indonesian.
|
|
38018
|
+
`fil`: Filipino.
|
|
36645
38019
|
`th`: Thai.
|
|
38020
|
+
`pt`: Portuguese.
|
|
38021
|
+
`tr`: Turkish.
|
|
36646
38022
|
`ar`: Arabic.
|
|
38023
|
+
`es`: Spanish.
|
|
36647
38024
|
`hi`: Hindi.
|
|
36648
|
-
`
|
|
36649
|
-
`
|
|
38025
|
+
`fr`: French.
|
|
38026
|
+
`de`: German.
|
|
38027
|
+
`it`: Italian.
|
|
38028
|
+
`zh_dialect`: Chinese dialect.
|
|
38029
|
+
`zh_en`: Chinese and English.
|
|
38030
|
+
`yue`: Cantonese.
|
|
38031
|
+
`ru`: Russian.
|
|
38032
|
+
`prime_zh`: Chinese, English, and Chinese dialects.
|
|
38033
|
+
`af-ZA`: Afrikaans (South Africa).
|
|
38034
|
+
`sq-AL`: Albanian (Albania).
|
|
38035
|
+
`am-ET`: Amharic (Ethiopia).
|
|
38036
|
+
`ar-DZ`: Arabic (Algeria).
|
|
38037
|
+
`ar-BH`: Arabic (Bahrain).
|
|
38038
|
+
`ar-EG`: Arabic (Egypt).
|
|
38039
|
+
`ar-IQ`: Arabic (Iraq).
|
|
38040
|
+
`ar-IL`: Arabic (Israel).
|
|
38041
|
+
`ar-JO`: Arabic (Jordan).
|
|
38042
|
+
`ar-KW`: Arabic (Kuwait).
|
|
38043
|
+
`ar-LB`: Arabic (Lebanon).
|
|
38044
|
+
`ar-MR`: Arabic (Mauritania).
|
|
38045
|
+
`ar-MA`: Arabic (Morocco).
|
|
38046
|
+
`ar-OM`: Arabic (Oman).
|
|
38047
|
+
`ar-QA`: Arabic (Qatar).
|
|
38048
|
+
`ar-SA`: Arabic (Saudi Arabia).
|
|
38049
|
+
`ar-PS`: Arabic (State of Palestine).
|
|
38050
|
+
`ar-SY`: Arabic (Syria).
|
|
38051
|
+
`ar-TN`: Arabic (Tunisia).
|
|
38052
|
+
`ar-AE`: Arabic (United Arab Emirates).
|
|
38053
|
+
`ar-YE`: Arabic (Yemen).
|
|
38054
|
+
`hy-AM`: Armenian (Armenia).
|
|
38055
|
+
`az-AZ`: Azerbaijani (Azerbaijan).
|
|
38056
|
+
`eu-ES`: Basque (Spain).
|
|
38057
|
+
`bn-BD`: Bengali (Bangladesh).
|
|
38058
|
+
`bn-IN`: Bengali (India).
|
|
38059
|
+
`bs-BA`: Bosnian (Bosnia and Herzegovina).
|
|
38060
|
+
`bg-BG`: Bulgarian (Bulgaria).
|
|
38061
|
+
`my-MM`: Burmese (Myanmar).
|
|
38062
|
+
`ca-ES`: Catalan (Spain).
|
|
38063
|
+
`hr-HR`: Croatian (Croatia).
|
|
38064
|
+
`cs-CZ`: Czech (Czech Republic).
|
|
38065
|
+
`da-DK`: Danish (Denmark).
|
|
38066
|
+
`nl-BE`: Dutch (Belgium).
|
|
38067
|
+
`nl-NL`: Dutch (Holland).
|
|
38068
|
+
`en-AU`: English (Australia).
|
|
38069
|
+
`en-CA`: English (Canada).
|
|
38070
|
+
`en-GH`: English (Ghana).
|
|
38071
|
+
`en-HK`: English (Hong Kong (China)).
|
|
38072
|
+
`en-IN`: English (India).
|
|
38073
|
+
`en-IE`: English (Ireland).
|
|
38074
|
+
`en-KE`: English (Kenya).
|
|
38075
|
+
`en-NZ`: English (New Zealand).
|
|
38076
|
+
`en-NG`: English (Nigeria).
|
|
38077
|
+
`en-PK`: English (Pakistan).
|
|
38078
|
+
`en-PH`: English (Philippines).
|
|
38079
|
+
`en-SG`: English (Singapore).
|
|
38080
|
+
`en-ZA`: English (South Africa).
|
|
38081
|
+
`en-TZ`: English (Tanzania).
|
|
38082
|
+
`en-GB`: English (UK).
|
|
38083
|
+
`en-US`: English (US).
|
|
38084
|
+
`et-EE`: Estonian (Estonia).
|
|
38085
|
+
`fil-PH`: Filipino (Philippines).
|
|
38086
|
+
`fi-FI`: Finnish (Finland).
|
|
38087
|
+
`fr-BE`: French (Belgium).
|
|
38088
|
+
`fr-CA`: French (Canada).
|
|
38089
|
+
`fr-FR`: French (France).
|
|
38090
|
+
`fr-CH`: French (Switzerland).
|
|
38091
|
+
`gl-ES`: Galician (Spain).
|
|
38092
|
+
`ka-GE`: Georgian (Georgia).
|
|
38093
|
+
`el-GR`: Greek (Greece).
|
|
38094
|
+
`gu-IN`: Gujarati (India).
|
|
38095
|
+
`iw-IL`: Hebrew (Israel).
|
|
38096
|
+
`hi-IN`: Hindi (India).
|
|
38097
|
+
`hu-HU`: Hungarian (Hungary).
|
|
38098
|
+
`is-IS`: Icelandic (Iceland).
|
|
38099
|
+
`id-ID`: Indonesian (Indonesia).
|
|
38100
|
+
`it-IT`: Italian (Italy).
|
|
38101
|
+
`it-CH`: Italian (Switzerland).
|
|
38102
|
+
`ja-JP`: Japanese (Japan).
|
|
38103
|
+
`jv-ID`: Javanese (Indonesia).
|
|
38104
|
+
`kn-IN`: Kannada (India).
|
|
38105
|
+
`kk-KZ`: Kazakh (Kazakhstan).
|
|
38106
|
+
`km-KH`: Khmer (Cambodia).
|
|
38107
|
+
`rw-RW`: Kinyarwanda (Rwanda).
|
|
38108
|
+
`ko-KR`: Korean (South Korea).
|
|
38109
|
+
`lo-LA`: Lao (Laos).
|
|
38110
|
+
`lv-LV`: Latvian (Latvia).
|
|
38111
|
+
`lt-LT`: Lithuanian (Lithuania).
|
|
38112
|
+
`mk-MK`: Macedonian (North Macedonia).
|
|
38113
|
+
`ms-MY`: Malay (Malaysia).
|
|
38114
|
+
`ml-IN`: Malayalam (India).
|
|
38115
|
+
`mr-IN`: Marathi (India).
|
|
38116
|
+
`mn-MN`: Mongolian (Mongolia).
|
|
38117
|
+
`ne-NP`: Nepali (Nepal).
|
|
38118
|
+
`no-NO`: Bokmål Norwegian (Norway).
|
|
38119
|
+
`fa-IR`: Persian (Iran).
|
|
38120
|
+
`pl-PL`: Polish (Poland).
|
|
38121
|
+
`pt-BR`: Portuguese (Brazil).
|
|
38122
|
+
`pt-PT`: Portuguese (Portugal).
|
|
38123
|
+
`ro-RO`: Romanian (Romania).
|
|
38124
|
+
`ru-RU`: Russian (Russia).
|
|
38125
|
+
`sr-RS`: Serbian (Serbia).
|
|
38126
|
+
`si-LK`: Sinhalese (Sri Lanka).
|
|
38127
|
+
`sk-SK`: Slovak (Slovakia).
|
|
38128
|
+
`sl-SI`: Slovenian (Slovenia).
|
|
38129
|
+
`st-ZA`: Sesotho (South Africa).
|
|
38130
|
+
`es-AR`: Spanish (Argentina).
|
|
38131
|
+
`es-BO`: Spanish (Bolivia).
|
|
38132
|
+
`es-CL`: Spanish (Chile).
|
|
38133
|
+
`es-CO`: Spanish (Colombia).
|
|
38134
|
+
`es-CR`: Spanish (Costa Rica).
|
|
38135
|
+
`es-DO`: Spanish (Dominican Republic).
|
|
38136
|
+
`es-EC`: Spanish (Ecuador).
|
|
38137
|
+
`es-SV`: Spanish (El Salvador).
|
|
38138
|
+
`es-GT`: Spanish (Guatemala).
|
|
38139
|
+
`es-HN`: Spanish (Honduras).
|
|
38140
|
+
`es-MX`: Spanish (Mexico).
|
|
38141
|
+
`es-NI`: Spanish (Nicaragua).
|
|
38142
|
+
`es-PA`: Spanish (Panama).
|
|
38143
|
+
`es-PY`: Spanish (Paraguay).
|
|
38144
|
+
`es-PE`: Spanish (Peru).
|
|
38145
|
+
`es-PR`: Spanish (Puerto Rico).
|
|
38146
|
+
`es-ES`: Spanish (Spain).
|
|
38147
|
+
`es-US`: Spanish (US).
|
|
38148
|
+
`es-UY`: Spanish (Uruguay).
|
|
38149
|
+
`es-VE`: Spanish (Venezuela).
|
|
38150
|
+
`su-ID`: Sundanese (Indonesia).
|
|
38151
|
+
`sw-KE`: Swahili (Kenya).
|
|
38152
|
+
`sw-TZ`: Swahili (Tanzania).
|
|
38153
|
+
`sv-SE`: Swedish (Sweden).
|
|
38154
|
+
`ta-IN`: Tamil (India).
|
|
38155
|
+
`ta-MY`: Tamil (Malaysia).
|
|
38156
|
+
`ta-SG`: Tamil (Singapore).
|
|
38157
|
+
`ta-LK`: Tamil (Sri Lanka).
|
|
38158
|
+
`te-IN`: Telugu (India).
|
|
38159
|
+
`th-TH`: Thai (Thailand).
|
|
38160
|
+
`ts-ZA`: Tsonga (South Africa).
|
|
38161
|
+
`tr-TR`: Turkish (Turkey).
|
|
38162
|
+
`uk-UA`: Ukrainian (Ukraine).
|
|
38163
|
+
`ur-IN`: Urdu (India).
|
|
38164
|
+
`ur-PK`: Urdu (Pakistan).
|
|
38165
|
+
`uz-UZ`: Uzbek (Uzbekistan).
|
|
38166
|
+
`ve-ZA`: Venda (South Africa).
|
|
38167
|
+
`vi-VN`: Vietnamese (Vietnam).
|
|
38168
|
+
`xh-ZA`: Xhosa (South Africa).
|
|
38169
|
+
`zu-ZA`: Zulu (South Africa).
|
|
38170
|
+
|
|
36650
38171
|
* @type {string || null}
|
|
36651
38172
|
*/
|
|
36652
38173
|
this.VideoSrcLanguage = null;
|
|
@@ -36661,9 +38182,12 @@ Currently, the following languages are supported:
|
|
|
36661
38182
|
- original: consistent with the source file.
|
|
36662
38183
|
- vtt: WebVTT format subtitle.
|
|
36663
38184
|
- srt: SRT format subtitle.
|
|
38185
|
+
- Under the OCR recognition and translation processing type:
|
|
38186
|
+
- vtt: WebVTT format subtitle.
|
|
38187
|
+
- srt: SRT format subtitle.
|
|
36664
38188
|
**Note**:
|
|
36665
38189
|
- For ASR recognition mode, when 2 or more languages are involved in translation, this field cannot be unspecified or left blank.
|
|
36666
|
-
- For pure subtitle translation mode, this field cannot be unspecified or left blank.
|
|
38190
|
+
- For pure subtitle translation and OCR recognition mode, this field cannot be unspecified or left blank.
|
|
36667
38191
|
* @type {string || null}
|
|
36668
38192
|
*/
|
|
36669
38193
|
this.SubtitleFormat = null;
|
|
@@ -36686,28 +38210,199 @@ The value can only be 0 when TranslateSwitch is set to OFF. The value can only b
|
|
|
36686
38210
|
|
|
36687
38211
|
/**
|
|
36688
38212
|
* Target language for subtitle translation.
|
|
36689
|
-
This field is valid when the value of TranslateSwitch is ON.
|
|
36690
|
-
|
|
36691
|
-
`
|
|
36692
|
-
`
|
|
38213
|
+
This field is valid when the value of TranslateSwitch is ON. List of translation languages:
|
|
38214
|
+
`ab`: Abkhaz language.
|
|
38215
|
+
`ace`: Acehnese.
|
|
38216
|
+
`ach`: Acholi.
|
|
38217
|
+
`af`: Afrikaans.
|
|
38218
|
+
`ak`: Twi (Akan).
|
|
38219
|
+
`am`: Amharic.
|
|
38220
|
+
`ar`: Arabic.
|
|
38221
|
+
`as`: Assamese.
|
|
38222
|
+
`ay`: Aymara.
|
|
38223
|
+
`az`: Azerbaijani.
|
|
38224
|
+
`ba`: Bashkir.
|
|
38225
|
+
`ban`: Balinese.
|
|
38226
|
+
`bbc`: Batak Toba.
|
|
38227
|
+
`bem`: Bemba.
|
|
38228
|
+
`bew`: Betawi.
|
|
38229
|
+
`bg`: Bulgarian.
|
|
38230
|
+
`bho`: Bhojpuri.
|
|
38231
|
+
`bik`: Bikol.
|
|
38232
|
+
`bm`: Bambara.
|
|
38233
|
+
`bn`: Bengali.
|
|
38234
|
+
`br`: Breton.
|
|
38235
|
+
`bs`: Bosnian.
|
|
38236
|
+
`btx`: Batak Karo.
|
|
38237
|
+
`bts`: Batak Simalungun.
|
|
38238
|
+
`bua`: Buryat.
|
|
38239
|
+
`ca`: Catalan.
|
|
38240
|
+
`ceb`: Cebuano.
|
|
38241
|
+
`cgg`: Kiga
|
|
38242
|
+
`chm`: Meadow Mari language.
|
|
38243
|
+
`ckb`: Kurdish (Sorani).
|
|
38244
|
+
`cnh`: Hakha Chin.
|
|
38245
|
+
`co`: Corsican.
|
|
38246
|
+
`crh`: Crimean Tatar.
|
|
38247
|
+
`crs`: Seychellois Creole.
|
|
38248
|
+
`cs`: Czech.
|
|
38249
|
+
`cv`: Chuvash.
|
|
38250
|
+
`cy`: Welsh.
|
|
38251
|
+
`da`: Danish.
|
|
38252
|
+
`de`: German.
|
|
38253
|
+
`din`: Dinka.
|
|
38254
|
+
`doi`: Dogri.
|
|
38255
|
+
`dov`: Dombe.
|
|
38256
|
+
`dv`: Divehi.
|
|
38257
|
+
`dz`: Dzongkha.
|
|
38258
|
+
`ee`: Ewe.
|
|
38259
|
+
`el`: Greek.
|
|
36693
38260
|
`en`: English.
|
|
36694
|
-
`
|
|
36695
|
-
`ko`: Korean.
|
|
36696
|
-
`fr`: French.
|
|
38261
|
+
`eo`: Esperanto.
|
|
36697
38262
|
`es`: Spanish.
|
|
36698
|
-
`
|
|
36699
|
-
`
|
|
36700
|
-
`
|
|
36701
|
-
`
|
|
36702
|
-
`
|
|
36703
|
-
`
|
|
36704
|
-
`
|
|
38263
|
+
`et`: Estonian.
|
|
38264
|
+
`eu`: Basque.
|
|
38265
|
+
`fa`: Persian.
|
|
38266
|
+
`ff`: Fula.
|
|
38267
|
+
`fi`: Finnish.
|
|
38268
|
+
`fil`: Filipino (Tagalog).
|
|
38269
|
+
`fj`: Fijian.
|
|
38270
|
+
`fr`: French.
|
|
38271
|
+
`fr-CA`: French (Canada).
|
|
38272
|
+
`fr-FR`: French (France).
|
|
38273
|
+
`fy`: Frisian.
|
|
38274
|
+
`ga`: Irish.
|
|
38275
|
+
`gaa`: Ga.
|
|
38276
|
+
`gd`: Scottish Gaelic.
|
|
38277
|
+
`gl`: Galician.
|
|
38278
|
+
`gn`: Guaraní.
|
|
38279
|
+
`gom`: Goan Konkani.
|
|
38280
|
+
`gu`: Gujarati.
|
|
38281
|
+
`gv`: Manx.
|
|
38282
|
+
`ha`: Hausa.
|
|
38283
|
+
`haw`: Hawaiian.
|
|
38284
|
+
`he`: Hebrew.
|
|
38285
|
+
`hi`: Hindi.
|
|
38286
|
+
`hil`: Hiligaynon.
|
|
38287
|
+
`hmn`: Hmong.
|
|
38288
|
+
`hr`: Croatian.
|
|
38289
|
+
`hrx`: Hunsrik.
|
|
38290
|
+
`ht`: Haitian Creole.
|
|
38291
|
+
`hu`: Hungarian.
|
|
38292
|
+
`hy`: Armenian.
|
|
36705
38293
|
`id`: Indonesian.
|
|
38294
|
+
`ig`: Igbo.
|
|
38295
|
+
`ilo`: Iloko.
|
|
38296
|
+
`is`: Icelandic.
|
|
38297
|
+
`it`: Italian.
|
|
38298
|
+
`iw`: Hebrew.
|
|
38299
|
+
`ja`: Japanese.
|
|
38300
|
+
`jv`: Javanese.
|
|
38301
|
+
`jw`: Javanese.
|
|
38302
|
+
`ka`: Georgian.
|
|
38303
|
+
`kk`: Kazakh.
|
|
38304
|
+
`km`: Khmer.
|
|
38305
|
+
`kn`: Kannada.
|
|
38306
|
+
`ko`: Korean.
|
|
38307
|
+
`kri`: Krio.
|
|
38308
|
+
`ku`: Kurdish (Kurmanji).
|
|
38309
|
+
`ktu`: Kituba.
|
|
38310
|
+
`ky`: Kirghiz.
|
|
38311
|
+
`la`: Latin.
|
|
38312
|
+
`lb`: Luxembourgish.
|
|
38313
|
+
`lg`: Ganda (Luganda).
|
|
38314
|
+
`li`: Limburgish.
|
|
38315
|
+
`lij`: Ligurian.
|
|
38316
|
+
`lmo`: Lombard.
|
|
38317
|
+
`ln`: Lingala.
|
|
38318
|
+
`lo`: Lao.
|
|
38319
|
+
`lt`: Lithuanian.
|
|
38320
|
+
`ltg`: Latgalian.
|
|
38321
|
+
`luo`: Luo.
|
|
38322
|
+
`lus`: Mizo.
|
|
38323
|
+
`lv`: Latvian.
|
|
38324
|
+
`mai`: Maithili.
|
|
38325
|
+
`mak`: Makassar.
|
|
38326
|
+
`mg`: Malagasy.
|
|
38327
|
+
`mi`: Maori.
|
|
38328
|
+
`min`: Minangkabau.
|
|
38329
|
+
`mk`: Macedonian.
|
|
38330
|
+
`ml`: Malayalam.
|
|
38331
|
+
`mn`: Mongolian.
|
|
38332
|
+
`mr`: Marathi.
|
|
36706
38333
|
`ms`: Malay.
|
|
38334
|
+
`mt`: Maltese.
|
|
38335
|
+
`my`: Burnese.
|
|
38336
|
+
`ne`: Nepali.
|
|
38337
|
+
`new`: Newar.
|
|
38338
|
+
`nl`: Dutch.
|
|
38339
|
+
`no`: Norwegian.
|
|
38340
|
+
`nr`: Ndebele (South).
|
|
38341
|
+
`nso`: Northern Sotho (Sepedi).
|
|
38342
|
+
`nus`: Nuer.
|
|
38343
|
+
`ny`: Chichewa (Nyanja).
|
|
38344
|
+
`oc`: Occitan.
|
|
38345
|
+
`om`: Oromo.
|
|
38346
|
+
`or`: Odia.
|
|
38347
|
+
`pa`: Punjabi.
|
|
38348
|
+
`pag`: Pangasinan.
|
|
38349
|
+
`pam`: Kapampangan.
|
|
38350
|
+
`pap`: Papiamento.
|
|
38351
|
+
`pl`: Polish.
|
|
38352
|
+
`ps`: Pashto.
|
|
38353
|
+
`pt`: Portuguese.
|
|
38354
|
+
`pt-BR`: Portuguese (Brazil).
|
|
38355
|
+
`pt-PT`: Portuguese (Portugal).
|
|
38356
|
+
`qu`: Quechuan.
|
|
38357
|
+
`ro`: Romanian.
|
|
38358
|
+
`rom`: Romani.
|
|
38359
|
+
`rn`: Rundi.
|
|
38360
|
+
`ru`: Russian.
|
|
38361
|
+
`rw`: Kinyarwanda.
|
|
38362
|
+
`sa`: Sanskrit.
|
|
38363
|
+
`scn`: Sicilian.
|
|
38364
|
+
`sd`: Sindhi.
|
|
38365
|
+
`sg`: Sango.
|
|
38366
|
+
`shn`: Shan.
|
|
38367
|
+
`si`: Sinhalese.
|
|
38368
|
+
`sk`: Slovak.
|
|
38369
|
+
`sl`: Slovene.
|
|
38370
|
+
`sm`: Samoan.
|
|
38371
|
+
`sn`: Shona.
|
|
38372
|
+
`so`: Somali.
|
|
38373
|
+
`sq`: Albanian.
|
|
38374
|
+
`sr`: Serbian.
|
|
38375
|
+
`ss`: Swati.
|
|
38376
|
+
`st`: Sesotho.
|
|
38377
|
+
`su`: Sundanese.
|
|
38378
|
+
`sv`: Swedish.
|
|
38379
|
+
`sw`: Swahili.
|
|
38380
|
+
`szl`: Silesian.
|
|
38381
|
+
`ta`: Tamil.
|
|
38382
|
+
`te`: Telugu.
|
|
38383
|
+
`tet`: Tetum.
|
|
38384
|
+
`tg`: Tajik.
|
|
36707
38385
|
`th`: Thai.
|
|
36708
|
-
`
|
|
36709
|
-
`
|
|
36710
|
-
`
|
|
38386
|
+
`ti`: Tigrinya.
|
|
38387
|
+
`tk`: Turkmen.
|
|
38388
|
+
`tl`: Filipino (Tagalog).
|
|
38389
|
+
`tn`: Tswana.
|
|
38390
|
+
`tr`: Turkish.
|
|
38391
|
+
`ts`: Tsonga.
|
|
38392
|
+
`tt`: Tatar.
|
|
38393
|
+
`ug`: Uyghur.
|
|
38394
|
+
`uk`: Ukrainian.
|
|
38395
|
+
`ur`: Urdu.
|
|
38396
|
+
`uz`: Uzbek.
|
|
38397
|
+
`vi`: Vietnamese.
|
|
38398
|
+
`xh`: Xhosa.
|
|
38399
|
+
`yi`: Yiddish.
|
|
38400
|
+
`yo`: Yoruba.
|
|
38401
|
+
`yua`: Yucatec Maya.
|
|
38402
|
+
`yue`: Cantonese.
|
|
38403
|
+
`zh`: Simplified Chinese.
|
|
38404
|
+
`zh-TW`: Chinese (Traditional).
|
|
38405
|
+
`zu`: Zulu.
|
|
36711
38406
|
**Note**: Use `/` to separate multiple languages, such as `en/ja`, which indicates English and Japanese.
|
|
36712
38407
|
* @type {string || null}
|
|
36713
38408
|
*/
|
|
@@ -36717,6 +38412,7 @@ Currently, the following languages are supported:
|
|
|
36717
38412
|
* Subtitle processing type:
|
|
36718
38413
|
- 0: ASR recognition subtitle.
|
|
36719
38414
|
- 1: pure subtitle translation.
|
|
38415
|
+
- 2: OCR recognition subtitle.
|
|
36720
38416
|
**Note**: If the field is unspecified, ASR is used by default.
|
|
36721
38417
|
* @type {number || null}
|
|
36722
38418
|
*/
|
|
@@ -39623,6 +41319,7 @@ module.exports = {
|
|
|
39623
41319
|
DeleteAIRecognitionTemplateResponse: DeleteAIRecognitionTemplateResponse,
|
|
39624
41320
|
VideoEnhanceConfig: VideoEnhanceConfig,
|
|
39625
41321
|
DeleteContentReviewTemplateRequest: DeleteContentReviewTemplateRequest,
|
|
41322
|
+
SubtitleResult: SubtitleResult,
|
|
39626
41323
|
AiReviewPoliticalTaskInput: AiReviewPoliticalTaskInput,
|
|
39627
41324
|
ModifyContentReviewTemplateResponse: ModifyContentReviewTemplateResponse,
|
|
39628
41325
|
ModifyScheduleRequest: ModifyScheduleRequest,
|
|
@@ -39637,6 +41334,7 @@ module.exports = {
|
|
|
39637
41334
|
ParseLiveStreamProcessNotificationResponse: ParseLiveStreamProcessNotificationResponse,
|
|
39638
41335
|
SmartEraseTaskResult: SmartEraseTaskResult,
|
|
39639
41336
|
AiRecognitionTaskInput: AiRecognitionTaskInput,
|
|
41337
|
+
SmartSubtitleTaskTextResultOutput: SmartSubtitleTaskTextResultOutput,
|
|
39640
41338
|
AiAnalysisTaskFrameTagResult: AiAnalysisTaskFrameTagResult,
|
|
39641
41339
|
AudioTemplateInfo: AudioTemplateInfo,
|
|
39642
41340
|
DescribeBatchTaskDetailResponse: DescribeBatchTaskDetailResponse,
|
|
@@ -39973,6 +41671,7 @@ module.exports = {
|
|
|
39973
41671
|
PoliticalImgReviewTemplateInfoForUpdate: PoliticalImgReviewTemplateInfoForUpdate,
|
|
39974
41672
|
UserDefineOcrTextReviewTemplateInfo: UserDefineOcrTextReviewTemplateInfo,
|
|
39975
41673
|
AdaptiveStreamTemplate: AdaptiveStreamTemplate,
|
|
41674
|
+
SmartSubtitleTaskFullTextResult: SmartSubtitleTaskFullTextResult,
|
|
39976
41675
|
TranscodeTaskInput: TranscodeTaskInput,
|
|
39977
41676
|
SmartSubtitleTemplateItem: SmartSubtitleTemplateItem,
|
|
39978
41677
|
ModifyAIRecognitionTemplateRequest: ModifyAIRecognitionTemplateRequest,
|
|
@@ -40059,6 +41758,7 @@ module.exports = {
|
|
|
40059
41758
|
VolumeBalanceConfig: VolumeBalanceConfig,
|
|
40060
41759
|
AiReviewPoliticalTaskOutput: AiReviewPoliticalTaskOutput,
|
|
40061
41760
|
AiReviewTaskPoliticalResult: AiReviewTaskPoliticalResult,
|
|
41761
|
+
SelectingSubtitleAreasConfig: SelectingSubtitleAreasConfig,
|
|
40062
41762
|
AiRecognitionTaskTransTextResultOutput: AiRecognitionTaskTransTextResultOutput,
|
|
40063
41763
|
SmartSubtitlesResult: SmartSubtitlesResult,
|
|
40064
41764
|
ModifySnapshotByTimeOffsetTemplateRequest: ModifySnapshotByTimeOffsetTemplateRequest,
|
|
@@ -40096,6 +41796,7 @@ module.exports = {
|
|
|
40096
41796
|
PornConfigureInfoForUpdate: PornConfigureInfoForUpdate,
|
|
40097
41797
|
QualityControlData: QualityControlData,
|
|
40098
41798
|
DrmInfo: DrmInfo,
|
|
41799
|
+
TextTranslationRequest: TextTranslationRequest,
|
|
40099
41800
|
DescribeSampleSnapshotTemplatesResponse: DescribeSampleSnapshotTemplatesResponse,
|
|
40100
41801
|
DescribeProcessImageTemplatesRequest: DescribeProcessImageTemplatesRequest,
|
|
40101
41802
|
ComposeImageItem: ComposeImageItem,
|
|
@@ -40153,6 +41854,7 @@ module.exports = {
|
|
|
40153
41854
|
AiReviewPoliticalOcrTaskOutput: AiReviewPoliticalOcrTaskOutput,
|
|
40154
41855
|
OcrFullTextConfigureInfo: OcrFullTextConfigureInfo,
|
|
40155
41856
|
UpdateSmartErasePrivacyConfig: UpdateSmartErasePrivacyConfig,
|
|
41857
|
+
TextTranslationResponse: TextTranslationResponse,
|
|
40156
41858
|
ModifyLiveRecordTemplateRequest: ModifyLiveRecordTemplateRequest,
|
|
40157
41859
|
ModifySmartSubtitleTemplateRequest: ModifySmartSubtitleTemplateRequest,
|
|
40158
41860
|
DescribeTranscodeTemplatesResponse: DescribeTranscodeTemplatesResponse,
|