tencentcloud-sdk-python-asr 3.0.1416__py2.py3-none-any.whl → 3.0.1459__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/asr_client.py +32 -32
- tencentcloud/asr/v20190614/models.py +367 -365
- {tencentcloud_sdk_python_asr-3.0.1416.dist-info → tencentcloud_sdk_python_asr-3.0.1459.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_asr-3.0.1459.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_asr-3.0.1416.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_asr-3.0.1416.dist-info → tencentcloud_sdk_python_asr-3.0.1459.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_asr-3.0.1416.dist-info → tencentcloud_sdk_python_asr-3.0.1459.dist-info}/top_level.txt +0 -0
@@ -19,7 +19,7 @@ from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
20
20
|
|
21
21
|
class AsyncRecognitionTaskInfo(AbstractModel):
|
22
|
-
"""[音频流异步识别](https://cloud.tencent.com/document/api/1093/37824#AsyncRecognitionTasks)任务信息
|
22
|
+
r"""[音频流异步识别](https://cloud.tencent.com/document/api/1093/37824#AsyncRecognitionTasks)任务信息
|
23
23
|
|
24
24
|
"""
|
25
25
|
|
@@ -35,7 +35,7 @@ class AsyncRecognitionTaskInfo(AbstractModel):
|
|
35
35
|
|
36
36
|
@property
|
37
37
|
def TaskId(self):
|
38
|
-
"""任务ID
|
38
|
+
r"""任务ID
|
39
39
|
:rtype: int
|
40
40
|
"""
|
41
41
|
return self._TaskId
|
@@ -46,7 +46,7 @@ class AsyncRecognitionTaskInfo(AbstractModel):
|
|
46
46
|
|
47
47
|
@property
|
48
48
|
def Url(self):
|
49
|
-
"""音频流Url
|
49
|
+
r"""音频流Url
|
50
50
|
:rtype: str
|
51
51
|
"""
|
52
52
|
return self._Url
|
@@ -70,7 +70,7 @@ class AsyncRecognitionTaskInfo(AbstractModel):
|
|
70
70
|
|
71
71
|
|
72
72
|
class AsyncRecognitionTasks(AbstractModel):
|
73
|
-
"""[音频流异步识别任务列表](https://cloud.tencent.com/document/product/1093/52060#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
73
|
+
r"""[音频流异步识别任务列表](https://cloud.tencent.com/document/product/1093/52060#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
74
74
|
|
75
75
|
"""
|
76
76
|
|
@@ -84,7 +84,7 @@ class AsyncRecognitionTasks(AbstractModel):
|
|
84
84
|
|
85
85
|
@property
|
86
86
|
def Tasks(self):
|
87
|
-
"""任务列表
|
87
|
+
r"""任务列表
|
88
88
|
注意:此字段可能返回 null,表示取不到有效值。
|
89
89
|
:rtype: list of AsyncRecognitionTaskInfo
|
90
90
|
"""
|
@@ -113,7 +113,7 @@ class AsyncRecognitionTasks(AbstractModel):
|
|
113
113
|
|
114
114
|
|
115
115
|
class CloseAsyncRecognitionTaskRequest(AbstractModel):
|
116
|
-
"""CloseAsyncRecognitionTask请求参数结构体
|
116
|
+
r"""CloseAsyncRecognitionTask请求参数结构体
|
117
117
|
|
118
118
|
"""
|
119
119
|
|
@@ -126,7 +126,7 @@ class CloseAsyncRecognitionTaskRequest(AbstractModel):
|
|
126
126
|
|
127
127
|
@property
|
128
128
|
def TaskId(self):
|
129
|
-
"""语音流异步识别任务的唯一标识,在创建任务时会返回
|
129
|
+
r"""语音流异步识别任务的唯一标识,在创建任务时会返回
|
130
130
|
:rtype: int
|
131
131
|
"""
|
132
132
|
return self._TaskId
|
@@ -149,7 +149,7 @@ class CloseAsyncRecognitionTaskRequest(AbstractModel):
|
|
149
149
|
|
150
150
|
|
151
151
|
class CloseAsyncRecognitionTaskResponse(AbstractModel):
|
152
|
-
"""CloseAsyncRecognitionTask返回参数结构体
|
152
|
+
r"""CloseAsyncRecognitionTask返回参数结构体
|
153
153
|
|
154
154
|
"""
|
155
155
|
|
@@ -162,7 +162,7 @@ class CloseAsyncRecognitionTaskResponse(AbstractModel):
|
|
162
162
|
|
163
163
|
@property
|
164
164
|
def RequestId(self):
|
165
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
165
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
166
166
|
:rtype: str
|
167
167
|
"""
|
168
168
|
return self._RequestId
|
@@ -177,7 +177,7 @@ class CloseAsyncRecognitionTaskResponse(AbstractModel):
|
|
177
177
|
|
178
178
|
|
179
179
|
class CreateAsrKeyWordLibRequest(AbstractModel):
|
180
|
-
"""CreateAsrKeyWordLib请求参数结构体
|
180
|
+
r"""CreateAsrKeyWordLib请求参数结构体
|
181
181
|
|
182
182
|
"""
|
183
183
|
|
@@ -198,7 +198,7 @@ class CreateAsrKeyWordLibRequest(AbstractModel):
|
|
198
198
|
|
199
199
|
@property
|
200
200
|
def Name(self):
|
201
|
-
"""词表名称,长度在1-20之间
|
201
|
+
r"""词表名称,长度在1-20之间
|
202
202
|
仅限中英文数字-_
|
203
203
|
:rtype: str
|
204
204
|
"""
|
@@ -210,7 +210,7 @@ class CreateAsrKeyWordLibRequest(AbstractModel):
|
|
210
210
|
|
211
211
|
@property
|
212
212
|
def KeyWordFile(self):
|
213
|
-
"""词文件(纯文本文件)的二进制base64编码,以行分隔
|
213
|
+
r"""词文件(纯文本文件)的二进制base64编码,以行分隔
|
214
214
|
格式要求:TXT
|
215
215
|
每行只有一个词,不满足格式则报错无法上传
|
216
216
|
每个词限制**5个汉字,15个字符**,单个词库最多不超过100个词
|
@@ -238,7 +238,7 @@ class CreateAsrKeyWordLibRequest(AbstractModel):
|
|
238
238
|
|
239
239
|
|
240
240
|
class CreateAsrKeyWordLibResponse(AbstractModel):
|
241
|
-
"""CreateAsrKeyWordLib返回参数结构体
|
241
|
+
r"""CreateAsrKeyWordLib返回参数结构体
|
242
242
|
|
243
243
|
"""
|
244
244
|
|
@@ -254,7 +254,7 @@ class CreateAsrKeyWordLibResponse(AbstractModel):
|
|
254
254
|
|
255
255
|
@property
|
256
256
|
def Data(self):
|
257
|
-
"""词表ID数据
|
257
|
+
r"""词表ID数据
|
258
258
|
:rtype: :class:`tencentcloud.asr.v20190614.models.KeyWordLibIdData`
|
259
259
|
"""
|
260
260
|
return self._Data
|
@@ -265,7 +265,7 @@ class CreateAsrKeyWordLibResponse(AbstractModel):
|
|
265
265
|
|
266
266
|
@property
|
267
267
|
def RequestId(self):
|
268
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
268
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
269
269
|
:rtype: str
|
270
270
|
"""
|
271
271
|
return self._RequestId
|
@@ -283,7 +283,7 @@ class CreateAsrKeyWordLibResponse(AbstractModel):
|
|
283
283
|
|
284
284
|
|
285
285
|
class CreateAsrVocabRequest(AbstractModel):
|
286
|
-
"""CreateAsrVocab请求参数结构体
|
286
|
+
r"""CreateAsrVocab请求参数结构体
|
287
287
|
|
288
288
|
"""
|
289
289
|
|
@@ -309,7 +309,7 @@ class CreateAsrVocabRequest(AbstractModel):
|
|
309
309
|
|
310
310
|
@property
|
311
311
|
def Name(self):
|
312
|
-
"""热词表名称,长度在1-255之间
|
312
|
+
r"""热词表名称,长度在1-255之间
|
313
313
|
:rtype: str
|
314
314
|
"""
|
315
315
|
return self._Name
|
@@ -320,7 +320,7 @@ class CreateAsrVocabRequest(AbstractModel):
|
|
320
320
|
|
321
321
|
@property
|
322
322
|
def Description(self):
|
323
|
-
"""热词表描述,长度在0-1000之间
|
323
|
+
r"""热词表描述,长度在0-1000之间
|
324
324
|
:rtype: str
|
325
325
|
"""
|
326
326
|
return self._Description
|
@@ -331,7 +331,7 @@ class CreateAsrVocabRequest(AbstractModel):
|
|
331
331
|
|
332
332
|
@property
|
333
333
|
def WordWeights(self):
|
334
|
-
"""词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数或者100,数组长度不大于1000
|
334
|
+
r"""词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数或者100,数组长度不大于1000
|
335
335
|
注意:
|
336
336
|
- 热词权重设置为11时,当前热词将升级为超级热词,建议仅将重要且必须生效的热词设置到11,设置过多权重为11的热词将影响整体字准率。
|
337
337
|
- 热词权重设置为100时,当前热词开启热词增强同音替换功能(仅支持8k_zh,16k_zh),举例:热词配置“蜜制|100”时,与“蜜制”同拼音(mizhi)的“秘制”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。建议仅将重要且必须生效的热词设置到100,设置过多权重为100的热词将影响整体字准率。
|
@@ -345,7 +345,7 @@ class CreateAsrVocabRequest(AbstractModel):
|
|
345
345
|
|
346
346
|
@property
|
347
347
|
def WordWeightStr(self):
|
348
|
-
"""词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
348
|
+
r"""词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
349
349
|
当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略
|
350
350
|
:rtype: str
|
351
351
|
"""
|
@@ -377,7 +377,7 @@ class CreateAsrVocabRequest(AbstractModel):
|
|
377
377
|
|
378
378
|
|
379
379
|
class CreateAsrVocabResponse(AbstractModel):
|
380
|
-
"""CreateAsrVocab返回参数结构体
|
380
|
+
r"""CreateAsrVocab返回参数结构体
|
381
381
|
|
382
382
|
"""
|
383
383
|
|
@@ -393,7 +393,7 @@ class CreateAsrVocabResponse(AbstractModel):
|
|
393
393
|
|
394
394
|
@property
|
395
395
|
def VocabId(self):
|
396
|
-
"""词表ID,可用于获取词表信息
|
396
|
+
r"""词表ID,可用于获取词表信息
|
397
397
|
:rtype: str
|
398
398
|
"""
|
399
399
|
return self._VocabId
|
@@ -404,7 +404,7 @@ class CreateAsrVocabResponse(AbstractModel):
|
|
404
404
|
|
405
405
|
@property
|
406
406
|
def RequestId(self):
|
407
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
407
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
408
408
|
:rtype: str
|
409
409
|
"""
|
410
410
|
return self._RequestId
|
@@ -420,7 +420,7 @@ class CreateAsrVocabResponse(AbstractModel):
|
|
420
420
|
|
421
421
|
|
422
422
|
class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
423
|
-
"""CreateAsyncRecognitionTask请求参数结构体
|
423
|
+
r"""CreateAsyncRecognitionTask请求参数结构体
|
424
424
|
|
425
425
|
"""
|
426
426
|
|
@@ -476,7 +476,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
476
476
|
|
477
477
|
@property
|
478
478
|
def EngineType(self):
|
479
|
-
"""引擎模型类型。
|
479
|
+
r"""引擎模型类型。
|
480
480
|
• 16k_zh:中文普通话通用;
|
481
481
|
• 16k_en:英语;
|
482
482
|
• 16k_yue:粤语;
|
@@ -500,7 +500,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
500
500
|
|
501
501
|
@property
|
502
502
|
def Url(self):
|
503
|
-
"""语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
|
503
|
+
r"""语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
|
504
504
|
:rtype: str
|
505
505
|
"""
|
506
506
|
return self._Url
|
@@ -511,7 +511,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
511
511
|
|
512
512
|
@property
|
513
513
|
def CallbackUrl(self):
|
514
|
-
"""支持HTTP和HTTPS协议,用于接收识别结果,您需要自行搭建公网可调用的服务。回调格式&内容详见:[语音流异步识别回调说明](https://cloud.tencent.com/document/product/1093/52633)
|
514
|
+
r"""支持HTTP和HTTPS协议,用于接收识别结果,您需要自行搭建公网可调用的服务。回调格式&内容详见:[语音流异步识别回调说明](https://cloud.tencent.com/document/product/1093/52633)
|
515
515
|
:rtype: str
|
516
516
|
"""
|
517
517
|
return self._CallbackUrl
|
@@ -522,7 +522,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
522
522
|
|
523
523
|
@property
|
524
524
|
def SignToken(self):
|
525
|
-
"""用于生成回调通知中的签名
|
525
|
+
r"""用于生成回调通知中的签名
|
526
526
|
:rtype: str
|
527
527
|
"""
|
528
528
|
return self._SignToken
|
@@ -533,7 +533,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
533
533
|
|
534
534
|
@property
|
535
535
|
def FilterDirty(self):
|
536
|
-
"""是否过滤脏词(目前支持中文普通话引擎)。0:不过滤脏词;1:过滤脏词;2:将脏词替换为 * 。默认值为 0
|
536
|
+
r"""是否过滤脏词(目前支持中文普通话引擎)。0:不过滤脏词;1:过滤脏词;2:将脏词替换为 * 。默认值为 0
|
537
537
|
:rtype: int
|
538
538
|
"""
|
539
539
|
return self._FilterDirty
|
@@ -544,7 +544,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
544
544
|
|
545
545
|
@property
|
546
546
|
def FilterModal(self):
|
547
|
-
"""是否过滤语气词(目前支持中文普通话引擎)。0:不过滤语气词;1:部分过滤;2:严格过滤 。默认值为 0
|
547
|
+
r"""是否过滤语气词(目前支持中文普通话引擎)。0:不过滤语气词;1:部分过滤;2:严格过滤 。默认值为 0
|
548
548
|
:rtype: int
|
549
549
|
"""
|
550
550
|
return self._FilterModal
|
@@ -555,7 +555,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
555
555
|
|
556
556
|
@property
|
557
557
|
def FilterPunc(self):
|
558
|
-
"""是否过滤标点符号(目前支持中文普通话引擎)。 0:不过滤,1:过滤句末标点,2:过滤所有标点。默认为0
|
558
|
+
r"""是否过滤标点符号(目前支持中文普通话引擎)。 0:不过滤,1:过滤句末标点,2:过滤所有标点。默认为0
|
559
559
|
:rtype: int
|
560
560
|
"""
|
561
561
|
return self._FilterPunc
|
@@ -566,7 +566,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
566
566
|
|
567
567
|
@property
|
568
568
|
def ConvertNumMode(self):
|
569
|
-
"""是否进行阿拉伯数字智能转换。0:不转换,直接输出中文数字,1:根据场景智能转换为阿拉伯数字。默认值为1
|
569
|
+
r"""是否进行阿拉伯数字智能转换。0:不转换,直接输出中文数字,1:根据场景智能转换为阿拉伯数字。默认值为1
|
570
570
|
:rtype: int
|
571
571
|
"""
|
572
572
|
return self._ConvertNumMode
|
@@ -577,7 +577,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
577
577
|
|
578
578
|
@property
|
579
579
|
def WordInfo(self):
|
580
|
-
"""是否显示词级别时间戳。0:不显示;1:显示,不包含标点时间戳,2:显示,包含标点时间戳。默认为0
|
580
|
+
r"""是否显示词级别时间戳。0:不显示;1:显示,不包含标点时间戳,2:显示,包含标点时间戳。默认为0
|
581
581
|
:rtype: int
|
582
582
|
"""
|
583
583
|
return self._WordInfo
|
@@ -588,7 +588,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
588
588
|
|
589
589
|
@property
|
590
590
|
def HotwordId(self):
|
591
|
-
"""热词id。用于调用对应的热词表,如果在调用语音识别服务时,不进行单独的热词id设置,自动生效默认热词;如果进行了单独的热词id设置,那么将生效单独设置的热词id。
|
591
|
+
r"""热词id。用于调用对应的热词表,如果在调用语音识别服务时,不进行单独的热词id设置,自动生效默认热词;如果进行了单独的热词id设置,那么将生效单独设置的热词id。
|
592
592
|
:rtype: str
|
593
593
|
"""
|
594
594
|
return self._HotwordId
|
@@ -599,7 +599,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
599
599
|
|
600
600
|
@property
|
601
601
|
def AudioData(self):
|
602
|
-
"""回调数据中,是否需要对应音频数据。
|
602
|
+
r"""回调数据中,是否需要对应音频数据。
|
603
603
|
:rtype: bool
|
604
604
|
"""
|
605
605
|
return self._AudioData
|
@@ -632,7 +632,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
632
632
|
|
633
633
|
|
634
634
|
class CreateAsyncRecognitionTaskResponse(AbstractModel):
|
635
|
-
"""CreateAsyncRecognitionTask返回参数结构体
|
635
|
+
r"""CreateAsyncRecognitionTask返回参数结构体
|
636
636
|
|
637
637
|
"""
|
638
638
|
|
@@ -648,7 +648,7 @@ class CreateAsyncRecognitionTaskResponse(AbstractModel):
|
|
648
648
|
|
649
649
|
@property
|
650
650
|
def Data(self):
|
651
|
-
"""请求返回结果,包含本次的任务ID(TaskId)
|
651
|
+
r"""请求返回结果,包含本次的任务ID(TaskId)
|
652
652
|
:rtype: :class:`tencentcloud.asr.v20190614.models.Task`
|
653
653
|
"""
|
654
654
|
return self._Data
|
@@ -659,7 +659,7 @@ class CreateAsyncRecognitionTaskResponse(AbstractModel):
|
|
659
659
|
|
660
660
|
@property
|
661
661
|
def RequestId(self):
|
662
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
662
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
663
663
|
:rtype: str
|
664
664
|
"""
|
665
665
|
return self._RequestId
|
@@ -677,7 +677,7 @@ class CreateAsyncRecognitionTaskResponse(AbstractModel):
|
|
677
677
|
|
678
678
|
|
679
679
|
class CreateCustomizationRequest(AbstractModel):
|
680
|
-
"""CreateCustomization请求参数结构体
|
680
|
+
r"""CreateCustomization请求参数结构体
|
681
681
|
|
682
682
|
"""
|
683
683
|
|
@@ -699,7 +699,7 @@ class CreateCustomizationRequest(AbstractModel):
|
|
699
699
|
|
700
700
|
@property
|
701
701
|
def ModelName(self):
|
702
|
-
"""自学习模型名称,需在1-20字符之间
|
702
|
+
r"""自学习模型名称,需在1-20字符之间
|
703
703
|
:rtype: str
|
704
704
|
"""
|
705
705
|
return self._ModelName
|
@@ -710,7 +710,7 @@ class CreateCustomizationRequest(AbstractModel):
|
|
710
710
|
|
711
711
|
@property
|
712
712
|
def TextUrl(self):
|
713
|
-
"""文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos
|
713
|
+
r"""文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos
|
714
714
|
:rtype: str
|
715
715
|
"""
|
716
716
|
return self._TextUrl
|
@@ -721,7 +721,7 @@ class CreateCustomizationRequest(AbstractModel):
|
|
721
721
|
|
722
722
|
@property
|
723
723
|
def ModelType(self):
|
724
|
-
"""自学习模型类型,填写8k或者16k
|
724
|
+
r"""自学习模型类型,填写8k或者16k
|
725
725
|
:rtype: str
|
726
726
|
"""
|
727
727
|
return self._ModelType
|
@@ -734,7 +734,7 @@ class CreateCustomizationRequest(AbstractModel):
|
|
734
734
|
def TagInfos(self):
|
735
735
|
warnings.warn("parameter `TagInfos` is deprecated", DeprecationWarning)
|
736
736
|
|
737
|
-
"""标签信息
|
737
|
+
r"""标签信息
|
738
738
|
:rtype: list of str
|
739
739
|
"""
|
740
740
|
return self._TagInfos
|
@@ -762,7 +762,7 @@ class CreateCustomizationRequest(AbstractModel):
|
|
762
762
|
|
763
763
|
|
764
764
|
class CreateCustomizationResponse(AbstractModel):
|
765
|
-
"""CreateCustomization返回参数结构体
|
765
|
+
r"""CreateCustomization返回参数结构体
|
766
766
|
|
767
767
|
"""
|
768
768
|
|
@@ -778,7 +778,7 @@ class CreateCustomizationResponse(AbstractModel):
|
|
778
778
|
|
779
779
|
@property
|
780
780
|
def ModelId(self):
|
781
|
-
"""模型ID
|
781
|
+
r"""模型ID
|
782
782
|
:rtype: str
|
783
783
|
"""
|
784
784
|
return self._ModelId
|
@@ -789,7 +789,7 @@ class CreateCustomizationResponse(AbstractModel):
|
|
789
789
|
|
790
790
|
@property
|
791
791
|
def RequestId(self):
|
792
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
792
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
793
793
|
:rtype: str
|
794
794
|
"""
|
795
795
|
return self._RequestId
|
@@ -805,7 +805,7 @@ class CreateCustomizationResponse(AbstractModel):
|
|
805
805
|
|
806
806
|
|
807
807
|
class CreateRecTaskRequest(AbstractModel):
|
808
|
-
"""CreateRecTask请求参数结构体
|
808
|
+
r"""CreateRecTask请求参数结构体
|
809
809
|
|
810
810
|
"""
|
811
811
|
|
@@ -818,7 +818,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
818
818
|
**注意:电话通讯场景,请务必使用以下8k引擎**
|
819
819
|
• 8k_zh:中文电话通讯;
|
820
820
|
• 8k_en:英文电话通讯;
|
821
|
-
• 8k_zh_large
|
821
|
+
• 8k_zh_large:中文电话场景专用大模型引擎【大模型版】。通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;
|
822
822
|
|
823
823
|
注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**
|
824
824
|
|
@@ -909,6 +909,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
909
909
|
0:自动分离(最多分离出20个人);
|
910
910
|
1-10:指定人数分离;
|
911
911
|
默认值为 0
|
912
|
+
注:16k引擎不支持指定人数分离
|
912
913
|
:type SpeakerNumber: int
|
913
914
|
:param _HotwordId: 热词表id
|
914
915
|
如不设置该参数,将自动生效默认热词表;
|
@@ -1032,14 +1033,14 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1032
1033
|
|
1033
1034
|
@property
|
1034
1035
|
def EngineModelType(self):
|
1035
|
-
"""引擎模型类型
|
1036
|
+
r"""引擎模型类型
|
1036
1037
|
识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明
|
1037
1038
|
|
1038
1039
|
电话通讯场景引擎:
|
1039
1040
|
**注意:电话通讯场景,请务必使用以下8k引擎**
|
1040
1041
|
• 8k_zh:中文电话通讯;
|
1041
1042
|
• 8k_en:英文电话通讯;
|
1042
|
-
• 8k_zh_large
|
1043
|
+
• 8k_zh_large:中文电话场景专用大模型引擎【大模型版】。通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;
|
1043
1044
|
|
1044
1045
|
注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**
|
1045
1046
|
|
@@ -1079,7 +1080,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1079
1080
|
|
1080
1081
|
@property
|
1081
1082
|
def ChannelNum(self):
|
1082
|
-
"""识别声道数
|
1083
|
+
r"""识别声道数
|
1083
1084
|
1:单声道(16k音频仅支持单声道,**请勿**设置为双声道);
|
1084
1085
|
2:双声道(仅支持8k电话音频,且双声道应分别为通话双方)
|
1085
1086
|
|
@@ -1096,7 +1097,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1096
1097
|
|
1097
1098
|
@property
|
1098
1099
|
def ResTextFormat(self):
|
1099
|
-
"""识别结果返回样式
|
1100
|
+
r"""识别结果返回样式
|
1100
1101
|
0:基础识别结果(仅包含有效人声时间戳,无词粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail));
|
1101
1102
|
1:基础识别结果之上,增加词粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(包含词级别时间戳、语速值,**不含标点**);
|
1102
1103
|
2:基础识别结果之上,增加词粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(包含词级别时间戳、语速值和标点);
|
@@ -1117,7 +1118,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1117
1118
|
|
1118
1119
|
@property
|
1119
1120
|
def SourceType(self):
|
1120
|
-
"""音频数据来源
|
1121
|
+
r"""音频数据来源
|
1121
1122
|
0:音频URL;
|
1122
1123
|
1:音频数据(post body)
|
1123
1124
|
:rtype: int
|
@@ -1130,7 +1131,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1130
1131
|
|
1131
1132
|
@property
|
1132
1133
|
def Data(self):
|
1133
|
-
"""音频数据base64编码
|
1134
|
+
r"""音频数据base64编码
|
1134
1135
|
**当 SourceType 值为 1 时须填写该字段,为 0 时不需要填写**
|
1135
1136
|
|
1136
1137
|
注意:音频数据要小于5MB(含)
|
@@ -1144,7 +1145,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1144
1145
|
|
1145
1146
|
@property
|
1146
1147
|
def DataLen(self):
|
1147
|
-
"""数据长度(此数据长度为数据未进行base64编码时的长度)
|
1148
|
+
r"""数据长度(此数据长度为数据未进行base64编码时的长度)
|
1148
1149
|
:rtype: int
|
1149
1150
|
"""
|
1150
1151
|
return self._DataLen
|
@@ -1155,7 +1156,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1155
1156
|
|
1156
1157
|
@property
|
1157
1158
|
def Url(self):
|
1158
|
-
"""音频URL的地址(需要公网环境浏览器可下载)
|
1159
|
+
r"""音频URL的地址(需要公网环境浏览器可下载)
|
1159
1160
|
**当 SourceType 值为 0 时须填写该字段,为 1 时不需要填写**
|
1160
1161
|
|
1161
1162
|
注意:
|
@@ -1171,7 +1172,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1171
1172
|
|
1172
1173
|
@property
|
1173
1174
|
def CallbackUrl(self):
|
1174
|
-
"""回调 URL
|
1175
|
+
r"""回调 URL
|
1175
1176
|
用户自行搭建的用于接收识别结果的服务URL
|
1176
1177
|
回调格式和内容详见:[录音识别回调说明](https://cloud.tencent.com/document/product/1093/52632)
|
1177
1178
|
|
@@ -1189,7 +1190,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1189
1190
|
|
1190
1191
|
@property
|
1191
1192
|
def SpeakerDiarization(self):
|
1192
|
-
"""是否开启说话人分离
|
1193
|
+
r"""是否开启说话人分离
|
1193
1194
|
0:不开启;
|
1194
1195
|
1:开启(仅支持以下引擎:8k_zh/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/16k_zh_dialect,且ChannelNum=1时可用);
|
1195
1196
|
默认值为 0
|
@@ -1206,11 +1207,12 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1206
1207
|
|
1207
1208
|
@property
|
1208
1209
|
def SpeakerNumber(self):
|
1209
|
-
"""说话人分离人数
|
1210
|
+
r"""说话人分离人数
|
1210
1211
|
**需配合开启说话人分离使用,不开启无效**,取值范围:0-10
|
1211
1212
|
0:自动分离(最多分离出20个人);
|
1212
1213
|
1-10:指定人数分离;
|
1213
1214
|
默认值为 0
|
1215
|
+
注:16k引擎不支持指定人数分离
|
1214
1216
|
:rtype: int
|
1215
1217
|
"""
|
1216
1218
|
return self._SpeakerNumber
|
@@ -1221,7 +1223,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1221
1223
|
|
1222
1224
|
@property
|
1223
1225
|
def HotwordId(self):
|
1224
|
-
"""热词表id
|
1226
|
+
r"""热词表id
|
1225
1227
|
如不设置该参数,将自动生效默认热词表;
|
1226
1228
|
如设置该参数,将生效对应id的热词表;
|
1227
1229
|
点击这里查看[热词表配置方法](https://cloud.tencent.com/document/product/1093/40996)
|
@@ -1237,7 +1239,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1237
1239
|
def ReinforceHotword(self):
|
1238
1240
|
warnings.warn("parameter `ReinforceHotword` is deprecated", DeprecationWarning)
|
1239
1241
|
|
1240
|
-
"""热词增强功能(目前仅支持8k_zh/16k_zh引擎)
|
1242
|
+
r"""热词增强功能(目前仅支持8k_zh/16k_zh引擎)
|
1241
1243
|
1:开启热词增强功能
|
1242
1244
|
|
1243
1245
|
注意:热词增强功能开启后,将对传入的热词表id开启同音替换功能,可以在这里查看[热词表配置方法](https://cloud.tencent.com/document/product/1093/40996)。效果举例:在热词表中配置“蜜制”一词,并开启增强功能,与“蜜制”(mìzhì)同音同调的“秘制”(mìzhì)的识别结果会被强制替换成“蜜制”。**建议客户根据实际的业务需求开启该功能**
|
@@ -1253,7 +1255,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1253
1255
|
|
1254
1256
|
@property
|
1255
1257
|
def CustomizationId(self):
|
1256
|
-
"""自学习定制模型 id
|
1258
|
+
r"""自学习定制模型 id
|
1257
1259
|
如设置了该参数,将生效对应id的自学习定制模型;
|
1258
1260
|
点击这里查看[自学习定制模型配置方法](https://cloud.tencent.com/document/product/1093/38416)
|
1259
1261
|
:rtype: str
|
@@ -1266,7 +1268,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1266
1268
|
|
1267
1269
|
@property
|
1268
1270
|
def EmotionRecognition(self):
|
1269
|
-
"""**【增值付费功能】**情绪识别能力(目前仅支持16k_zh,8k_zh)
|
1271
|
+
r"""**【增值付费功能】**情绪识别能力(目前仅支持16k_zh,8k_zh)
|
1270
1272
|
0:不开启;
|
1271
1273
|
1:开启情绪识别,但不在文本展示情绪标签;
|
1272
1274
|
2:开启情绪识别,并且在文本展示情绪标签(**该功能需要设置ResTextFormat 大于0**)
|
@@ -1287,7 +1289,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1287
1289
|
|
1288
1290
|
@property
|
1289
1291
|
def EmotionalEnergy(self):
|
1290
|
-
"""情绪能量值
|
1292
|
+
r"""情绪能量值
|
1291
1293
|
取值为音量分贝值/10,取值范围:[1,10],值越高情绪越强烈
|
1292
1294
|
0:不开启;
|
1293
1295
|
1:开启;
|
@@ -1302,7 +1304,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1302
1304
|
|
1303
1305
|
@property
|
1304
1306
|
def ConvertNumMode(self):
|
1305
|
-
"""阿拉伯数字智能转换(目前支持中文普通话引擎)
|
1307
|
+
r"""阿拉伯数字智能转换(目前支持中文普通话引擎)
|
1306
1308
|
0:不转换,直接输出中文数字;
|
1307
1309
|
1:根据场景智能转换为阿拉伯数字;
|
1308
1310
|
3:打开数学相关数字转换(如:阿尔法转写为α);
|
@@ -1317,7 +1319,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1317
1319
|
|
1318
1320
|
@property
|
1319
1321
|
def FilterDirty(self):
|
1320
|
-
"""脏词过滤(目前支持中文普通话引擎)
|
1322
|
+
r"""脏词过滤(目前支持中文普通话引擎)
|
1321
1323
|
0:不过滤脏词;
|
1322
1324
|
1:过滤脏词;
|
1323
1325
|
2:将脏词替换为 * ;
|
@@ -1332,7 +1334,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1332
1334
|
|
1333
1335
|
@property
|
1334
1336
|
def FilterPunc(self):
|
1335
|
-
"""标点符号过滤(目前支持中文普通话引擎)
|
1337
|
+
r"""标点符号过滤(目前支持中文普通话引擎)
|
1336
1338
|
0:不过滤标点;
|
1337
1339
|
1:过滤句末标点;
|
1338
1340
|
2:过滤所有标点;
|
@@ -1347,7 +1349,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1347
1349
|
|
1348
1350
|
@property
|
1349
1351
|
def FilterModal(self):
|
1350
|
-
"""语气词过滤(目前支持中文普通话引擎)
|
1352
|
+
r"""语气词过滤(目前支持中文普通话引擎)
|
1351
1353
|
0:不过滤语气词;
|
1352
1354
|
1:过滤部分语气词;
|
1353
1355
|
2:严格过滤语气词;
|
@@ -1362,7 +1364,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1362
1364
|
|
1363
1365
|
@property
|
1364
1366
|
def SentenceMaxLength(self):
|
1365
|
-
"""单标点最多字数(目前支持中文普通话引擎)
|
1367
|
+
r"""单标点最多字数(目前支持中文普通话引擎)
|
1366
1368
|
**可控制单行字幕最大字数,适用于字幕生成场景**,取值范围:[6,40]
|
1367
1369
|
0:不开启该功能;
|
1368
1370
|
默认值为0
|
@@ -1378,7 +1380,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1378
1380
|
|
1379
1381
|
@property
|
1380
1382
|
def Extra(self):
|
1381
|
-
"""附加参数**(该参数无意义,忽略即可)**
|
1383
|
+
r"""附加参数**(该参数无意义,忽略即可)**
|
1382
1384
|
:rtype: str
|
1383
1385
|
"""
|
1384
1386
|
return self._Extra
|
@@ -1389,7 +1391,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1389
1391
|
|
1390
1392
|
@property
|
1391
1393
|
def HotwordList(self):
|
1392
|
-
"""临时热词表:该参数用于提升识别准确率。
|
1394
|
+
r"""临时热词表:该参数用于提升识别准确率。
|
1393
1395
|
|
1394
1396
|
- 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或“ASR|11”;
|
1395
1397
|
|
@@ -1418,7 +1420,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1418
1420
|
|
1419
1421
|
@property
|
1420
1422
|
def KeyWordLibIdList(self):
|
1421
|
-
"""关键词识别ID列表,默认空为不进行识别,最多10个
|
1423
|
+
r"""关键词识别ID列表,默认空为不进行识别,最多10个
|
1422
1424
|
|
1423
1425
|
:rtype: list of str
|
1424
1426
|
"""
|
@@ -1430,7 +1432,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1430
1432
|
|
1431
1433
|
@property
|
1432
1434
|
def ReplaceTextId(self):
|
1433
|
-
"""替换词汇表id, 适用于热词和自学习场景也无法解决的极端case词组, 会对识别结果强制替换。具体可参考[配置控制台](https://console.cloud.tencent.com/asr/replaceword);强制替换功能可能会影响正常识别结果,请谨慎使用
|
1435
|
+
r"""替换词汇表id, 适用于热词和自学习场景也无法解决的极端case词组, 会对识别结果强制替换。具体可参考[配置控制台](https://console.cloud.tencent.com/asr/replaceword);强制替换功能可能会影响正常识别结果,请谨慎使用
|
1434
1436
|
|
1435
1437
|
注意:
|
1436
1438
|
1. 本功能配置完成后,预计在10分钟后生效
|
@@ -1480,7 +1482,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
1480
1482
|
|
1481
1483
|
|
1482
1484
|
class CreateRecTaskResponse(AbstractModel):
|
1483
|
-
"""CreateRecTask返回参数结构体
|
1485
|
+
r"""CreateRecTask返回参数结构体
|
1484
1486
|
|
1485
1487
|
"""
|
1486
1488
|
|
@@ -1498,7 +1500,7 @@ class CreateRecTaskResponse(AbstractModel):
|
|
1498
1500
|
|
1499
1501
|
@property
|
1500
1502
|
def Data(self):
|
1501
|
-
"""录音文件识别的请求返回结果,包含结果查询需要的TaskId。
|
1503
|
+
r"""录音文件识别的请求返回结果,包含结果查询需要的TaskId。
|
1502
1504
|
**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**
|
1503
1505
|
|
1504
1506
|
:rtype: :class:`tencentcloud.asr.v20190614.models.Task`
|
@@ -1511,7 +1513,7 @@ class CreateRecTaskResponse(AbstractModel):
|
|
1511
1513
|
|
1512
1514
|
@property
|
1513
1515
|
def RequestId(self):
|
1514
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1516
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1515
1517
|
:rtype: str
|
1516
1518
|
"""
|
1517
1519
|
return self._RequestId
|
@@ -1529,7 +1531,7 @@ class CreateRecTaskResponse(AbstractModel):
|
|
1529
1531
|
|
1530
1532
|
|
1531
1533
|
class DeleteAsrKeyWordLibRequest(AbstractModel):
|
1532
|
-
"""DeleteAsrKeyWordLib请求参数结构体
|
1534
|
+
r"""DeleteAsrKeyWordLib请求参数结构体
|
1533
1535
|
|
1534
1536
|
"""
|
1535
1537
|
|
@@ -1542,7 +1544,7 @@ class DeleteAsrKeyWordLibRequest(AbstractModel):
|
|
1542
1544
|
|
1543
1545
|
@property
|
1544
1546
|
def KeyWordLibId(self):
|
1545
|
-
"""关键词表ID
|
1547
|
+
r"""关键词表ID
|
1546
1548
|
:rtype: str
|
1547
1549
|
"""
|
1548
1550
|
return self._KeyWordLibId
|
@@ -1565,7 +1567,7 @@ class DeleteAsrKeyWordLibRequest(AbstractModel):
|
|
1565
1567
|
|
1566
1568
|
|
1567
1569
|
class DeleteAsrKeyWordLibResponse(AbstractModel):
|
1568
|
-
"""DeleteAsrKeyWordLib返回参数结构体
|
1570
|
+
r"""DeleteAsrKeyWordLib返回参数结构体
|
1569
1571
|
|
1570
1572
|
"""
|
1571
1573
|
|
@@ -1578,7 +1580,7 @@ class DeleteAsrKeyWordLibResponse(AbstractModel):
|
|
1578
1580
|
|
1579
1581
|
@property
|
1580
1582
|
def RequestId(self):
|
1581
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1583
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1582
1584
|
:rtype: str
|
1583
1585
|
"""
|
1584
1586
|
return self._RequestId
|
@@ -1593,7 +1595,7 @@ class DeleteAsrKeyWordLibResponse(AbstractModel):
|
|
1593
1595
|
|
1594
1596
|
|
1595
1597
|
class DeleteAsrVocabRequest(AbstractModel):
|
1596
|
-
"""DeleteAsrVocab请求参数结构体
|
1598
|
+
r"""DeleteAsrVocab请求参数结构体
|
1597
1599
|
|
1598
1600
|
"""
|
1599
1601
|
|
@@ -1606,7 +1608,7 @@ class DeleteAsrVocabRequest(AbstractModel):
|
|
1606
1608
|
|
1607
1609
|
@property
|
1608
1610
|
def VocabId(self):
|
1609
|
-
"""热词表Id
|
1611
|
+
r"""热词表Id
|
1610
1612
|
:rtype: str
|
1611
1613
|
"""
|
1612
1614
|
return self._VocabId
|
@@ -1629,7 +1631,7 @@ class DeleteAsrVocabRequest(AbstractModel):
|
|
1629
1631
|
|
1630
1632
|
|
1631
1633
|
class DeleteAsrVocabResponse(AbstractModel):
|
1632
|
-
"""DeleteAsrVocab返回参数结构体
|
1634
|
+
r"""DeleteAsrVocab返回参数结构体
|
1633
1635
|
|
1634
1636
|
"""
|
1635
1637
|
|
@@ -1642,7 +1644,7 @@ class DeleteAsrVocabResponse(AbstractModel):
|
|
1642
1644
|
|
1643
1645
|
@property
|
1644
1646
|
def RequestId(self):
|
1645
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1647
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1646
1648
|
:rtype: str
|
1647
1649
|
"""
|
1648
1650
|
return self._RequestId
|
@@ -1657,7 +1659,7 @@ class DeleteAsrVocabResponse(AbstractModel):
|
|
1657
1659
|
|
1658
1660
|
|
1659
1661
|
class DeleteCustomizationRequest(AbstractModel):
|
1660
|
-
"""DeleteCustomization请求参数结构体
|
1662
|
+
r"""DeleteCustomization请求参数结构体
|
1661
1663
|
|
1662
1664
|
"""
|
1663
1665
|
|
@@ -1670,7 +1672,7 @@ class DeleteCustomizationRequest(AbstractModel):
|
|
1670
1672
|
|
1671
1673
|
@property
|
1672
1674
|
def ModelId(self):
|
1673
|
-
"""要删除的模型ID
|
1675
|
+
r"""要删除的模型ID
|
1674
1676
|
:rtype: str
|
1675
1677
|
"""
|
1676
1678
|
return self._ModelId
|
@@ -1693,7 +1695,7 @@ class DeleteCustomizationRequest(AbstractModel):
|
|
1693
1695
|
|
1694
1696
|
|
1695
1697
|
class DeleteCustomizationResponse(AbstractModel):
|
1696
|
-
"""DeleteCustomization返回参数结构体
|
1698
|
+
r"""DeleteCustomization返回参数结构体
|
1697
1699
|
|
1698
1700
|
"""
|
1699
1701
|
|
@@ -1706,7 +1708,7 @@ class DeleteCustomizationResponse(AbstractModel):
|
|
1706
1708
|
|
1707
1709
|
@property
|
1708
1710
|
def RequestId(self):
|
1709
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1711
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1710
1712
|
:rtype: str
|
1711
1713
|
"""
|
1712
1714
|
return self._RequestId
|
@@ -1721,13 +1723,13 @@ class DeleteCustomizationResponse(AbstractModel):
|
|
1721
1723
|
|
1722
1724
|
|
1723
1725
|
class DescribeAsyncRecognitionTasksRequest(AbstractModel):
|
1724
|
-
"""DescribeAsyncRecognitionTasks请求参数结构体
|
1726
|
+
r"""DescribeAsyncRecognitionTasks请求参数结构体
|
1725
1727
|
|
1726
1728
|
"""
|
1727
1729
|
|
1728
1730
|
|
1729
1731
|
class DescribeAsyncRecognitionTasksResponse(AbstractModel):
|
1730
|
-
"""DescribeAsyncRecognitionTasks返回参数结构体
|
1732
|
+
r"""DescribeAsyncRecognitionTasks返回参数结构体
|
1731
1733
|
|
1732
1734
|
"""
|
1733
1735
|
|
@@ -1744,7 +1746,7 @@ class DescribeAsyncRecognitionTasksResponse(AbstractModel):
|
|
1744
1746
|
|
1745
1747
|
@property
|
1746
1748
|
def Data(self):
|
1747
|
-
"""任务列表
|
1749
|
+
r"""任务列表
|
1748
1750
|
注意:此字段可能返回 null,表示取不到有效值。
|
1749
1751
|
:rtype: :class:`tencentcloud.asr.v20190614.models.AsyncRecognitionTasks`
|
1750
1752
|
"""
|
@@ -1756,7 +1758,7 @@ class DescribeAsyncRecognitionTasksResponse(AbstractModel):
|
|
1756
1758
|
|
1757
1759
|
@property
|
1758
1760
|
def RequestId(self):
|
1759
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1761
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1760
1762
|
:rtype: str
|
1761
1763
|
"""
|
1762
1764
|
return self._RequestId
|
@@ -1774,7 +1776,7 @@ class DescribeAsyncRecognitionTasksResponse(AbstractModel):
|
|
1774
1776
|
|
1775
1777
|
|
1776
1778
|
class DescribeTaskStatusRequest(AbstractModel):
|
1777
|
-
"""DescribeTaskStatus请求参数结构体
|
1779
|
+
r"""DescribeTaskStatus请求参数结构体
|
1778
1780
|
|
1779
1781
|
"""
|
1780
1782
|
|
@@ -1788,7 +1790,7 @@ class DescribeTaskStatusRequest(AbstractModel):
|
|
1788
1790
|
|
1789
1791
|
@property
|
1790
1792
|
def TaskId(self):
|
1791
|
-
"""从CreateRecTask接口获取的TaskId,用于获取任务状态与结果。
|
1793
|
+
r"""从CreateRecTask接口获取的TaskId,用于获取任务状态与结果。
|
1792
1794
|
**注意:TaskId有效期为24小时,超过24小时的TaskId请不要再查询。**
|
1793
1795
|
:rtype: int
|
1794
1796
|
"""
|
@@ -1812,7 +1814,7 @@ class DescribeTaskStatusRequest(AbstractModel):
|
|
1812
1814
|
|
1813
1815
|
|
1814
1816
|
class DescribeTaskStatusResponse(AbstractModel):
|
1815
|
-
"""DescribeTaskStatus返回参数结构体
|
1817
|
+
r"""DescribeTaskStatus返回参数结构体
|
1816
1818
|
|
1817
1819
|
"""
|
1818
1820
|
|
@@ -1828,7 +1830,7 @@ class DescribeTaskStatusResponse(AbstractModel):
|
|
1828
1830
|
|
1829
1831
|
@property
|
1830
1832
|
def Data(self):
|
1831
|
-
"""录音文件识别的请求返回结果。
|
1833
|
+
r"""录音文件识别的请求返回结果。
|
1832
1834
|
:rtype: :class:`tencentcloud.asr.v20190614.models.TaskStatus`
|
1833
1835
|
"""
|
1834
1836
|
return self._Data
|
@@ -1839,7 +1841,7 @@ class DescribeTaskStatusResponse(AbstractModel):
|
|
1839
1841
|
|
1840
1842
|
@property
|
1841
1843
|
def RequestId(self):
|
1842
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1844
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1843
1845
|
:rtype: str
|
1844
1846
|
"""
|
1845
1847
|
return self._RequestId
|
@@ -1857,7 +1859,7 @@ class DescribeTaskStatusResponse(AbstractModel):
|
|
1857
1859
|
|
1858
1860
|
|
1859
1861
|
class DownloadAsrVocabRequest(AbstractModel):
|
1860
|
-
"""DownloadAsrVocab请求参数结构体
|
1862
|
+
r"""DownloadAsrVocab请求参数结构体
|
1861
1863
|
|
1862
1864
|
"""
|
1863
1865
|
|
@@ -1870,7 +1872,7 @@ class DownloadAsrVocabRequest(AbstractModel):
|
|
1870
1872
|
|
1871
1873
|
@property
|
1872
1874
|
def VocabId(self):
|
1873
|
-
"""词表ID。
|
1875
|
+
r"""词表ID。
|
1874
1876
|
:rtype: str
|
1875
1877
|
"""
|
1876
1878
|
return self._VocabId
|
@@ -1893,7 +1895,7 @@ class DownloadAsrVocabRequest(AbstractModel):
|
|
1893
1895
|
|
1894
1896
|
|
1895
1897
|
class DownloadAsrVocabResponse(AbstractModel):
|
1896
|
-
"""DownloadAsrVocab返回参数结构体
|
1898
|
+
r"""DownloadAsrVocab返回参数结构体
|
1897
1899
|
|
1898
1900
|
"""
|
1899
1901
|
|
@@ -1912,7 +1914,7 @@ class DownloadAsrVocabResponse(AbstractModel):
|
|
1912
1914
|
|
1913
1915
|
@property
|
1914
1916
|
def VocabId(self):
|
1915
|
-
"""词表ID。
|
1917
|
+
r"""词表ID。
|
1916
1918
|
:rtype: str
|
1917
1919
|
"""
|
1918
1920
|
return self._VocabId
|
@@ -1923,7 +1925,7 @@ class DownloadAsrVocabResponse(AbstractModel):
|
|
1923
1925
|
|
1924
1926
|
@property
|
1925
1927
|
def WordWeightStr(self):
|
1926
|
-
"""词表权重文件形式的base64值。
|
1928
|
+
r"""词表权重文件形式的base64值。
|
1927
1929
|
:rtype: str
|
1928
1930
|
"""
|
1929
1931
|
return self._WordWeightStr
|
@@ -1934,7 +1936,7 @@ class DownloadAsrVocabResponse(AbstractModel):
|
|
1934
1936
|
|
1935
1937
|
@property
|
1936
1938
|
def RequestId(self):
|
1937
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1939
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1938
1940
|
:rtype: str
|
1939
1941
|
"""
|
1940
1942
|
return self._RequestId
|
@@ -1951,7 +1953,7 @@ class DownloadAsrVocabResponse(AbstractModel):
|
|
1951
1953
|
|
1952
1954
|
|
1953
1955
|
class DownloadCustomizationRequest(AbstractModel):
|
1954
|
-
"""DownloadCustomization请求参数结构体
|
1956
|
+
r"""DownloadCustomization请求参数结构体
|
1955
1957
|
|
1956
1958
|
"""
|
1957
1959
|
|
@@ -1964,7 +1966,7 @@ class DownloadCustomizationRequest(AbstractModel):
|
|
1964
1966
|
|
1965
1967
|
@property
|
1966
1968
|
def ModelId(self):
|
1967
|
-
"""自学习模型ID
|
1969
|
+
r"""自学习模型ID
|
1968
1970
|
:rtype: str
|
1969
1971
|
"""
|
1970
1972
|
return self._ModelId
|
@@ -1987,7 +1989,7 @@ class DownloadCustomizationRequest(AbstractModel):
|
|
1987
1989
|
|
1988
1990
|
|
1989
1991
|
class DownloadCustomizationResponse(AbstractModel):
|
1990
|
-
"""DownloadCustomization返回参数结构体
|
1992
|
+
r"""DownloadCustomization返回参数结构体
|
1991
1993
|
|
1992
1994
|
"""
|
1993
1995
|
|
@@ -2003,7 +2005,7 @@ class DownloadCustomizationResponse(AbstractModel):
|
|
2003
2005
|
|
2004
2006
|
@property
|
2005
2007
|
def DownloadUrl(self):
|
2006
|
-
"""下载地址
|
2008
|
+
r"""下载地址
|
2007
2009
|
:rtype: str
|
2008
2010
|
"""
|
2009
2011
|
return self._DownloadUrl
|
@@ -2014,7 +2016,7 @@ class DownloadCustomizationResponse(AbstractModel):
|
|
2014
2016
|
|
2015
2017
|
@property
|
2016
2018
|
def RequestId(self):
|
2017
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2019
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2018
2020
|
:rtype: str
|
2019
2021
|
"""
|
2020
2022
|
return self._RequestId
|
@@ -2030,7 +2032,7 @@ class DownloadCustomizationResponse(AbstractModel):
|
|
2030
2032
|
|
2031
2033
|
|
2032
2034
|
class GetAsrKeyWordLibListRequest(AbstractModel):
|
2033
|
-
"""GetAsrKeyWordLibList请求参数结构体
|
2035
|
+
r"""GetAsrKeyWordLibList请求参数结构体
|
2034
2036
|
|
2035
2037
|
"""
|
2036
2038
|
|
@@ -2052,7 +2054,7 @@ class GetAsrKeyWordLibListRequest(AbstractModel):
|
|
2052
2054
|
|
2053
2055
|
@property
|
2054
2056
|
def Offset(self):
|
2055
|
-
"""分页Offset
|
2057
|
+
r"""分页Offset
|
2056
2058
|
:rtype: int
|
2057
2059
|
"""
|
2058
2060
|
return self._Offset
|
@@ -2063,7 +2065,7 @@ class GetAsrKeyWordLibListRequest(AbstractModel):
|
|
2063
2065
|
|
2064
2066
|
@property
|
2065
2067
|
def Limit(self):
|
2066
|
-
"""分页Limit
|
2068
|
+
r"""分页Limit
|
2067
2069
|
:rtype: int
|
2068
2070
|
"""
|
2069
2071
|
return self._Limit
|
@@ -2074,7 +2076,7 @@ class GetAsrKeyWordLibListRequest(AbstractModel):
|
|
2074
2076
|
|
2075
2077
|
@property
|
2076
2078
|
def SpecifyNames(self):
|
2077
|
-
"""词库名称或者UIN检索
|
2079
|
+
r"""词库名称或者UIN检索
|
2078
2080
|
:rtype: list of str
|
2079
2081
|
"""
|
2080
2082
|
return self._SpecifyNames
|
@@ -2085,7 +2087,7 @@ class GetAsrKeyWordLibListRequest(AbstractModel):
|
|
2085
2087
|
|
2086
2088
|
@property
|
2087
2089
|
def OnlySelf(self):
|
2088
|
-
"""只看用户自己创建的
|
2090
|
+
r"""只看用户自己创建的
|
2089
2091
|
:rtype: bool
|
2090
2092
|
"""
|
2091
2093
|
return self._OnlySelf
|
@@ -2111,7 +2113,7 @@ class GetAsrKeyWordLibListRequest(AbstractModel):
|
|
2111
2113
|
|
2112
2114
|
|
2113
2115
|
class GetAsrKeyWordLibListResponse(AbstractModel):
|
2114
|
-
"""GetAsrKeyWordLibList返回参数结构体
|
2116
|
+
r"""GetAsrKeyWordLibList返回参数结构体
|
2115
2117
|
|
2116
2118
|
"""
|
2117
2119
|
|
@@ -2127,7 +2129,7 @@ class GetAsrKeyWordLibListResponse(AbstractModel):
|
|
2127
2129
|
|
2128
2130
|
@property
|
2129
2131
|
def Data(self):
|
2130
|
-
"""关键词列表返回数据
|
2132
|
+
r"""关键词列表返回数据
|
2131
2133
|
:rtype: :class:`tencentcloud.asr.v20190614.models.KeyWordLibListData`
|
2132
2134
|
"""
|
2133
2135
|
return self._Data
|
@@ -2138,7 +2140,7 @@ class GetAsrKeyWordLibListResponse(AbstractModel):
|
|
2138
2140
|
|
2139
2141
|
@property
|
2140
2142
|
def RequestId(self):
|
2141
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2143
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2142
2144
|
:rtype: str
|
2143
2145
|
"""
|
2144
2146
|
return self._RequestId
|
@@ -2156,7 +2158,7 @@ class GetAsrKeyWordLibListResponse(AbstractModel):
|
|
2156
2158
|
|
2157
2159
|
|
2158
2160
|
class GetAsrVocabListRequest(AbstractModel):
|
2159
|
-
"""GetAsrVocabList请求参数结构体
|
2161
|
+
r"""GetAsrVocabList请求参数结构体
|
2160
2162
|
|
2161
2163
|
"""
|
2162
2164
|
|
@@ -2177,7 +2179,7 @@ class GetAsrVocabListRequest(AbstractModel):
|
|
2177
2179
|
def TagInfos(self):
|
2178
2180
|
warnings.warn("parameter `TagInfos` is deprecated", DeprecationWarning)
|
2179
2181
|
|
2180
|
-
"""标签信息,格式为“$TagKey : $TagValue ”,中间分隔符为“空格”+“:”+“空格”
|
2182
|
+
r"""标签信息,格式为“$TagKey : $TagValue ”,中间分隔符为“空格”+“:”+“空格”
|
2181
2183
|
:rtype: list of str
|
2182
2184
|
"""
|
2183
2185
|
return self._TagInfos
|
@@ -2190,7 +2192,7 @@ class GetAsrVocabListRequest(AbstractModel):
|
|
2190
2192
|
|
2191
2193
|
@property
|
2192
2194
|
def Offset(self):
|
2193
|
-
"""分页Offset
|
2195
|
+
r"""分页Offset
|
2194
2196
|
:rtype: int
|
2195
2197
|
"""
|
2196
2198
|
return self._Offset
|
@@ -2201,7 +2203,7 @@ class GetAsrVocabListRequest(AbstractModel):
|
|
2201
2203
|
|
2202
2204
|
@property
|
2203
2205
|
def Limit(self):
|
2204
|
-
"""分页Limit
|
2206
|
+
r"""分页Limit
|
2205
2207
|
:rtype: int
|
2206
2208
|
"""
|
2207
2209
|
return self._Limit
|
@@ -2226,7 +2228,7 @@ class GetAsrVocabListRequest(AbstractModel):
|
|
2226
2228
|
|
2227
2229
|
|
2228
2230
|
class GetAsrVocabListResponse(AbstractModel):
|
2229
|
-
"""GetAsrVocabList返回参数结构体
|
2231
|
+
r"""GetAsrVocabList返回参数结构体
|
2230
2232
|
|
2231
2233
|
"""
|
2232
2234
|
|
@@ -2245,7 +2247,7 @@ class GetAsrVocabListResponse(AbstractModel):
|
|
2245
2247
|
|
2246
2248
|
@property
|
2247
2249
|
def VocabList(self):
|
2248
|
-
"""热词表列表
|
2250
|
+
r"""热词表列表
|
2249
2251
|
:rtype: list of Vocab
|
2250
2252
|
"""
|
2251
2253
|
return self._VocabList
|
@@ -2256,7 +2258,7 @@ class GetAsrVocabListResponse(AbstractModel):
|
|
2256
2258
|
|
2257
2259
|
@property
|
2258
2260
|
def TotalCount(self):
|
2259
|
-
"""热词列表总数
|
2261
|
+
r"""热词列表总数
|
2260
2262
|
:rtype: int
|
2261
2263
|
"""
|
2262
2264
|
return self._TotalCount
|
@@ -2267,7 +2269,7 @@ class GetAsrVocabListResponse(AbstractModel):
|
|
2267
2269
|
|
2268
2270
|
@property
|
2269
2271
|
def RequestId(self):
|
2270
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2272
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2271
2273
|
:rtype: str
|
2272
2274
|
"""
|
2273
2275
|
return self._RequestId
|
@@ -2289,7 +2291,7 @@ class GetAsrVocabListResponse(AbstractModel):
|
|
2289
2291
|
|
2290
2292
|
|
2291
2293
|
class GetAsrVocabRequest(AbstractModel):
|
2292
|
-
"""GetAsrVocab请求参数结构体
|
2294
|
+
r"""GetAsrVocab请求参数结构体
|
2293
2295
|
|
2294
2296
|
"""
|
2295
2297
|
|
@@ -2302,7 +2304,7 @@ class GetAsrVocabRequest(AbstractModel):
|
|
2302
2304
|
|
2303
2305
|
@property
|
2304
2306
|
def VocabId(self):
|
2305
|
-
"""热词表ID
|
2307
|
+
r"""热词表ID
|
2306
2308
|
:rtype: str
|
2307
2309
|
"""
|
2308
2310
|
return self._VocabId
|
@@ -2325,7 +2327,7 @@ class GetAsrVocabRequest(AbstractModel):
|
|
2325
2327
|
|
2326
2328
|
|
2327
2329
|
class GetAsrVocabResponse(AbstractModel):
|
2328
|
-
"""GetAsrVocab返回参数结构体
|
2330
|
+
r"""GetAsrVocab返回参数结构体
|
2329
2331
|
|
2330
2332
|
"""
|
2331
2333
|
|
@@ -2359,7 +2361,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2359
2361
|
|
2360
2362
|
@property
|
2361
2363
|
def Name(self):
|
2362
|
-
"""热词表名称
|
2364
|
+
r"""热词表名称
|
2363
2365
|
:rtype: str
|
2364
2366
|
"""
|
2365
2367
|
return self._Name
|
@@ -2370,7 +2372,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2370
2372
|
|
2371
2373
|
@property
|
2372
2374
|
def Description(self):
|
2373
|
-
"""热词表描述
|
2375
|
+
r"""热词表描述
|
2374
2376
|
:rtype: str
|
2375
2377
|
"""
|
2376
2378
|
return self._Description
|
@@ -2381,7 +2383,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2381
2383
|
|
2382
2384
|
@property
|
2383
2385
|
def VocabId(self):
|
2384
|
-
"""热词表ID
|
2386
|
+
r"""热词表ID
|
2385
2387
|
:rtype: str
|
2386
2388
|
"""
|
2387
2389
|
return self._VocabId
|
@@ -2392,7 +2394,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2392
2394
|
|
2393
2395
|
@property
|
2394
2396
|
def WordWeights(self):
|
2395
|
-
"""词权重列表
|
2397
|
+
r"""词权重列表
|
2396
2398
|
:rtype: list of HotWord
|
2397
2399
|
"""
|
2398
2400
|
return self._WordWeights
|
@@ -2403,7 +2405,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2403
2405
|
|
2404
2406
|
@property
|
2405
2407
|
def CreateTime(self):
|
2406
|
-
"""词表创建时间
|
2408
|
+
r"""词表创建时间
|
2407
2409
|
:rtype: str
|
2408
2410
|
"""
|
2409
2411
|
return self._CreateTime
|
@@ -2414,7 +2416,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2414
2416
|
|
2415
2417
|
@property
|
2416
2418
|
def UpdateTime(self):
|
2417
|
-
"""词表更新时间
|
2419
|
+
r"""词表更新时间
|
2418
2420
|
:rtype: str
|
2419
2421
|
"""
|
2420
2422
|
return self._UpdateTime
|
@@ -2425,7 +2427,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2425
2427
|
|
2426
2428
|
@property
|
2427
2429
|
def State(self):
|
2428
|
-
"""热词表状态,1为默认状态即在识别时默认加载该热词表进行识别,0为初始状态
|
2430
|
+
r"""热词表状态,1为默认状态即在识别时默认加载该热词表进行识别,0为初始状态
|
2429
2431
|
:rtype: int
|
2430
2432
|
"""
|
2431
2433
|
return self._State
|
@@ -2436,7 +2438,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2436
2438
|
|
2437
2439
|
@property
|
2438
2440
|
def RequestId(self):
|
2439
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2441
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2440
2442
|
:rtype: str
|
2441
2443
|
"""
|
2442
2444
|
return self._RequestId
|
@@ -2463,7 +2465,7 @@ class GetAsrVocabResponse(AbstractModel):
|
|
2463
2465
|
|
2464
2466
|
|
2465
2467
|
class GetCustomizationListRequest(AbstractModel):
|
2466
|
-
"""GetCustomizationList请求参数结构体
|
2468
|
+
r"""GetCustomizationList请求参数结构体
|
2467
2469
|
|
2468
2470
|
"""
|
2469
2471
|
|
@@ -2484,7 +2486,7 @@ class GetCustomizationListRequest(AbstractModel):
|
|
2484
2486
|
def TagInfos(self):
|
2485
2487
|
warnings.warn("parameter `TagInfos` is deprecated", DeprecationWarning)
|
2486
2488
|
|
2487
|
-
"""标签信息,格式为“$TagKey : $TagValue ”,中间分隔符为“空格”+“:”+“空格”
|
2489
|
+
r"""标签信息,格式为“$TagKey : $TagValue ”,中间分隔符为“空格”+“:”+“空格”
|
2488
2490
|
:rtype: list of str
|
2489
2491
|
"""
|
2490
2492
|
return self._TagInfos
|
@@ -2497,7 +2499,7 @@ class GetCustomizationListRequest(AbstractModel):
|
|
2497
2499
|
|
2498
2500
|
@property
|
2499
2501
|
def Limit(self):
|
2500
|
-
"""分页大小,默认1000
|
2502
|
+
r"""分页大小,默认1000
|
2501
2503
|
:rtype: int
|
2502
2504
|
"""
|
2503
2505
|
return self._Limit
|
@@ -2508,7 +2510,7 @@ class GetCustomizationListRequest(AbstractModel):
|
|
2508
2510
|
|
2509
2511
|
@property
|
2510
2512
|
def Offset(self):
|
2511
|
-
"""分页offset,默认0
|
2513
|
+
r"""分页offset,默认0
|
2512
2514
|
:rtype: int
|
2513
2515
|
"""
|
2514
2516
|
return self._Offset
|
@@ -2533,7 +2535,7 @@ class GetCustomizationListRequest(AbstractModel):
|
|
2533
2535
|
|
2534
2536
|
|
2535
2537
|
class GetCustomizationListResponse(AbstractModel):
|
2536
|
-
"""GetCustomizationList返回参数结构体
|
2538
|
+
r"""GetCustomizationList返回参数结构体
|
2537
2539
|
|
2538
2540
|
"""
|
2539
2541
|
|
@@ -2554,7 +2556,7 @@ class GetCustomizationListResponse(AbstractModel):
|
|
2554
2556
|
|
2555
2557
|
@property
|
2556
2558
|
def Data(self):
|
2557
|
-
"""自学习模型数组
|
2559
|
+
r"""自学习模型数组
|
2558
2560
|
注意:此字段可能返回 null,表示取不到有效值。
|
2559
2561
|
:rtype: list of Model
|
2560
2562
|
"""
|
@@ -2566,7 +2568,7 @@ class GetCustomizationListResponse(AbstractModel):
|
|
2566
2568
|
|
2567
2569
|
@property
|
2568
2570
|
def TotalCount(self):
|
2569
|
-
"""自学习模型总量
|
2571
|
+
r"""自学习模型总量
|
2570
2572
|
注意:此字段可能返回 null,表示取不到有效值。
|
2571
2573
|
:rtype: int
|
2572
2574
|
"""
|
@@ -2578,7 +2580,7 @@ class GetCustomizationListResponse(AbstractModel):
|
|
2578
2580
|
|
2579
2581
|
@property
|
2580
2582
|
def RequestId(self):
|
2581
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2583
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2582
2584
|
:rtype: str
|
2583
2585
|
"""
|
2584
2586
|
return self._RequestId
|
@@ -2600,7 +2602,7 @@ class GetCustomizationListResponse(AbstractModel):
|
|
2600
2602
|
|
2601
2603
|
|
2602
2604
|
class GetModelInfoRequest(AbstractModel):
|
2603
|
-
"""GetModelInfo请求参数结构体
|
2605
|
+
r"""GetModelInfo请求参数结构体
|
2604
2606
|
|
2605
2607
|
"""
|
2606
2608
|
|
@@ -2613,7 +2615,7 @@ class GetModelInfoRequest(AbstractModel):
|
|
2613
2615
|
|
2614
2616
|
@property
|
2615
2617
|
def ModelId(self):
|
2616
|
-
"""模型id
|
2618
|
+
r"""模型id
|
2617
2619
|
:rtype: str
|
2618
2620
|
"""
|
2619
2621
|
return self._ModelId
|
@@ -2636,7 +2638,7 @@ class GetModelInfoRequest(AbstractModel):
|
|
2636
2638
|
|
2637
2639
|
|
2638
2640
|
class GetModelInfoResponse(AbstractModel):
|
2639
|
-
"""GetModelInfo返回参数结构体
|
2641
|
+
r"""GetModelInfo返回参数结构体
|
2640
2642
|
|
2641
2643
|
"""
|
2642
2644
|
|
@@ -2652,7 +2654,7 @@ class GetModelInfoResponse(AbstractModel):
|
|
2652
2654
|
|
2653
2655
|
@property
|
2654
2656
|
def Data(self):
|
2655
|
-
"""模型信息
|
2657
|
+
r"""模型信息
|
2656
2658
|
:rtype: :class:`tencentcloud.asr.v20190614.models.Model`
|
2657
2659
|
"""
|
2658
2660
|
return self._Data
|
@@ -2663,7 +2665,7 @@ class GetModelInfoResponse(AbstractModel):
|
|
2663
2665
|
|
2664
2666
|
@property
|
2665
2667
|
def RequestId(self):
|
2666
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2668
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2667
2669
|
:rtype: str
|
2668
2670
|
"""
|
2669
2671
|
return self._RequestId
|
@@ -2681,7 +2683,7 @@ class GetModelInfoResponse(AbstractModel):
|
|
2681
2683
|
|
2682
2684
|
|
2683
2685
|
class GetUsageByDateRequest(AbstractModel):
|
2684
|
-
"""GetUsageByDate请求参数结构体
|
2686
|
+
r"""GetUsageByDate请求参数结构体
|
2685
2687
|
|
2686
2688
|
"""
|
2687
2689
|
|
@@ -2706,7 +2708,7 @@ class GetUsageByDateRequest(AbstractModel):
|
|
2706
2708
|
|
2707
2709
|
@property
|
2708
2710
|
def BizNameList(self):
|
2709
|
-
"""需要查询的业务类型名字列表
|
2711
|
+
r"""需要查询的业务类型名字列表
|
2710
2712
|
- asr_rt 实时识别
|
2711
2713
|
- asr_rec 录音文件识别
|
2712
2714
|
:rtype: list of str
|
@@ -2719,7 +2721,7 @@ class GetUsageByDateRequest(AbstractModel):
|
|
2719
2721
|
|
2720
2722
|
@property
|
2721
2723
|
def StartDate(self):
|
2722
|
-
"""查询开始时间
|
2724
|
+
r"""查询开始时间
|
2723
2725
|
开始时间包含当天,支持 YYYY-MM-DD 日期以国内时区为准
|
2724
2726
|
开始时间到结束时间需要在3个月以内
|
2725
2727
|
:rtype: str
|
@@ -2732,7 +2734,7 @@ class GetUsageByDateRequest(AbstractModel):
|
|
2732
2734
|
|
2733
2735
|
@property
|
2734
2736
|
def EndDate(self):
|
2735
|
-
"""查询结束时间
|
2737
|
+
r"""查询结束时间
|
2736
2738
|
结束时间包含当天,,支持 YYYY-MM-DD 日期以国内时区为准
|
2737
2739
|
开始时间到结束时间需要在3个月以内
|
2738
2740
|
:rtype: str
|
@@ -2759,7 +2761,7 @@ class GetUsageByDateRequest(AbstractModel):
|
|
2759
2761
|
|
2760
2762
|
|
2761
2763
|
class GetUsageByDateResponse(AbstractModel):
|
2762
|
-
"""GetUsageByDate返回参数结构体
|
2764
|
+
r"""GetUsageByDate返回参数结构体
|
2763
2765
|
|
2764
2766
|
"""
|
2765
2767
|
|
@@ -2775,7 +2777,7 @@ class GetUsageByDateResponse(AbstractModel):
|
|
2775
2777
|
|
2776
2778
|
@property
|
2777
2779
|
def Data(self):
|
2778
|
-
"""用量次数
|
2780
|
+
r"""用量次数
|
2779
2781
|
:rtype: :class:`tencentcloud.asr.v20190614.models.UsageByDateInfoData`
|
2780
2782
|
"""
|
2781
2783
|
return self._Data
|
@@ -2786,7 +2788,7 @@ class GetUsageByDateResponse(AbstractModel):
|
|
2786
2788
|
|
2787
2789
|
@property
|
2788
2790
|
def RequestId(self):
|
2789
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2791
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2790
2792
|
:rtype: str
|
2791
2793
|
"""
|
2792
2794
|
return self._RequestId
|
@@ -2804,7 +2806,7 @@ class GetUsageByDateResponse(AbstractModel):
|
|
2804
2806
|
|
2805
2807
|
|
2806
2808
|
class HotWord(AbstractModel):
|
2807
|
-
"""[热词的词和权重](https://cloud.tencent.com/document/product/1093/41111#2.-.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0)
|
2809
|
+
r"""[热词的词和权重](https://cloud.tencent.com/document/product/1093/41111#2.-.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0)
|
2808
2810
|
|
2809
2811
|
"""
|
2810
2812
|
|
@@ -2822,7 +2824,7 @@ class HotWord(AbstractModel):
|
|
2822
2824
|
|
2823
2825
|
@property
|
2824
2826
|
def Word(self):
|
2825
|
-
"""热词
|
2827
|
+
r"""热词
|
2826
2828
|
注意:此字段可能返回 null,表示取不到有效值。
|
2827
2829
|
:rtype: str
|
2828
2830
|
"""
|
@@ -2834,7 +2836,7 @@ class HotWord(AbstractModel):
|
|
2834
2836
|
|
2835
2837
|
@property
|
2836
2838
|
def Weight(self):
|
2837
|
-
"""权重
|
2839
|
+
r"""权重
|
2838
2840
|
注意:此字段可能返回 null,表示取不到有效值。
|
2839
2841
|
:rtype: int
|
2840
2842
|
"""
|
@@ -2859,7 +2861,7 @@ class HotWord(AbstractModel):
|
|
2859
2861
|
|
2860
2862
|
|
2861
2863
|
class KeyWordLib(AbstractModel):
|
2862
|
-
"""关键词表信息
|
2864
|
+
r"""关键词表信息
|
2863
2865
|
|
2864
2866
|
"""
|
2865
2867
|
|
@@ -2889,7 +2891,7 @@ class KeyWordLib(AbstractModel):
|
|
2889
2891
|
|
2890
2892
|
@property
|
2891
2893
|
def KeyWordLibId(self):
|
2892
|
-
"""关键词表ID
|
2894
|
+
r"""关键词表ID
|
2893
2895
|
注意:此字段可能返回 null,表示取不到有效值。
|
2894
2896
|
:rtype: str
|
2895
2897
|
"""
|
@@ -2901,7 +2903,7 @@ class KeyWordLib(AbstractModel):
|
|
2901
2903
|
|
2902
2904
|
@property
|
2903
2905
|
def Name(self):
|
2904
|
-
"""关键词表名称
|
2906
|
+
r"""关键词表名称
|
2905
2907
|
注意:此字段可能返回 null,表示取不到有效值。
|
2906
2908
|
:rtype: str
|
2907
2909
|
"""
|
@@ -2913,7 +2915,7 @@ class KeyWordLib(AbstractModel):
|
|
2913
2915
|
|
2914
2916
|
@property
|
2915
2917
|
def KeyWordList(self):
|
2916
|
-
"""关键词列表
|
2918
|
+
r"""关键词列表
|
2917
2919
|
注意:此字段可能返回 null,表示取不到有效值。
|
2918
2920
|
:rtype: list of str
|
2919
2921
|
"""
|
@@ -2925,7 +2927,7 @@ class KeyWordLib(AbstractModel):
|
|
2925
2927
|
|
2926
2928
|
@property
|
2927
2929
|
def CreateTime(self):
|
2928
|
-
"""创建时间
|
2930
|
+
r"""创建时间
|
2929
2931
|
注意:此字段可能返回 null,表示取不到有效值。
|
2930
2932
|
:rtype: str
|
2931
2933
|
"""
|
@@ -2937,7 +2939,7 @@ class KeyWordLib(AbstractModel):
|
|
2937
2939
|
|
2938
2940
|
@property
|
2939
2941
|
def UpdateTime(self):
|
2940
|
-
"""更新时间
|
2942
|
+
r"""更新时间
|
2941
2943
|
注意:此字段可能返回 null,表示取不到有效值。
|
2942
2944
|
:rtype: str
|
2943
2945
|
"""
|
@@ -2965,7 +2967,7 @@ class KeyWordLib(AbstractModel):
|
|
2965
2967
|
|
2966
2968
|
|
2967
2969
|
class KeyWordLibIdData(AbstractModel):
|
2968
|
-
"""关键词ID
|
2970
|
+
r"""关键词ID
|
2969
2971
|
|
2970
2972
|
"""
|
2971
2973
|
|
@@ -2979,7 +2981,7 @@ class KeyWordLibIdData(AbstractModel):
|
|
2979
2981
|
|
2980
2982
|
@property
|
2981
2983
|
def KeyWordLibId(self):
|
2982
|
-
"""关键词ID
|
2984
|
+
r"""关键词ID
|
2983
2985
|
注意:此字段可能返回 null,表示取不到有效值。
|
2984
2986
|
:rtype: str
|
2985
2987
|
"""
|
@@ -3003,7 +3005,7 @@ class KeyWordLibIdData(AbstractModel):
|
|
3003
3005
|
|
3004
3006
|
|
3005
3007
|
class KeyWordLibListData(AbstractModel):
|
3006
|
-
"""查询列表返回数据
|
3008
|
+
r"""查询列表返回数据
|
3007
3009
|
|
3008
3010
|
"""
|
3009
3011
|
|
@@ -3021,7 +3023,7 @@ class KeyWordLibListData(AbstractModel):
|
|
3021
3023
|
|
3022
3024
|
@property
|
3023
3025
|
def KeyWordLibList(self):
|
3024
|
-
"""关键词表列表
|
3026
|
+
r"""关键词表列表
|
3025
3027
|
注意:此字段可能返回 null,表示取不到有效值。
|
3026
3028
|
:rtype: list of KeyWordLib
|
3027
3029
|
"""
|
@@ -3033,7 +3035,7 @@ class KeyWordLibListData(AbstractModel):
|
|
3033
3035
|
|
3034
3036
|
@property
|
3035
3037
|
def TotalCount(self):
|
3036
|
-
"""关键词列表总数
|
3038
|
+
r"""关键词列表总数
|
3037
3039
|
注意:此字段可能返回 null,表示取不到有效值。
|
3038
3040
|
:rtype: int
|
3039
3041
|
"""
|
@@ -3063,7 +3065,7 @@ class KeyWordLibListData(AbstractModel):
|
|
3063
3065
|
|
3064
3066
|
|
3065
3067
|
class KeyWordResult(AbstractModel):
|
3066
|
-
"""关键字识别结果
|
3068
|
+
r"""关键字识别结果
|
3067
3069
|
|
3068
3070
|
"""
|
3069
3071
|
|
@@ -3085,7 +3087,7 @@ class KeyWordResult(AbstractModel):
|
|
3085
3087
|
|
3086
3088
|
@property
|
3087
3089
|
def KeyWordLibID(self):
|
3088
|
-
"""关键词库ID
|
3090
|
+
r"""关键词库ID
|
3089
3091
|
注意:此字段可能返回 null,表示取不到有效值。
|
3090
3092
|
:rtype: str
|
3091
3093
|
"""
|
@@ -3097,7 +3099,7 @@ class KeyWordResult(AbstractModel):
|
|
3097
3099
|
|
3098
3100
|
@property
|
3099
3101
|
def KeyWordLibName(self):
|
3100
|
-
"""关键词库名称
|
3102
|
+
r"""关键词库名称
|
3101
3103
|
注意:此字段可能返回 null,表示取不到有效值。
|
3102
3104
|
:rtype: str
|
3103
3105
|
"""
|
@@ -3109,7 +3111,7 @@ class KeyWordResult(AbstractModel):
|
|
3109
3111
|
|
3110
3112
|
@property
|
3111
3113
|
def KeyWords(self):
|
3112
|
-
"""匹配到的关键词
|
3114
|
+
r"""匹配到的关键词
|
3113
3115
|
注意:此字段可能返回 null,表示取不到有效值。
|
3114
3116
|
:rtype: list of str
|
3115
3117
|
"""
|
@@ -3135,7 +3137,7 @@ class KeyWordResult(AbstractModel):
|
|
3135
3137
|
|
3136
3138
|
|
3137
3139
|
class Model(AbstractModel):
|
3138
|
-
"""[自学习模型信息](https://cloud.tencent.com/document/product/1093/90813#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
3140
|
+
r"""[自学习模型信息](https://cloud.tencent.com/document/product/1093/90813#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
3139
3141
|
|
3140
3142
|
"""
|
3141
3143
|
|
@@ -3176,7 +3178,7 @@ class Model(AbstractModel):
|
|
3176
3178
|
|
3177
3179
|
@property
|
3178
3180
|
def ModelName(self):
|
3179
|
-
"""模型名称
|
3181
|
+
r"""模型名称
|
3180
3182
|
:rtype: str
|
3181
3183
|
"""
|
3182
3184
|
return self._ModelName
|
@@ -3187,7 +3189,7 @@ class Model(AbstractModel):
|
|
3187
3189
|
|
3188
3190
|
@property
|
3189
3191
|
def DictName(self):
|
3190
|
-
"""模型文件名称
|
3192
|
+
r"""模型文件名称
|
3191
3193
|
:rtype: str
|
3192
3194
|
"""
|
3193
3195
|
return self._DictName
|
@@ -3198,7 +3200,7 @@ class Model(AbstractModel):
|
|
3198
3200
|
|
3199
3201
|
@property
|
3200
3202
|
def ModelId(self):
|
3201
|
-
"""模型Id
|
3203
|
+
r"""模型Id
|
3202
3204
|
:rtype: str
|
3203
3205
|
"""
|
3204
3206
|
return self._ModelId
|
@@ -3209,7 +3211,7 @@ class Model(AbstractModel):
|
|
3209
3211
|
|
3210
3212
|
@property
|
3211
3213
|
def ModelType(self):
|
3212
|
-
"""模型类型,“8k”或者”16k“
|
3214
|
+
r"""模型类型,“8k”或者”16k“
|
3213
3215
|
:rtype: str
|
3214
3216
|
"""
|
3215
3217
|
return self._ModelType
|
@@ -3220,7 +3222,7 @@ class Model(AbstractModel):
|
|
3220
3222
|
|
3221
3223
|
@property
|
3222
3224
|
def ServiceType(self):
|
3223
|
-
"""服务类型
|
3225
|
+
r"""服务类型
|
3224
3226
|
:rtype: str
|
3225
3227
|
"""
|
3226
3228
|
return self._ServiceType
|
@@ -3231,7 +3233,7 @@ class Model(AbstractModel):
|
|
3231
3233
|
|
3232
3234
|
@property
|
3233
3235
|
def ModelState(self):
|
3234
|
-
"""模型状态:
|
3236
|
+
r"""模型状态:
|
3235
3237
|
-2:模型训练失败;
|
3236
3238
|
-1:已下线;
|
3237
3239
|
0:训练中;
|
@@ -3248,7 +3250,7 @@ class Model(AbstractModel):
|
|
3248
3250
|
|
3249
3251
|
@property
|
3250
3252
|
def AtUpdated(self):
|
3251
|
-
"""最后更新时间
|
3253
|
+
r"""最后更新时间
|
3252
3254
|
:rtype: str
|
3253
3255
|
"""
|
3254
3256
|
return self._AtUpdated
|
@@ -3261,7 +3263,7 @@ class Model(AbstractModel):
|
|
3261
3263
|
def TagInfos(self):
|
3262
3264
|
warnings.warn("parameter `TagInfos` is deprecated", DeprecationWarning)
|
3263
3265
|
|
3264
|
-
"""标签信息
|
3266
|
+
r"""标签信息
|
3265
3267
|
注意:此字段可能返回 null,表示取不到有效值。
|
3266
3268
|
:rtype: list of str
|
3267
3269
|
"""
|
@@ -3294,7 +3296,7 @@ class Model(AbstractModel):
|
|
3294
3296
|
|
3295
3297
|
|
3296
3298
|
class ModifyCustomizationRequest(AbstractModel):
|
3297
|
-
"""ModifyCustomization请求参数结构体
|
3299
|
+
r"""ModifyCustomization请求参数结构体
|
3298
3300
|
|
3299
3301
|
"""
|
3300
3302
|
|
@@ -3316,7 +3318,7 @@ class ModifyCustomizationRequest(AbstractModel):
|
|
3316
3318
|
|
3317
3319
|
@property
|
3318
3320
|
def ModelId(self):
|
3319
|
-
"""要修改的模型ID
|
3321
|
+
r"""要修改的模型ID
|
3320
3322
|
:rtype: str
|
3321
3323
|
"""
|
3322
3324
|
return self._ModelId
|
@@ -3327,7 +3329,7 @@ class ModifyCustomizationRequest(AbstractModel):
|
|
3327
3329
|
|
3328
3330
|
@property
|
3329
3331
|
def ModelName(self):
|
3330
|
-
"""要修改的模型名称,长度需在1-20个字符之间
|
3332
|
+
r"""要修改的模型名称,长度需在1-20个字符之间
|
3331
3333
|
:rtype: str
|
3332
3334
|
"""
|
3333
3335
|
return self._ModelName
|
@@ -3338,7 +3340,7 @@ class ModifyCustomizationRequest(AbstractModel):
|
|
3338
3340
|
|
3339
3341
|
@property
|
3340
3342
|
def ModelType(self):
|
3341
|
-
"""要修改的模型类型,为8k或者16k
|
3343
|
+
r"""要修改的模型类型,为8k或者16k
|
3342
3344
|
:rtype: str
|
3343
3345
|
"""
|
3344
3346
|
return self._ModelType
|
@@ -3349,7 +3351,7 @@ class ModifyCustomizationRequest(AbstractModel):
|
|
3349
3351
|
|
3350
3352
|
@property
|
3351
3353
|
def TextUrl(self):
|
3352
|
-
"""要修改的模型语料的下载地址,目前仅支持腾讯云cos
|
3354
|
+
r"""要修改的模型语料的下载地址,目前仅支持腾讯云cos
|
3353
3355
|
:rtype: str
|
3354
3356
|
"""
|
3355
3357
|
return self._TextUrl
|
@@ -3375,7 +3377,7 @@ class ModifyCustomizationRequest(AbstractModel):
|
|
3375
3377
|
|
3376
3378
|
|
3377
3379
|
class ModifyCustomizationResponse(AbstractModel):
|
3378
|
-
"""ModifyCustomization返回参数结构体
|
3380
|
+
r"""ModifyCustomization返回参数结构体
|
3379
3381
|
|
3380
3382
|
"""
|
3381
3383
|
|
@@ -3388,7 +3390,7 @@ class ModifyCustomizationResponse(AbstractModel):
|
|
3388
3390
|
|
3389
3391
|
@property
|
3390
3392
|
def RequestId(self):
|
3391
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3393
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3392
3394
|
:rtype: str
|
3393
3395
|
"""
|
3394
3396
|
return self._RequestId
|
@@ -3403,7 +3405,7 @@ class ModifyCustomizationResponse(AbstractModel):
|
|
3403
3405
|
|
3404
3406
|
|
3405
3407
|
class ModifyCustomizationStateRequest(AbstractModel):
|
3406
|
-
"""ModifyCustomizationState请求参数结构体
|
3408
|
+
r"""ModifyCustomizationState请求参数结构体
|
3407
3409
|
|
3408
3410
|
"""
|
3409
3411
|
|
@@ -3419,7 +3421,7 @@ class ModifyCustomizationStateRequest(AbstractModel):
|
|
3419
3421
|
|
3420
3422
|
@property
|
3421
3423
|
def ModelId(self):
|
3422
|
-
"""自学习模型ID
|
3424
|
+
r"""自学习模型ID
|
3423
3425
|
:rtype: str
|
3424
3426
|
"""
|
3425
3427
|
return self._ModelId
|
@@ -3430,7 +3432,7 @@ class ModifyCustomizationStateRequest(AbstractModel):
|
|
3430
3432
|
|
3431
3433
|
@property
|
3432
3434
|
def ToState(self):
|
3433
|
-
"""想要变换的模型状态,-1代表下线,1代表上线
|
3435
|
+
r"""想要变换的模型状态,-1代表下线,1代表上线
|
3434
3436
|
:rtype: int
|
3435
3437
|
"""
|
3436
3438
|
return self._ToState
|
@@ -3454,7 +3456,7 @@ class ModifyCustomizationStateRequest(AbstractModel):
|
|
3454
3456
|
|
3455
3457
|
|
3456
3458
|
class ModifyCustomizationStateResponse(AbstractModel):
|
3457
|
-
"""ModifyCustomizationState返回参数结构体
|
3459
|
+
r"""ModifyCustomizationState返回参数结构体
|
3458
3460
|
|
3459
3461
|
"""
|
3460
3462
|
|
@@ -3470,7 +3472,7 @@ class ModifyCustomizationStateResponse(AbstractModel):
|
|
3470
3472
|
|
3471
3473
|
@property
|
3472
3474
|
def ModelId(self):
|
3473
|
-
"""自学习模型ID
|
3475
|
+
r"""自学习模型ID
|
3474
3476
|
:rtype: str
|
3475
3477
|
"""
|
3476
3478
|
return self._ModelId
|
@@ -3481,7 +3483,7 @@ class ModifyCustomizationStateResponse(AbstractModel):
|
|
3481
3483
|
|
3482
3484
|
@property
|
3483
3485
|
def RequestId(self):
|
3484
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3486
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3485
3487
|
:rtype: str
|
3486
3488
|
"""
|
3487
3489
|
return self._RequestId
|
@@ -3497,7 +3499,7 @@ class ModifyCustomizationStateResponse(AbstractModel):
|
|
3497
3499
|
|
3498
3500
|
|
3499
3501
|
class SentenceDetail(AbstractModel):
|
3500
|
-
"""单句的详细识别结果,包含单个词的时间偏移,一般用于生成字幕的场景。
|
3502
|
+
r"""单句的详细识别结果,包含单个词的时间偏移,一般用于生成字幕的场景。
|
3501
3503
|
|
3502
3504
|
"""
|
3503
3505
|
|
@@ -3560,7 +3562,7 @@ class SentenceDetail(AbstractModel):
|
|
3560
3562
|
|
3561
3563
|
@property
|
3562
3564
|
def FinalSentence(self):
|
3563
|
-
"""单句最终识别结果
|
3565
|
+
r"""单句最终识别结果
|
3564
3566
|
注意:此字段可能返回 null,表示取不到有效值。
|
3565
3567
|
:rtype: str
|
3566
3568
|
"""
|
@@ -3572,7 +3574,7 @@ class SentenceDetail(AbstractModel):
|
|
3572
3574
|
|
3573
3575
|
@property
|
3574
3576
|
def SliceSentence(self):
|
3575
|
-
"""单句中间识别结果,使用空格拆分为多个词
|
3577
|
+
r"""单句中间识别结果,使用空格拆分为多个词
|
3576
3578
|
注意:此字段可能返回 null,表示取不到有效值。
|
3577
3579
|
:rtype: str
|
3578
3580
|
"""
|
@@ -3584,7 +3586,7 @@ class SentenceDetail(AbstractModel):
|
|
3584
3586
|
|
3585
3587
|
@property
|
3586
3588
|
def WrittenText(self):
|
3587
|
-
"""口语转书面语结果,开启改功能才有值
|
3589
|
+
r"""口语转书面语结果,开启改功能才有值
|
3588
3590
|
注意:此字段可能返回 null,表示取不到有效值。
|
3589
3591
|
:rtype: str
|
3590
3592
|
"""
|
@@ -3596,7 +3598,7 @@ class SentenceDetail(AbstractModel):
|
|
3596
3598
|
|
3597
3599
|
@property
|
3598
3600
|
def StartMs(self):
|
3599
|
-
"""单句开始时间(毫秒)
|
3601
|
+
r"""单句开始时间(毫秒)
|
3600
3602
|
注意:此字段可能返回 null,表示取不到有效值。
|
3601
3603
|
:rtype: int
|
3602
3604
|
"""
|
@@ -3608,7 +3610,7 @@ class SentenceDetail(AbstractModel):
|
|
3608
3610
|
|
3609
3611
|
@property
|
3610
3612
|
def EndMs(self):
|
3611
|
-
"""单句结束时间(毫秒)
|
3613
|
+
r"""单句结束时间(毫秒)
|
3612
3614
|
注意:此字段可能返回 null,表示取不到有效值。
|
3613
3615
|
:rtype: int
|
3614
3616
|
"""
|
@@ -3620,7 +3622,7 @@ class SentenceDetail(AbstractModel):
|
|
3620
3622
|
|
3621
3623
|
@property
|
3622
3624
|
def WordsNum(self):
|
3623
|
-
"""单句中词个数
|
3625
|
+
r"""单句中词个数
|
3624
3626
|
注意:此字段可能返回 null,表示取不到有效值。
|
3625
3627
|
:rtype: int
|
3626
3628
|
"""
|
@@ -3632,7 +3634,7 @@ class SentenceDetail(AbstractModel):
|
|
3632
3634
|
|
3633
3635
|
@property
|
3634
3636
|
def Words(self):
|
3635
|
-
"""单句中词详情
|
3637
|
+
r"""单句中词详情
|
3636
3638
|
注意:此字段可能返回 null,表示取不到有效值。
|
3637
3639
|
:rtype: list of SentenceWords
|
3638
3640
|
"""
|
@@ -3644,7 +3646,7 @@ class SentenceDetail(AbstractModel):
|
|
3644
3646
|
|
3645
3647
|
@property
|
3646
3648
|
def SpeechSpeed(self):
|
3647
|
-
"""单句语速,单位:字数/秒
|
3649
|
+
r"""单句语速,单位:字数/秒
|
3648
3650
|
注意:此字段可能返回 null,表示取不到有效值。
|
3649
3651
|
:rtype: float
|
3650
3652
|
"""
|
@@ -3656,7 +3658,7 @@ class SentenceDetail(AbstractModel):
|
|
3656
3658
|
|
3657
3659
|
@property
|
3658
3660
|
def SpeakerId(self):
|
3659
|
-
"""声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)
|
3661
|
+
r"""声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)
|
3660
3662
|
单声道话者分离时不同的值代表不同的说话人; 8k双声道话者分离时speakerId的值为0代表左声道,值为1代表右声道。
|
3661
3663
|
注意:此字段可能返回 null,表示取不到有效值。
|
3662
3664
|
:rtype: int
|
@@ -3669,7 +3671,7 @@ class SentenceDetail(AbstractModel):
|
|
3669
3671
|
|
3670
3672
|
@property
|
3671
3673
|
def EmotionalEnergy(self):
|
3672
|
-
"""情绪能量值,取值为音量分贝值/10。取值范围:[1,10]。值越高情绪越强烈。
|
3674
|
+
r"""情绪能量值,取值为音量分贝值/10。取值范围:[1,10]。值越高情绪越强烈。
|
3673
3675
|
注意:此字段可能返回 null,表示取不到有效值。
|
3674
3676
|
:rtype: float
|
3675
3677
|
"""
|
@@ -3681,7 +3683,7 @@ class SentenceDetail(AbstractModel):
|
|
3681
3683
|
|
3682
3684
|
@property
|
3683
3685
|
def SilenceTime(self):
|
3684
|
-
"""本句与上一句之间的静音时长
|
3686
|
+
r"""本句与上一句之间的静音时长
|
3685
3687
|
注意:此字段可能返回 null,表示取不到有效值。
|
3686
3688
|
:rtype: int
|
3687
3689
|
"""
|
@@ -3693,7 +3695,7 @@ class SentenceDetail(AbstractModel):
|
|
3693
3695
|
|
3694
3696
|
@property
|
3695
3697
|
def EmotionType(self):
|
3696
|
-
"""情绪类型(可能为空,有2种情况 1、没有对应资源包;2、情绪跟语音效果相关,如果情绪不够强烈时可能无法识别)
|
3698
|
+
r"""情绪类型(可能为空,有2种情况 1、没有对应资源包;2、情绪跟语音效果相关,如果情绪不够强烈时可能无法识别)
|
3697
3699
|
注意:此字段可能返回 null,表示取不到有效值。
|
3698
3700
|
:rtype: list of str
|
3699
3701
|
"""
|
@@ -3705,7 +3707,7 @@ class SentenceDetail(AbstractModel):
|
|
3705
3707
|
|
3706
3708
|
@property
|
3707
3709
|
def KeyWordResults(self):
|
3708
|
-
"""关键词识别结果列表
|
3710
|
+
r"""关键词识别结果列表
|
3709
3711
|
注意:此字段可能返回 null,表示取不到有效值。
|
3710
3712
|
:rtype: list of KeyWordResult
|
3711
3713
|
"""
|
@@ -3751,7 +3753,7 @@ class SentenceDetail(AbstractModel):
|
|
3751
3753
|
|
3752
3754
|
|
3753
3755
|
class SentenceRecognitionRequest(AbstractModel):
|
3754
|
-
"""SentenceRecognition请求参数结构体
|
3756
|
+
r"""SentenceRecognition请求参数结构体
|
3755
3757
|
|
3756
3758
|
"""
|
3757
3759
|
|
@@ -3854,7 +3856,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3854
3856
|
|
3855
3857
|
@property
|
3856
3858
|
def EngSerViceType(self):
|
3857
|
-
"""引擎模型类型。
|
3859
|
+
r"""引擎模型类型。
|
3858
3860
|
电话场景:
|
3859
3861
|
• 8k_zh:中文电话通用;
|
3860
3862
|
• 8k_en:英文电话通用;
|
@@ -3890,7 +3892,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3890
3892
|
|
3891
3893
|
@property
|
3892
3894
|
def SourceType(self):
|
3893
|
-
"""语音数据来源。0:语音 URL;1:语音数据(post body)。
|
3895
|
+
r"""语音数据来源。0:语音 URL;1:语音数据(post body)。
|
3894
3896
|
:rtype: int
|
3895
3897
|
"""
|
3896
3898
|
return self._SourceType
|
@@ -3901,7 +3903,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3901
3903
|
|
3902
3904
|
@property
|
3903
3905
|
def VoiceFormat(self):
|
3904
|
-
"""识别音频的音频格式,支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、amr。
|
3906
|
+
r"""识别音频的音频格式,支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、amr。
|
3905
3907
|
:rtype: str
|
3906
3908
|
"""
|
3907
3909
|
return self._VoiceFormat
|
@@ -3914,7 +3916,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3914
3916
|
def ProjectId(self):
|
3915
3917
|
warnings.warn("parameter `ProjectId` is deprecated", DeprecationWarning)
|
3916
3918
|
|
3917
|
-
"""腾讯云项目 ID,废弃参数,填写0即可。
|
3919
|
+
r"""腾讯云项目 ID,废弃参数,填写0即可。
|
3918
3920
|
:rtype: int
|
3919
3921
|
"""
|
3920
3922
|
return self._ProjectId
|
@@ -3929,7 +3931,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3929
3931
|
def SubServiceType(self):
|
3930
3932
|
warnings.warn("parameter `SubServiceType` is deprecated", DeprecationWarning)
|
3931
3933
|
|
3932
|
-
"""子服务类型。2: 一句话识别。
|
3934
|
+
r"""子服务类型。2: 一句话识别。
|
3933
3935
|
:rtype: int
|
3934
3936
|
"""
|
3935
3937
|
return self._SubServiceType
|
@@ -3942,7 +3944,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3942
3944
|
|
3943
3945
|
@property
|
3944
3946
|
def Url(self):
|
3945
|
-
"""语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
|
3947
|
+
r"""语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
|
3946
3948
|
|
3947
3949
|
注意:推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
|
3948
3950
|
:rtype: str
|
@@ -3957,7 +3959,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3957
3959
|
def UsrAudioKey(self):
|
3958
3960
|
warnings.warn("parameter `UsrAudioKey` is deprecated", DeprecationWarning)
|
3959
3961
|
|
3960
|
-
"""废弃参数,填写任意字符串即可。
|
3962
|
+
r"""废弃参数,填写任意字符串即可。
|
3961
3963
|
:rtype: str
|
3962
3964
|
"""
|
3963
3965
|
return self._UsrAudioKey
|
@@ -3970,7 +3972,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3970
3972
|
|
3971
3973
|
@property
|
3972
3974
|
def Data(self):
|
3973
|
-
"""语音数据,当SourceType 值为1(本地语音数据上传)时必须填写,当SourceType 值为0(语音 URL上传)可不写。要使用base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。音频时长不能超过60s,音频文件大小不能超过3MB(Base64后)。
|
3975
|
+
r"""语音数据,当SourceType 值为1(本地语音数据上传)时必须填写,当SourceType 值为0(语音 URL上传)可不写。要使用base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。音频时长不能超过60s,音频文件大小不能超过3MB(Base64后)。
|
3974
3976
|
:rtype: str
|
3975
3977
|
"""
|
3976
3978
|
return self._Data
|
@@ -3981,7 +3983,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3981
3983
|
|
3982
3984
|
@property
|
3983
3985
|
def DataLen(self):
|
3984
|
-
"""数据长度,单位为字节。当 SourceType 值为1(本地语音数据上传)时必须填写,当 SourceType 值为0(语音 URL上传)可不写(此数据长度为数据未进行base64编码时的数据长度)。
|
3986
|
+
r"""数据长度,单位为字节。当 SourceType 值为1(本地语音数据上传)时必须填写,当 SourceType 值为0(语音 URL上传)可不写(此数据长度为数据未进行base64编码时的数据长度)。
|
3985
3987
|
:rtype: int
|
3986
3988
|
"""
|
3987
3989
|
return self._DataLen
|
@@ -3992,7 +3994,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
3992
3994
|
|
3993
3995
|
@property
|
3994
3996
|
def WordInfo(self):
|
3995
|
-
"""是否显示词级别时间戳。0:不显示;1:显示,不包含标点时间戳,2:显示,包含标点时间戳。默认值为 0。
|
3997
|
+
r"""是否显示词级别时间戳。0:不显示;1:显示,不包含标点时间戳,2:显示,包含标点时间戳。默认值为 0。
|
3996
3998
|
:rtype: int
|
3997
3999
|
"""
|
3998
4000
|
return self._WordInfo
|
@@ -4003,7 +4005,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4003
4005
|
|
4004
4006
|
@property
|
4005
4007
|
def FilterDirty(self):
|
4006
|
-
"""是否过滤脏词(目前支持中文普通话引擎)。0:不过滤脏词;1:过滤脏词;2:将脏词替换为 * 。默认值为 0。
|
4008
|
+
r"""是否过滤脏词(目前支持中文普通话引擎)。0:不过滤脏词;1:过滤脏词;2:将脏词替换为 * 。默认值为 0。
|
4007
4009
|
:rtype: int
|
4008
4010
|
"""
|
4009
4011
|
return self._FilterDirty
|
@@ -4014,7 +4016,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4014
4016
|
|
4015
4017
|
@property
|
4016
4018
|
def FilterModal(self):
|
4017
|
-
"""是否过滤语气词(目前支持中文普通话引擎)。0:不过滤语气词;1:部分过滤;2:严格过滤 。默认值为 0。
|
4019
|
+
r"""是否过滤语气词(目前支持中文普通话引擎)。0:不过滤语气词;1:部分过滤;2:严格过滤 。默认值为 0。
|
4018
4020
|
:rtype: int
|
4019
4021
|
"""
|
4020
4022
|
return self._FilterModal
|
@@ -4025,7 +4027,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4025
4027
|
|
4026
4028
|
@property
|
4027
4029
|
def FilterPunc(self):
|
4028
|
-
"""是否过滤标点符号(目前支持中文普通话引擎)。 0:不过滤,1:过滤句末标点,2:过滤所有标点。默认值为 0。
|
4030
|
+
r"""是否过滤标点符号(目前支持中文普通话引擎)。 0:不过滤,1:过滤句末标点,2:过滤所有标点。默认值为 0。
|
4029
4031
|
:rtype: int
|
4030
4032
|
"""
|
4031
4033
|
return self._FilterPunc
|
@@ -4036,7 +4038,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4036
4038
|
|
4037
4039
|
@property
|
4038
4040
|
def ConvertNumMode(self):
|
4039
|
-
"""是否进行阿拉伯数字智能转换。0:不转换,直接输出中文数字,1:根据场景智能转换为阿拉伯数字。默认值为1。
|
4041
|
+
r"""是否进行阿拉伯数字智能转换。0:不转换,直接输出中文数字,1:根据场景智能转换为阿拉伯数字。默认值为1。
|
4040
4042
|
:rtype: int
|
4041
4043
|
"""
|
4042
4044
|
return self._ConvertNumMode
|
@@ -4047,7 +4049,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4047
4049
|
|
4048
4050
|
@property
|
4049
4051
|
def HotwordId(self):
|
4050
|
-
"""热词id。用于调用对应的热词表,如果在调用语音识别服务时,不进行单独的热词id设置,自动生效默认热词;如果进行了单独的热词id设置,那么将生效单独设置的热词id。
|
4052
|
+
r"""热词id。用于调用对应的热词表,如果在调用语音识别服务时,不进行单独的热词id设置,自动生效默认热词;如果进行了单独的热词id设置,那么将生效单独设置的热词id。
|
4051
4053
|
:rtype: str
|
4052
4054
|
"""
|
4053
4055
|
return self._HotwordId
|
@@ -4058,7 +4060,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4058
4060
|
|
4059
4061
|
@property
|
4060
4062
|
def CustomizationId(self):
|
4061
|
-
"""自学习模型 id。如设置了该参数,将生效对应的自学习模型。
|
4063
|
+
r"""自学习模型 id。如设置了该参数,将生效对应的自学习模型。
|
4062
4064
|
:rtype: str
|
4063
4065
|
"""
|
4064
4066
|
return self._CustomizationId
|
@@ -4071,7 +4073,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4071
4073
|
def ReinforceHotword(self):
|
4072
4074
|
warnings.warn("parameter `ReinforceHotword` is deprecated", DeprecationWarning)
|
4073
4075
|
|
4074
|
-
"""热词增强功能。1:开启后(仅支持8k_zh,16k_zh),将开启同音替换功能,同音字、词在热词中配置。举例:热词配置“蜜制”并开启增强功能后,与“蜜制”同拼音(mizhi)的“秘制”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。
|
4076
|
+
r"""热词增强功能。1:开启后(仅支持8k_zh,16k_zh),将开启同音替换功能,同音字、词在热词中配置。举例:热词配置“蜜制”并开启增强功能后,与“蜜制”同拼音(mizhi)的“秘制”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。
|
4075
4077
|
:rtype: int
|
4076
4078
|
"""
|
4077
4079
|
return self._ReinforceHotword
|
@@ -4084,7 +4086,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4084
4086
|
|
4085
4087
|
@property
|
4086
4088
|
def HotwordList(self):
|
4087
|
-
"""临时热词表:该参数用于提升识别准确率。
|
4089
|
+
r"""临时热词表:该参数用于提升识别准确率。
|
4088
4090
|
单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重1-11或者100,如:“腾讯云|5” 或 “ASR|11”;
|
4089
4091
|
临时热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
4090
4092
|
参数 hotword_list(临时热词表) 与 hotword_id(热词表) 区别:
|
@@ -4104,7 +4106,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4104
4106
|
|
4105
4107
|
@property
|
4106
4108
|
def InputSampleRate(self):
|
4107
|
-
"""支持pcm格式的8k音频在与引擎采样率不匹配的情况下升采样到16k后识别,能有效提升识别准确率。仅支持:8000。如:传入 8000 ,则pcm音频采样率为8k,当引擎选用16k_zh, 那么该8k采样率的pcm音频可以在16k_zh引擎下正常识别。 注:此参数仅适用于pcm格式音频,不传入值将维持默认状态,即默认调用的引擎采样率等于pcm音频采样率。
|
4109
|
+
r"""支持pcm格式的8k音频在与引擎采样率不匹配的情况下升采样到16k后识别,能有效提升识别准确率。仅支持:8000。如:传入 8000 ,则pcm音频采样率为8k,当引擎选用16k_zh, 那么该8k采样率的pcm音频可以在16k_zh引擎下正常识别。 注:此参数仅适用于pcm格式音频,不传入值将维持默认状态,即默认调用的引擎采样率等于pcm音频采样率。
|
4108
4110
|
:rtype: int
|
4109
4111
|
"""
|
4110
4112
|
return self._InputSampleRate
|
@@ -4145,7 +4147,7 @@ hotword_list:临时热词表。每次请求时直接传入临时热词表来
|
|
4145
4147
|
|
4146
4148
|
|
4147
4149
|
class SentenceRecognitionResponse(AbstractModel):
|
4148
|
-
"""SentenceRecognition返回参数结构体
|
4150
|
+
r"""SentenceRecognition返回参数结构体
|
4149
4151
|
|
4150
4152
|
"""
|
4151
4153
|
|
@@ -4172,7 +4174,7 @@ class SentenceRecognitionResponse(AbstractModel):
|
|
4172
4174
|
|
4173
4175
|
@property
|
4174
4176
|
def Result(self):
|
4175
|
-
"""识别结果。
|
4177
|
+
r"""识别结果。
|
4176
4178
|
:rtype: str
|
4177
4179
|
"""
|
4178
4180
|
return self._Result
|
@@ -4183,7 +4185,7 @@ class SentenceRecognitionResponse(AbstractModel):
|
|
4183
4185
|
|
4184
4186
|
@property
|
4185
4187
|
def AudioDuration(self):
|
4186
|
-
"""请求的音频时长,单位为ms
|
4188
|
+
r"""请求的音频时长,单位为ms
|
4187
4189
|
:rtype: int
|
4188
4190
|
"""
|
4189
4191
|
return self._AudioDuration
|
@@ -4194,7 +4196,7 @@ class SentenceRecognitionResponse(AbstractModel):
|
|
4194
4196
|
|
4195
4197
|
@property
|
4196
4198
|
def WordSize(self):
|
4197
|
-
"""词时间戳列表的长度
|
4199
|
+
r"""词时间戳列表的长度
|
4198
4200
|
注意:此字段可能返回 null,表示取不到有效值。
|
4199
4201
|
:rtype: int
|
4200
4202
|
"""
|
@@ -4206,7 +4208,7 @@ class SentenceRecognitionResponse(AbstractModel):
|
|
4206
4208
|
|
4207
4209
|
@property
|
4208
4210
|
def WordList(self):
|
4209
|
-
"""词时间戳列表
|
4211
|
+
r"""词时间戳列表
|
4210
4212
|
注意:此字段可能返回 null,表示取不到有效值。
|
4211
4213
|
:rtype: list of SentenceWord
|
4212
4214
|
"""
|
@@ -4218,7 +4220,7 @@ class SentenceRecognitionResponse(AbstractModel):
|
|
4218
4220
|
|
4219
4221
|
@property
|
4220
4222
|
def RequestId(self):
|
4221
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4223
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4222
4224
|
:rtype: str
|
4223
4225
|
"""
|
4224
4226
|
return self._RequestId
|
@@ -4242,7 +4244,7 @@ class SentenceRecognitionResponse(AbstractModel):
|
|
4242
4244
|
|
4243
4245
|
|
4244
4246
|
class SentenceWord(AbstractModel):
|
4245
|
-
"""[一句话识别](https://cloud.tencent.com/document/product/1093/35646#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)返回的词时间戳
|
4247
|
+
r"""[一句话识别](https://cloud.tencent.com/document/product/1093/35646#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)返回的词时间戳
|
4246
4248
|
|
4247
4249
|
"""
|
4248
4250
|
|
@@ -4261,7 +4263,7 @@ class SentenceWord(AbstractModel):
|
|
4261
4263
|
|
4262
4264
|
@property
|
4263
4265
|
def Word(self):
|
4264
|
-
"""词结果
|
4266
|
+
r"""词结果
|
4265
4267
|
:rtype: str
|
4266
4268
|
"""
|
4267
4269
|
return self._Word
|
@@ -4272,7 +4274,7 @@ class SentenceWord(AbstractModel):
|
|
4272
4274
|
|
4273
4275
|
@property
|
4274
4276
|
def StartTime(self):
|
4275
|
-
"""词在音频中的开始时间
|
4277
|
+
r"""词在音频中的开始时间
|
4276
4278
|
:rtype: int
|
4277
4279
|
"""
|
4278
4280
|
return self._StartTime
|
@@ -4283,7 +4285,7 @@ class SentenceWord(AbstractModel):
|
|
4283
4285
|
|
4284
4286
|
@property
|
4285
4287
|
def EndTime(self):
|
4286
|
-
"""词在音频中的结束时间
|
4288
|
+
r"""词在音频中的结束时间
|
4287
4289
|
:rtype: int
|
4288
4290
|
"""
|
4289
4291
|
return self._EndTime
|
@@ -4308,7 +4310,7 @@ class SentenceWord(AbstractModel):
|
|
4308
4310
|
|
4309
4311
|
|
4310
4312
|
class SentenceWords(AbstractModel):
|
4311
|
-
"""识别结果中词文本,以及对应时间偏移
|
4313
|
+
r"""识别结果中词文本,以及对应时间偏移
|
4312
4314
|
|
4313
4315
|
"""
|
4314
4316
|
|
@@ -4330,7 +4332,7 @@ class SentenceWords(AbstractModel):
|
|
4330
4332
|
|
4331
4333
|
@property
|
4332
4334
|
def Word(self):
|
4333
|
-
"""词文本
|
4335
|
+
r"""词文本
|
4334
4336
|
注意:此字段可能返回 null,表示取不到有效值。
|
4335
4337
|
:rtype: str
|
4336
4338
|
"""
|
@@ -4342,7 +4344,7 @@ class SentenceWords(AbstractModel):
|
|
4342
4344
|
|
4343
4345
|
@property
|
4344
4346
|
def OffsetStartMs(self):
|
4345
|
-
"""在句子中的开始时间偏移量
|
4347
|
+
r"""在句子中的开始时间偏移量
|
4346
4348
|
注意:此字段可能返回 null,表示取不到有效值。
|
4347
4349
|
:rtype: int
|
4348
4350
|
"""
|
@@ -4354,7 +4356,7 @@ class SentenceWords(AbstractModel):
|
|
4354
4356
|
|
4355
4357
|
@property
|
4356
4358
|
def OffsetEndMs(self):
|
4357
|
-
"""在句子中的结束时间偏移量
|
4359
|
+
r"""在句子中的结束时间偏移量
|
4358
4360
|
注意:此字段可能返回 null,表示取不到有效值。
|
4359
4361
|
:rtype: int
|
4360
4362
|
"""
|
@@ -4380,7 +4382,7 @@ class SentenceWords(AbstractModel):
|
|
4380
4382
|
|
4381
4383
|
|
4382
4384
|
class SetVocabStateRequest(AbstractModel):
|
4383
|
-
"""SetVocabState请求参数结构体
|
4385
|
+
r"""SetVocabState请求参数结构体
|
4384
4386
|
|
4385
4387
|
"""
|
4386
4388
|
|
@@ -4396,7 +4398,7 @@ class SetVocabStateRequest(AbstractModel):
|
|
4396
4398
|
|
4397
4399
|
@property
|
4398
4400
|
def VocabId(self):
|
4399
|
-
"""热词表ID。
|
4401
|
+
r"""热词表ID。
|
4400
4402
|
:rtype: str
|
4401
4403
|
"""
|
4402
4404
|
return self._VocabId
|
@@ -4407,7 +4409,7 @@ class SetVocabStateRequest(AbstractModel):
|
|
4407
4409
|
|
4408
4410
|
@property
|
4409
4411
|
def State(self):
|
4410
|
-
"""热词表状态,1:设为默认状态;0:设为非默认状态。
|
4412
|
+
r"""热词表状态,1:设为默认状态;0:设为非默认状态。
|
4411
4413
|
:rtype: int
|
4412
4414
|
"""
|
4413
4415
|
return self._State
|
@@ -4431,7 +4433,7 @@ class SetVocabStateRequest(AbstractModel):
|
|
4431
4433
|
|
4432
4434
|
|
4433
4435
|
class SetVocabStateResponse(AbstractModel):
|
4434
|
-
"""SetVocabState返回参数结构体
|
4436
|
+
r"""SetVocabState返回参数结构体
|
4435
4437
|
|
4436
4438
|
"""
|
4437
4439
|
|
@@ -4447,7 +4449,7 @@ class SetVocabStateResponse(AbstractModel):
|
|
4447
4449
|
|
4448
4450
|
@property
|
4449
4451
|
def VocabId(self):
|
4450
|
-
"""热词表ID
|
4452
|
+
r"""热词表ID
|
4451
4453
|
:rtype: str
|
4452
4454
|
"""
|
4453
4455
|
return self._VocabId
|
@@ -4458,7 +4460,7 @@ class SetVocabStateResponse(AbstractModel):
|
|
4458
4460
|
|
4459
4461
|
@property
|
4460
4462
|
def RequestId(self):
|
4461
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4463
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4462
4464
|
:rtype: str
|
4463
4465
|
"""
|
4464
4466
|
return self._RequestId
|
@@ -4474,7 +4476,7 @@ class SetVocabStateResponse(AbstractModel):
|
|
4474
4476
|
|
4475
4477
|
|
4476
4478
|
class Task(AbstractModel):
|
4477
|
-
"""[录音文件识别](https://cloud.tencent.com/document/product/1093/37823#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)、[实时语音异步识别](https://cloud.tencent.com/document/product/1093/52061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)请求的返回数据
|
4479
|
+
r"""[录音文件识别](https://cloud.tencent.com/document/product/1093/37823#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)、[实时语音异步识别](https://cloud.tencent.com/document/product/1093/52061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)请求的返回数据
|
4478
4480
|
|
4479
4481
|
"""
|
4480
4482
|
|
@@ -4488,7 +4490,7 @@ class Task(AbstractModel):
|
|
4488
4490
|
|
4489
4491
|
@property
|
4490
4492
|
def TaskId(self):
|
4491
|
-
"""任务ID,可通过此ID在轮询接口获取识别状态与结果。TaskId数据类型为**uint64**。
|
4493
|
+
r"""任务ID,可通过此ID在轮询接口获取识别状态与结果。TaskId数据类型为**uint64**。
|
4492
4494
|
**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**
|
4493
4495
|
:rtype: int
|
4494
4496
|
"""
|
@@ -4512,7 +4514,7 @@ class Task(AbstractModel):
|
|
4512
4514
|
|
4513
4515
|
|
4514
4516
|
class TaskStatus(AbstractModel):
|
4515
|
-
"""[获取录音识别结果的返回参数](https://cloud.tencent.com/document/product/1093/37822#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
4517
|
+
r"""[获取录音识别结果的返回参数](https://cloud.tencent.com/document/product/1093/37822#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
4516
4518
|
|
4517
4519
|
"""
|
4518
4520
|
|
@@ -4545,7 +4547,7 @@ class TaskStatus(AbstractModel):
|
|
4545
4547
|
|
4546
4548
|
@property
|
4547
4549
|
def TaskId(self):
|
4548
|
-
"""任务标识。注意:TaskId数据类型为uint64。
|
4550
|
+
r"""任务标识。注意:TaskId数据类型为uint64。
|
4549
4551
|
:rtype: int
|
4550
4552
|
"""
|
4551
4553
|
return self._TaskId
|
@@ -4556,7 +4558,7 @@ class TaskStatus(AbstractModel):
|
|
4556
4558
|
|
4557
4559
|
@property
|
4558
4560
|
def Status(self):
|
4559
|
-
"""任务状态码,0:任务等待,1:任务执行中,2:任务成功,3:任务失败。
|
4561
|
+
r"""任务状态码,0:任务等待,1:任务执行中,2:任务成功,3:任务失败。
|
4560
4562
|
:rtype: int
|
4561
4563
|
"""
|
4562
4564
|
return self._Status
|
@@ -4567,7 +4569,7 @@ class TaskStatus(AbstractModel):
|
|
4567
4569
|
|
4568
4570
|
@property
|
4569
4571
|
def StatusStr(self):
|
4570
|
-
"""任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。
|
4572
|
+
r"""任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。
|
4571
4573
|
:rtype: str
|
4572
4574
|
"""
|
4573
4575
|
return self._StatusStr
|
@@ -4578,7 +4580,7 @@ class TaskStatus(AbstractModel):
|
|
4578
4580
|
|
4579
4581
|
@property
|
4580
4582
|
def Result(self):
|
4581
|
-
"""识别结果。
|
4583
|
+
r"""识别结果。
|
4582
4584
|
:rtype: str
|
4583
4585
|
"""
|
4584
4586
|
return self._Result
|
@@ -4589,7 +4591,7 @@ class TaskStatus(AbstractModel):
|
|
4589
4591
|
|
4590
4592
|
@property
|
4591
4593
|
def ErrorMsg(self):
|
4592
|
-
"""失败原因说明。
|
4594
|
+
r"""失败原因说明。
|
4593
4595
|
:rtype: str
|
4594
4596
|
"""
|
4595
4597
|
return self._ErrorMsg
|
@@ -4600,7 +4602,7 @@ class TaskStatus(AbstractModel):
|
|
4600
4602
|
|
4601
4603
|
@property
|
4602
4604
|
def ResultDetail(self):
|
4603
|
-
"""识别结果详情,包含每个句子中的词时间偏移,一般用于生成字幕的场景。(录音识别请求中ResTextFormat=1时该字段不为空)
|
4605
|
+
r"""识别结果详情,包含每个句子中的词时间偏移,一般用于生成字幕的场景。(录音识别请求中ResTextFormat=1时该字段不为空)
|
4604
4606
|
注意:此字段可能返回 null,表示取不到有效值。
|
4605
4607
|
:rtype: list of SentenceDetail
|
4606
4608
|
"""
|
@@ -4612,7 +4614,7 @@ class TaskStatus(AbstractModel):
|
|
4612
4614
|
|
4613
4615
|
@property
|
4614
4616
|
def AudioDuration(self):
|
4615
|
-
"""音频时长(秒)。
|
4617
|
+
r"""音频时长(秒)。
|
4616
4618
|
注意:此字段可能返回 null,表示取不到有效值。
|
4617
4619
|
:rtype: float
|
4618
4620
|
"""
|
@@ -4647,7 +4649,7 @@ class TaskStatus(AbstractModel):
|
|
4647
4649
|
|
4648
4650
|
|
4649
4651
|
class UpdateAsrKeyWordLibRequest(AbstractModel):
|
4650
|
-
"""UpdateAsrKeyWordLib请求参数结构体
|
4652
|
+
r"""UpdateAsrKeyWordLib请求参数结构体
|
4651
4653
|
|
4652
4654
|
"""
|
4653
4655
|
|
@@ -4670,7 +4672,7 @@ class UpdateAsrKeyWordLibRequest(AbstractModel):
|
|
4670
4672
|
|
4671
4673
|
@property
|
4672
4674
|
def KeyWordLibId(self):
|
4673
|
-
"""关键词表ID
|
4675
|
+
r"""关键词表ID
|
4674
4676
|
:rtype: str
|
4675
4677
|
"""
|
4676
4678
|
return self._KeyWordLibId
|
@@ -4681,7 +4683,7 @@ class UpdateAsrKeyWordLibRequest(AbstractModel):
|
|
4681
4683
|
|
4682
4684
|
@property
|
4683
4685
|
def Name(self):
|
4684
|
-
"""词表名称,长度在1-20之间
|
4686
|
+
r"""词表名称,长度在1-20之间
|
4685
4687
|
仅限中英文数字-_
|
4686
4688
|
:rtype: str
|
4687
4689
|
"""
|
@@ -4693,7 +4695,7 @@ class UpdateAsrKeyWordLibRequest(AbstractModel):
|
|
4693
4695
|
|
4694
4696
|
@property
|
4695
4697
|
def KeyWordFile(self):
|
4696
|
-
"""- 词文件(纯文本文件)以行分隔 ,进行二进制base64编码
|
4698
|
+
r"""- 词文件(纯文本文件)以行分隔 ,进行二进制base64编码
|
4697
4699
|
- 格式要求:TXT 每行只有一个词,不满足格式则报错无法上传
|
4698
4700
|
- 每个词最多5个汉字或15个字符,单个词库最多不超过100个词
|
4699
4701
|
- 此参数为空则只更新词表名称
|
@@ -4721,7 +4723,7 @@ class UpdateAsrKeyWordLibRequest(AbstractModel):
|
|
4721
4723
|
|
4722
4724
|
|
4723
4725
|
class UpdateAsrKeyWordLibResponse(AbstractModel):
|
4724
|
-
"""UpdateAsrKeyWordLib返回参数结构体
|
4726
|
+
r"""UpdateAsrKeyWordLib返回参数结构体
|
4725
4727
|
|
4726
4728
|
"""
|
4727
4729
|
|
@@ -4737,7 +4739,7 @@ class UpdateAsrKeyWordLibResponse(AbstractModel):
|
|
4737
4739
|
|
4738
4740
|
@property
|
4739
4741
|
def Data(self):
|
4740
|
-
"""关键词表ID数据
|
4742
|
+
r"""关键词表ID数据
|
4741
4743
|
:rtype: :class:`tencentcloud.asr.v20190614.models.KeyWordLibIdData`
|
4742
4744
|
"""
|
4743
4745
|
return self._Data
|
@@ -4748,7 +4750,7 @@ class UpdateAsrKeyWordLibResponse(AbstractModel):
|
|
4748
4750
|
|
4749
4751
|
@property
|
4750
4752
|
def RequestId(self):
|
4751
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4753
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4752
4754
|
:rtype: str
|
4753
4755
|
"""
|
4754
4756
|
return self._RequestId
|
@@ -4766,7 +4768,7 @@ class UpdateAsrKeyWordLibResponse(AbstractModel):
|
|
4766
4768
|
|
4767
4769
|
|
4768
4770
|
class UpdateAsrVocabRequest(AbstractModel):
|
4769
|
-
"""UpdateAsrVocab请求参数结构体
|
4771
|
+
r"""UpdateAsrVocab请求参数结构体
|
4770
4772
|
|
4771
4773
|
"""
|
4772
4774
|
|
@@ -4793,7 +4795,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
4793
4795
|
|
4794
4796
|
@property
|
4795
4797
|
def VocabId(self):
|
4796
|
-
"""热词表ID
|
4798
|
+
r"""热词表ID
|
4797
4799
|
:rtype: str
|
4798
4800
|
"""
|
4799
4801
|
return self._VocabId
|
@@ -4804,7 +4806,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
4804
4806
|
|
4805
4807
|
@property
|
4806
4808
|
def Name(self):
|
4807
|
-
"""热词表名称,长度在1-255之间
|
4809
|
+
r"""热词表名称,长度在1-255之间
|
4808
4810
|
:rtype: str
|
4809
4811
|
"""
|
4810
4812
|
return self._Name
|
@@ -4815,7 +4817,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
4815
4817
|
|
4816
4818
|
@property
|
4817
4819
|
def WordWeights(self):
|
4818
|
-
"""词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数或100,数组长度不大于1000 (注意:如果仅更新热词表名称或者描述字段,请求不用带本参数)
|
4820
|
+
r"""词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数或100,数组长度不大于1000 (注意:如果仅更新热词表名称或者描述字段,请求不用带本参数)
|
4819
4821
|
:rtype: list of HotWord
|
4820
4822
|
"""
|
4821
4823
|
return self._WordWeights
|
@@ -4826,7 +4828,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
4826
4828
|
|
4827
4829
|
@property
|
4828
4830
|
def WordWeightStr(self):
|
4829
|
-
"""词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
4831
|
+
r"""词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
4830
4832
|
当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略
|
4831
4833
|
(注意:如果仅更新热词表名称或者描述字段,请求不用带本参数)
|
4832
4834
|
:rtype: str
|
@@ -4839,7 +4841,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
4839
4841
|
|
4840
4842
|
@property
|
4841
4843
|
def Description(self):
|
4842
|
-
"""热词表描述,长度在0-1000之间
|
4844
|
+
r"""热词表描述,长度在0-1000之间
|
4843
4845
|
:rtype: str
|
4844
4846
|
"""
|
4845
4847
|
return self._Description
|
@@ -4871,7 +4873,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
4871
4873
|
|
4872
4874
|
|
4873
4875
|
class UpdateAsrVocabResponse(AbstractModel):
|
4874
|
-
"""UpdateAsrVocab返回参数结构体
|
4876
|
+
r"""UpdateAsrVocab返回参数结构体
|
4875
4877
|
|
4876
4878
|
"""
|
4877
4879
|
|
@@ -4887,7 +4889,7 @@ class UpdateAsrVocabResponse(AbstractModel):
|
|
4887
4889
|
|
4888
4890
|
@property
|
4889
4891
|
def VocabId(self):
|
4890
|
-
"""热词表ID
|
4892
|
+
r"""热词表ID
|
4891
4893
|
:rtype: str
|
4892
4894
|
"""
|
4893
4895
|
return self._VocabId
|
@@ -4898,7 +4900,7 @@ class UpdateAsrVocabResponse(AbstractModel):
|
|
4898
4900
|
|
4899
4901
|
@property
|
4900
4902
|
def RequestId(self):
|
4901
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4903
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4902
4904
|
:rtype: str
|
4903
4905
|
"""
|
4904
4906
|
return self._RequestId
|
@@ -4914,7 +4916,7 @@ class UpdateAsrVocabResponse(AbstractModel):
|
|
4914
4916
|
|
4915
4917
|
|
4916
4918
|
class UsageByDateInfo(AbstractModel):
|
4917
|
-
"""用户用量信息
|
4919
|
+
r"""用户用量信息
|
4918
4920
|
|
4919
4921
|
"""
|
4920
4922
|
|
@@ -4938,7 +4940,7 @@ class UsageByDateInfo(AbstractModel):
|
|
4938
4940
|
|
4939
4941
|
@property
|
4940
4942
|
def BizName(self):
|
4941
|
-
"""业务类型名称
|
4943
|
+
r"""业务类型名称
|
4942
4944
|
注意:此字段可能返回 null,表示取不到有效值。
|
4943
4945
|
:rtype: str
|
4944
4946
|
"""
|
@@ -4950,7 +4952,7 @@ class UsageByDateInfo(AbstractModel):
|
|
4950
4952
|
|
4951
4953
|
@property
|
4952
4954
|
def Count(self):
|
4953
|
-
"""识别次数
|
4955
|
+
r"""识别次数
|
4954
4956
|
单位:次
|
4955
4957
|
注意:此字段可能返回 null,表示取不到有效值。
|
4956
4958
|
:rtype: int
|
@@ -4963,7 +4965,7 @@ class UsageByDateInfo(AbstractModel):
|
|
4963
4965
|
|
4964
4966
|
@property
|
4965
4967
|
def Duration(self):
|
4966
|
-
"""识别时长
|
4968
|
+
r"""识别时长
|
4967
4969
|
单位:秒
|
4968
4970
|
注意:此字段可能返回 null,表示取不到有效值。
|
4969
4971
|
:rtype: int
|
@@ -4990,7 +4992,7 @@ class UsageByDateInfo(AbstractModel):
|
|
4990
4992
|
|
4991
4993
|
|
4992
4994
|
class UsageByDateInfoData(AbstractModel):
|
4993
|
-
"""用户用量信息
|
4995
|
+
r"""用户用量信息
|
4994
4996
|
|
4995
4997
|
"""
|
4996
4998
|
|
@@ -5004,7 +5006,7 @@ class UsageByDateInfoData(AbstractModel):
|
|
5004
5006
|
|
5005
5007
|
@property
|
5006
5008
|
def UsageByDateInfoList(self):
|
5007
|
-
"""用量信息列表
|
5009
|
+
r"""用量信息列表
|
5008
5010
|
注意:此字段可能返回 null,表示取不到有效值。
|
5009
5011
|
:rtype: list of UsageByDateInfo
|
5010
5012
|
"""
|
@@ -5033,7 +5035,7 @@ class UsageByDateInfoData(AbstractModel):
|
|
5033
5035
|
|
5034
5036
|
|
5035
5037
|
class VerifyTop(AbstractModel):
|
5036
|
-
"""声纹组对比结果top数据
|
5038
|
+
r"""声纹组对比结果top数据
|
5037
5039
|
|
5038
5040
|
"""
|
5039
5041
|
|
@@ -5055,7 +5057,7 @@ class VerifyTop(AbstractModel):
|
|
5055
5057
|
|
5056
5058
|
@property
|
5057
5059
|
def Score(self):
|
5058
|
-
"""相似度打分
|
5060
|
+
r"""相似度打分
|
5059
5061
|
注意:此字段可能返回 null,表示取不到有效值。
|
5060
5062
|
:rtype: str
|
5061
5063
|
"""
|
@@ -5067,7 +5069,7 @@ class VerifyTop(AbstractModel):
|
|
5067
5069
|
|
5068
5070
|
@property
|
5069
5071
|
def VoicePrintId(self):
|
5070
|
-
"""说话人id
|
5072
|
+
r"""说话人id
|
5071
5073
|
注意:此字段可能返回 null,表示取不到有效值。
|
5072
5074
|
:rtype: str
|
5073
5075
|
"""
|
@@ -5079,7 +5081,7 @@ class VerifyTop(AbstractModel):
|
|
5079
5081
|
|
5080
5082
|
@property
|
5081
5083
|
def SpeakerId(self):
|
5082
|
-
"""说话人昵称
|
5084
|
+
r"""说话人昵称
|
5083
5085
|
注意:此字段可能返回 null,表示取不到有效值。
|
5084
5086
|
:rtype: str
|
5085
5087
|
"""
|
@@ -5105,7 +5107,7 @@ class VerifyTop(AbstractModel):
|
|
5105
5107
|
|
5106
5108
|
|
5107
5109
|
class VerifyTopResult(AbstractModel):
|
5108
|
-
"""说话人验证1:N返回结果
|
5110
|
+
r"""说话人验证1:N返回结果
|
5109
5111
|
|
5110
5112
|
"""
|
5111
5113
|
|
@@ -5119,7 +5121,7 @@ class VerifyTopResult(AbstractModel):
|
|
5119
5121
|
|
5120
5122
|
@property
|
5121
5123
|
def VerifyTops(self):
|
5122
|
-
"""对比打分结果,按照打分降序排列返回
|
5124
|
+
r"""对比打分结果,按照打分降序排列返回
|
5123
5125
|
注意:此字段可能返回 null,表示取不到有效值。
|
5124
5126
|
:rtype: list of VerifyTop
|
5125
5127
|
"""
|
@@ -5148,7 +5150,7 @@ class VerifyTopResult(AbstractModel):
|
|
5148
5150
|
|
5149
5151
|
|
5150
5152
|
class Vocab(AbstractModel):
|
5151
|
-
"""[词表内容](https://cloud.tencent.com/document/product/1093/41484#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
5153
|
+
r"""[词表内容](https://cloud.tencent.com/document/product/1093/41484#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
5152
5154
|
|
5153
5155
|
"""
|
5154
5156
|
|
@@ -5183,7 +5185,7 @@ class Vocab(AbstractModel):
|
|
5183
5185
|
|
5184
5186
|
@property
|
5185
5187
|
def Name(self):
|
5186
|
-
"""热词表名称
|
5188
|
+
r"""热词表名称
|
5187
5189
|
:rtype: str
|
5188
5190
|
"""
|
5189
5191
|
return self._Name
|
@@ -5194,7 +5196,7 @@ class Vocab(AbstractModel):
|
|
5194
5196
|
|
5195
5197
|
@property
|
5196
5198
|
def Description(self):
|
5197
|
-
"""热词表描述
|
5199
|
+
r"""热词表描述
|
5198
5200
|
:rtype: str
|
5199
5201
|
"""
|
5200
5202
|
return self._Description
|
@@ -5205,7 +5207,7 @@ class Vocab(AbstractModel):
|
|
5205
5207
|
|
5206
5208
|
@property
|
5207
5209
|
def VocabId(self):
|
5208
|
-
"""热词表ID
|
5210
|
+
r"""热词表ID
|
5209
5211
|
:rtype: str
|
5210
5212
|
"""
|
5211
5213
|
return self._VocabId
|
@@ -5216,7 +5218,7 @@ class Vocab(AbstractModel):
|
|
5216
5218
|
|
5217
5219
|
@property
|
5218
5220
|
def WordWeights(self):
|
5219
|
-
"""词权重列表
|
5221
|
+
r"""词权重列表
|
5220
5222
|
:rtype: list of HotWord
|
5221
5223
|
"""
|
5222
5224
|
return self._WordWeights
|
@@ -5227,7 +5229,7 @@ class Vocab(AbstractModel):
|
|
5227
5229
|
|
5228
5230
|
@property
|
5229
5231
|
def CreateTime(self):
|
5230
|
-
"""词表创建时间
|
5232
|
+
r"""词表创建时间
|
5231
5233
|
:rtype: str
|
5232
5234
|
"""
|
5233
5235
|
return self._CreateTime
|
@@ -5238,7 +5240,7 @@ class Vocab(AbstractModel):
|
|
5238
5240
|
|
5239
5241
|
@property
|
5240
5242
|
def UpdateTime(self):
|
5241
|
-
"""词表更新时间
|
5243
|
+
r"""词表更新时间
|
5242
5244
|
:rtype: str
|
5243
5245
|
"""
|
5244
5246
|
return self._UpdateTime
|
@@ -5249,7 +5251,7 @@ class Vocab(AbstractModel):
|
|
5249
5251
|
|
5250
5252
|
@property
|
5251
5253
|
def State(self):
|
5252
|
-
"""热词表状态,1为默认状态即在识别时默认加载该热词表进行识别,0为初始状态
|
5254
|
+
r"""热词表状态,1为默认状态即在识别时默认加载该热词表进行识别,0为初始状态
|
5253
5255
|
:rtype: int
|
5254
5256
|
"""
|
5255
5257
|
return self._State
|
@@ -5260,7 +5262,7 @@ class Vocab(AbstractModel):
|
|
5260
5262
|
|
5261
5263
|
@property
|
5262
5264
|
def TagInfos(self):
|
5263
|
-
"""标签数组
|
5265
|
+
r"""标签数组
|
5264
5266
|
注意:此字段可能返回 null,表示取不到有效值。
|
5265
5267
|
:rtype: list of str
|
5266
5268
|
"""
|
@@ -5296,7 +5298,7 @@ class Vocab(AbstractModel):
|
|
5296
5298
|
|
5297
5299
|
|
5298
5300
|
class VoicePrintBaseData(AbstractModel):
|
5299
|
-
"""[说话人基础数据](https://cloud.tencent.com/document/product/1093/94483#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0),包括说话人id和说话人昵称
|
5301
|
+
r"""[说话人基础数据](https://cloud.tencent.com/document/product/1093/94483#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0),包括说话人id和说话人昵称
|
5300
5302
|
|
5301
5303
|
"""
|
5302
5304
|
|
@@ -5314,7 +5316,7 @@ class VoicePrintBaseData(AbstractModel):
|
|
5314
5316
|
|
5315
5317
|
@property
|
5316
5318
|
def VoicePrintId(self):
|
5317
|
-
"""说话人id
|
5319
|
+
r"""说话人id
|
5318
5320
|
注意:此字段可能返回 null,表示取不到有效值。
|
5319
5321
|
:rtype: str
|
5320
5322
|
"""
|
@@ -5326,7 +5328,7 @@ class VoicePrintBaseData(AbstractModel):
|
|
5326
5328
|
|
5327
5329
|
@property
|
5328
5330
|
def SpeakerNick(self):
|
5329
|
-
"""说话人昵称
|
5331
|
+
r"""说话人昵称
|
5330
5332
|
注意:此字段可能返回 null,表示取不到有效值。
|
5331
5333
|
:rtype: str
|
5332
5334
|
"""
|
@@ -5351,7 +5353,7 @@ class VoicePrintBaseData(AbstractModel):
|
|
5351
5353
|
|
5352
5354
|
|
5353
5355
|
class VoicePrintCompareData(AbstractModel):
|
5354
|
-
"""音频声纹比对结果,包含比对分数
|
5356
|
+
r"""音频声纹比对结果,包含比对分数
|
5355
5357
|
|
5356
5358
|
"""
|
5357
5359
|
|
@@ -5369,7 +5371,7 @@ class VoicePrintCompareData(AbstractModel):
|
|
5369
5371
|
|
5370
5372
|
@property
|
5371
5373
|
def Score(self):
|
5372
|
-
"""匹配度 取值范围(0.0 - 100.0)
|
5374
|
+
r"""匹配度 取值范围(0.0 - 100.0)
|
5373
5375
|
注意:此字段可能返回 null,表示取不到有效值。
|
5374
5376
|
:rtype: str
|
5375
5377
|
"""
|
@@ -5381,7 +5383,7 @@ class VoicePrintCompareData(AbstractModel):
|
|
5381
5383
|
|
5382
5384
|
@property
|
5383
5385
|
def Decision(self):
|
5384
|
-
"""验证结果 0: 未通过 1: 通过
|
5386
|
+
r"""验证结果 0: 未通过 1: 通过
|
5385
5387
|
注意:此字段可能返回 null,表示取不到有效值。
|
5386
5388
|
:rtype: int
|
5387
5389
|
"""
|
@@ -5406,7 +5408,7 @@ class VoicePrintCompareData(AbstractModel):
|
|
5406
5408
|
|
5407
5409
|
|
5408
5410
|
class VoicePrintCompareRequest(AbstractModel):
|
5409
|
-
"""VoicePrintCompare请求参数结构体
|
5411
|
+
r"""VoicePrintCompare请求参数结构体
|
5410
5412
|
|
5411
5413
|
"""
|
5412
5414
|
|
@@ -5428,7 +5430,7 @@ class VoicePrintCompareRequest(AbstractModel):
|
|
5428
5430
|
|
5429
5431
|
@property
|
5430
5432
|
def VoiceFormat(self):
|
5431
|
-
"""音频格式 0: pcm, 1: wav;pcm和wav音频无损压缩,识别准确度更高
|
5433
|
+
r"""音频格式 0: pcm, 1: wav;pcm和wav音频无损压缩,识别准确度更高
|
5432
5434
|
:rtype: int
|
5433
5435
|
"""
|
5434
5436
|
return self._VoiceFormat
|
@@ -5439,7 +5441,7 @@ class VoicePrintCompareRequest(AbstractModel):
|
|
5439
5441
|
|
5440
5442
|
@property
|
5441
5443
|
def SampleRate(self):
|
5442
|
-
"""音频采样率,目前仅支持16k,请填写16000
|
5444
|
+
r"""音频采样率,目前仅支持16k,请填写16000
|
5443
5445
|
:rtype: int
|
5444
5446
|
"""
|
5445
5447
|
return self._SampleRate
|
@@ -5450,7 +5452,7 @@ class VoicePrintCompareRequest(AbstractModel):
|
|
5450
5452
|
|
5451
5453
|
@property
|
5452
5454
|
def SrcAudioData(self):
|
5453
|
-
"""对比源音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M
|
5455
|
+
r"""对比源音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M
|
5454
5456
|
:rtype: str
|
5455
5457
|
"""
|
5456
5458
|
return self._SrcAudioData
|
@@ -5461,7 +5463,7 @@ class VoicePrintCompareRequest(AbstractModel):
|
|
5461
5463
|
|
5462
5464
|
@property
|
5463
5465
|
def DestAudioData(self):
|
5464
|
-
"""对比目标音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M
|
5466
|
+
r"""对比目标音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M
|
5465
5467
|
:rtype: str
|
5466
5468
|
"""
|
5467
5469
|
return self._DestAudioData
|
@@ -5487,7 +5489,7 @@ class VoicePrintCompareRequest(AbstractModel):
|
|
5487
5489
|
|
5488
5490
|
|
5489
5491
|
class VoicePrintCompareResponse(AbstractModel):
|
5490
|
-
"""VoicePrintCompare返回参数结构体
|
5492
|
+
r"""VoicePrintCompare返回参数结构体
|
5491
5493
|
|
5492
5494
|
"""
|
5493
5495
|
|
@@ -5503,7 +5505,7 @@ class VoicePrintCompareResponse(AbstractModel):
|
|
5503
5505
|
|
5504
5506
|
@property
|
5505
5507
|
def Data(self):
|
5506
|
-
"""音频声纹比对结果,包含相似度打分
|
5508
|
+
r"""音频声纹比对结果,包含相似度打分
|
5507
5509
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintCompareData`
|
5508
5510
|
"""
|
5509
5511
|
return self._Data
|
@@ -5514,7 +5516,7 @@ class VoicePrintCompareResponse(AbstractModel):
|
|
5514
5516
|
|
5515
5517
|
@property
|
5516
5518
|
def RequestId(self):
|
5517
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5519
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5518
5520
|
:rtype: str
|
5519
5521
|
"""
|
5520
5522
|
return self._RequestId
|
@@ -5532,7 +5534,7 @@ class VoicePrintCompareResponse(AbstractModel):
|
|
5532
5534
|
|
5533
5535
|
|
5534
5536
|
class VoicePrintCountData(AbstractModel):
|
5535
|
-
"""统计返回[说话人注册数量](https://cloud.tencent.com/document/product/1093/96061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
5537
|
+
r"""统计返回[说话人注册数量](https://cloud.tencent.com/document/product/1093/96061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
5536
5538
|
|
5537
5539
|
"""
|
5538
5540
|
|
@@ -5550,7 +5552,7 @@ class VoicePrintCountData(AbstractModel):
|
|
5550
5552
|
|
5551
5553
|
@property
|
5552
5554
|
def Total(self):
|
5553
|
-
"""总数
|
5555
|
+
r"""总数
|
5554
5556
|
注意:此字段可能返回 null,表示取不到有效值。
|
5555
5557
|
:rtype: int
|
5556
5558
|
"""
|
@@ -5562,7 +5564,7 @@ class VoicePrintCountData(AbstractModel):
|
|
5562
5564
|
|
5563
5565
|
@property
|
5564
5566
|
def VoicePrintList(self):
|
5565
|
-
"""说话人id列表
|
5567
|
+
r"""说话人id列表
|
5566
5568
|
注意:此字段可能返回 null,表示取不到有效值。
|
5567
5569
|
:rtype: list of VoicePrintBaseData
|
5568
5570
|
"""
|
@@ -5592,7 +5594,7 @@ class VoicePrintCountData(AbstractModel):
|
|
5592
5594
|
|
5593
5595
|
|
5594
5596
|
class VoicePrintCountRequest(AbstractModel):
|
5595
|
-
"""VoicePrintCount请求参数结构体
|
5597
|
+
r"""VoicePrintCount请求参数结构体
|
5596
5598
|
|
5597
5599
|
"""
|
5598
5600
|
|
@@ -5610,7 +5612,7 @@ class VoicePrintCountRequest(AbstractModel):
|
|
5610
5612
|
|
5611
5613
|
@property
|
5612
5614
|
def GroupId(self):
|
5613
|
-
"""分组ID,仅支持大小写字母和下划线的组合,不超过128个字符
|
5615
|
+
r"""分组ID,仅支持大小写字母和下划线的组合,不超过128个字符
|
5614
5616
|
:rtype: str
|
5615
5617
|
"""
|
5616
5618
|
return self._GroupId
|
@@ -5621,7 +5623,7 @@ class VoicePrintCountRequest(AbstractModel):
|
|
5621
5623
|
|
5622
5624
|
@property
|
5623
5625
|
def CountMod(self):
|
5624
|
-
"""统计模式
|
5626
|
+
r"""统计模式
|
5625
5627
|
0: 统计所有声纹数量
|
5626
5628
|
1: 统计指定分组下的声纹数量
|
5627
5629
|
:rtype: int
|
@@ -5647,7 +5649,7 @@ class VoicePrintCountRequest(AbstractModel):
|
|
5647
5649
|
|
5648
5650
|
|
5649
5651
|
class VoicePrintCountResponse(AbstractModel):
|
5650
|
-
"""VoicePrintCount返回参数结构体
|
5652
|
+
r"""VoicePrintCount返回参数结构体
|
5651
5653
|
|
5652
5654
|
"""
|
5653
5655
|
|
@@ -5663,7 +5665,7 @@ class VoicePrintCountResponse(AbstractModel):
|
|
5663
5665
|
|
5664
5666
|
@property
|
5665
5667
|
def Data(self):
|
5666
|
-
"""统计数据
|
5668
|
+
r"""统计数据
|
5667
5669
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintCountData`
|
5668
5670
|
"""
|
5669
5671
|
return self._Data
|
@@ -5674,7 +5676,7 @@ class VoicePrintCountResponse(AbstractModel):
|
|
5674
5676
|
|
5675
5677
|
@property
|
5676
5678
|
def RequestId(self):
|
5677
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5679
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5678
5680
|
:rtype: str
|
5679
5681
|
"""
|
5680
5682
|
return self._RequestId
|
@@ -5692,7 +5694,7 @@ class VoicePrintCountResponse(AbstractModel):
|
|
5692
5694
|
|
5693
5695
|
|
5694
5696
|
class VoicePrintDeleteRequest(AbstractModel):
|
5695
|
-
"""VoicePrintDelete请求参数结构体
|
5697
|
+
r"""VoicePrintDelete请求参数结构体
|
5696
5698
|
|
5697
5699
|
"""
|
5698
5700
|
|
@@ -5714,7 +5716,7 @@ class VoicePrintDeleteRequest(AbstractModel):
|
|
5714
5716
|
|
5715
5717
|
@property
|
5716
5718
|
def VoicePrintId(self):
|
5717
|
-
"""说话人id,说话人唯一标识
|
5719
|
+
r"""说话人id,说话人唯一标识
|
5718
5720
|
:rtype: str
|
5719
5721
|
"""
|
5720
5722
|
return self._VoicePrintId
|
@@ -5725,7 +5727,7 @@ class VoicePrintDeleteRequest(AbstractModel):
|
|
5725
5727
|
|
5726
5728
|
@property
|
5727
5729
|
def GroupId(self):
|
5728
|
-
"""说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符
|
5730
|
+
r"""说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符
|
5729
5731
|
:rtype: str
|
5730
5732
|
"""
|
5731
5733
|
return self._GroupId
|
@@ -5736,7 +5738,7 @@ class VoicePrintDeleteRequest(AbstractModel):
|
|
5736
5738
|
|
5737
5739
|
@property
|
5738
5740
|
def DelMod(self):
|
5739
|
-
"""删除模式:
|
5741
|
+
r"""删除模式:
|
5740
5742
|
0.默认值,删除该条声纹
|
5741
5743
|
1.从分组中删除该条声纹,声纹本身不删除
|
5742
5744
|
2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹
|
@@ -5764,7 +5766,7 @@ class VoicePrintDeleteRequest(AbstractModel):
|
|
5764
5766
|
|
5765
5767
|
|
5766
5768
|
class VoicePrintDeleteResponse(AbstractModel):
|
5767
|
-
"""VoicePrintDelete返回参数结构体
|
5769
|
+
r"""VoicePrintDelete返回参数结构体
|
5768
5770
|
|
5769
5771
|
"""
|
5770
5772
|
|
@@ -5780,7 +5782,7 @@ class VoicePrintDeleteResponse(AbstractModel):
|
|
5780
5782
|
|
5781
5783
|
@property
|
5782
5784
|
def Data(self):
|
5783
|
-
"""说话人基本信息
|
5785
|
+
r"""说话人基本信息
|
5784
5786
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintBaseData`
|
5785
5787
|
"""
|
5786
5788
|
return self._Data
|
@@ -5791,7 +5793,7 @@ class VoicePrintDeleteResponse(AbstractModel):
|
|
5791
5793
|
|
5792
5794
|
@property
|
5793
5795
|
def RequestId(self):
|
5794
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5796
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5795
5797
|
:rtype: str
|
5796
5798
|
"""
|
5797
5799
|
return self._RequestId
|
@@ -5809,7 +5811,7 @@ class VoicePrintDeleteResponse(AbstractModel):
|
|
5809
5811
|
|
5810
5812
|
|
5811
5813
|
class VoicePrintEnrollRequest(AbstractModel):
|
5812
|
-
"""VoicePrintEnroll请求参数结构体
|
5814
|
+
r"""VoicePrintEnroll请求参数结构体
|
5813
5815
|
|
5814
5816
|
"""
|
5815
5817
|
|
@@ -5834,7 +5836,7 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
5834
5836
|
|
5835
5837
|
@property
|
5836
5838
|
def VoiceFormat(self):
|
5837
|
-
"""音频格式 0: pcm, 1: wav
|
5839
|
+
r"""音频格式 0: pcm, 1: wav
|
5838
5840
|
:rtype: int
|
5839
5841
|
"""
|
5840
5842
|
return self._VoiceFormat
|
@@ -5845,7 +5847,7 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
5845
5847
|
|
5846
5848
|
@property
|
5847
5849
|
def SampleRate(self):
|
5848
|
-
"""音频采样率,目前支持16000,单位:Hz,必填
|
5850
|
+
r"""音频采样率,目前支持16000,单位:Hz,必填
|
5849
5851
|
:rtype: int
|
5850
5852
|
"""
|
5851
5853
|
return self._SampleRate
|
@@ -5856,7 +5858,7 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
5856
5858
|
|
5857
5859
|
@property
|
5858
5860
|
def Data(self):
|
5859
|
-
"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
5861
|
+
r"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
5860
5862
|
:rtype: str
|
5861
5863
|
"""
|
5862
5864
|
return self._Data
|
@@ -5867,7 +5869,7 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
5867
5869
|
|
5868
5870
|
@property
|
5869
5871
|
def SpeakerNick(self):
|
5870
|
-
"""说话人昵称 不超过32字节
|
5872
|
+
r"""说话人昵称 不超过32字节
|
5871
5873
|
:rtype: str
|
5872
5874
|
"""
|
5873
5875
|
return self._SpeakerNick
|
@@ -5878,7 +5880,7 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
5878
5880
|
|
5879
5881
|
@property
|
5880
5882
|
def GroupId(self):
|
5881
|
-
"""分组id, 仅支持大小写字母和下划线的组合,不超过128个字符
|
5883
|
+
r"""分组id, 仅支持大小写字母和下划线的组合,不超过128个字符
|
5882
5884
|
:rtype: str
|
5883
5885
|
"""
|
5884
5886
|
return self._GroupId
|
@@ -5905,7 +5907,7 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
5905
5907
|
|
5906
5908
|
|
5907
5909
|
class VoicePrintEnrollResponse(AbstractModel):
|
5908
|
-
"""VoicePrintEnroll返回参数结构体
|
5910
|
+
r"""VoicePrintEnroll返回参数结构体
|
5909
5911
|
|
5910
5912
|
"""
|
5911
5913
|
|
@@ -5921,7 +5923,7 @@ class VoicePrintEnrollResponse(AbstractModel):
|
|
5921
5923
|
|
5922
5924
|
@property
|
5923
5925
|
def Data(self):
|
5924
|
-
"""说话人基本数据
|
5926
|
+
r"""说话人基本数据
|
5925
5927
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintBaseData`
|
5926
5928
|
"""
|
5927
5929
|
return self._Data
|
@@ -5932,7 +5934,7 @@ class VoicePrintEnrollResponse(AbstractModel):
|
|
5932
5934
|
|
5933
5935
|
@property
|
5934
5936
|
def RequestId(self):
|
5935
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5937
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5936
5938
|
:rtype: str
|
5937
5939
|
"""
|
5938
5940
|
return self._RequestId
|
@@ -5950,7 +5952,7 @@ class VoicePrintEnrollResponse(AbstractModel):
|
|
5950
5952
|
|
5951
5953
|
|
5952
5954
|
class VoicePrintGroupVerifyRequest(AbstractModel):
|
5953
|
-
"""VoicePrintGroupVerify请求参数结构体
|
5955
|
+
r"""VoicePrintGroupVerify请求参数结构体
|
5954
5956
|
|
5955
5957
|
"""
|
5956
5958
|
|
@@ -5975,7 +5977,7 @@ class VoicePrintGroupVerifyRequest(AbstractModel):
|
|
5975
5977
|
|
5976
5978
|
@property
|
5977
5979
|
def VoiceFormat(self):
|
5978
|
-
"""音频格式 0: pcm, 1: wav
|
5980
|
+
r"""音频格式 0: pcm, 1: wav
|
5979
5981
|
:rtype: int
|
5980
5982
|
"""
|
5981
5983
|
return self._VoiceFormat
|
@@ -5986,7 +5988,7 @@ class VoicePrintGroupVerifyRequest(AbstractModel):
|
|
5986
5988
|
|
5987
5989
|
@property
|
5988
5990
|
def SampleRate(self):
|
5989
|
-
"""音频采样率,目前支持16000,单位:Hz,必填
|
5991
|
+
r"""音频采样率,目前支持16000,单位:Hz,必填
|
5990
5992
|
:rtype: int
|
5991
5993
|
"""
|
5992
5994
|
return self._SampleRate
|
@@ -5997,7 +5999,7 @@ class VoicePrintGroupVerifyRequest(AbstractModel):
|
|
5997
5999
|
|
5998
6000
|
@property
|
5999
6001
|
def Data(self):
|
6000
|
-
"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
6002
|
+
r"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
6001
6003
|
:rtype: str
|
6002
6004
|
"""
|
6003
6005
|
return self._Data
|
@@ -6008,7 +6010,7 @@ class VoicePrintGroupVerifyRequest(AbstractModel):
|
|
6008
6010
|
|
6009
6011
|
@property
|
6010
6012
|
def GroupId(self):
|
6011
|
-
"""分组id, 支持数字,字母,下划线,长度不超过128
|
6013
|
+
r"""分组id, 支持数字,字母,下划线,长度不超过128
|
6012
6014
|
:rtype: str
|
6013
6015
|
"""
|
6014
6016
|
return self._GroupId
|
@@ -6019,7 +6021,7 @@ class VoicePrintGroupVerifyRequest(AbstractModel):
|
|
6019
6021
|
|
6020
6022
|
@property
|
6021
6023
|
def TopN(self):
|
6022
|
-
"""返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量
|
6024
|
+
r"""返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量
|
6023
6025
|
:rtype: int
|
6024
6026
|
"""
|
6025
6027
|
return self._TopN
|
@@ -6046,7 +6048,7 @@ class VoicePrintGroupVerifyRequest(AbstractModel):
|
|
6046
6048
|
|
6047
6049
|
|
6048
6050
|
class VoicePrintGroupVerifyResponse(AbstractModel):
|
6049
|
-
"""VoicePrintGroupVerify返回参数结构体
|
6051
|
+
r"""VoicePrintGroupVerify返回参数结构体
|
6050
6052
|
|
6051
6053
|
"""
|
6052
6054
|
|
@@ -6062,7 +6064,7 @@ class VoicePrintGroupVerifyResponse(AbstractModel):
|
|
6062
6064
|
|
6063
6065
|
@property
|
6064
6066
|
def Data(self):
|
6065
|
-
"""TopN 返回结果;系统建议打分70分以上为同一个人音色,评分也取决于音频质量、长度等其他原因影响,您可以按照业务需求适当提高或降低分数要求
|
6067
|
+
r"""TopN 返回结果;系统建议打分70分以上为同一个人音色,评分也取决于音频质量、长度等其他原因影响,您可以按照业务需求适当提高或降低分数要求
|
6066
6068
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VerifyTopResult`
|
6067
6069
|
"""
|
6068
6070
|
return self._Data
|
@@ -6073,7 +6075,7 @@ class VoicePrintGroupVerifyResponse(AbstractModel):
|
|
6073
6075
|
|
6074
6076
|
@property
|
6075
6077
|
def RequestId(self):
|
6076
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6078
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6077
6079
|
:rtype: str
|
6078
6080
|
"""
|
6079
6081
|
return self._RequestId
|
@@ -6091,7 +6093,7 @@ class VoicePrintGroupVerifyResponse(AbstractModel):
|
|
6091
6093
|
|
6092
6094
|
|
6093
6095
|
class VoicePrintUpdateRequest(AbstractModel):
|
6094
|
-
"""VoicePrintUpdate请求参数结构体
|
6096
|
+
r"""VoicePrintUpdate请求参数结构体
|
6095
6097
|
|
6096
6098
|
"""
|
6097
6099
|
|
@@ -6116,7 +6118,7 @@ class VoicePrintUpdateRequest(AbstractModel):
|
|
6116
6118
|
|
6117
6119
|
@property
|
6118
6120
|
def VoiceFormat(self):
|
6119
|
-
"""音频格式 0: pcm, 1: wav
|
6121
|
+
r"""音频格式 0: pcm, 1: wav
|
6120
6122
|
:rtype: int
|
6121
6123
|
"""
|
6122
6124
|
return self._VoiceFormat
|
@@ -6127,7 +6129,7 @@ class VoicePrintUpdateRequest(AbstractModel):
|
|
6127
6129
|
|
6128
6130
|
@property
|
6129
6131
|
def SampleRate(self):
|
6130
|
-
"""音频采样率 目前仅支持16000 单位Hz
|
6132
|
+
r"""音频采样率 目前仅支持16000 单位Hz
|
6131
6133
|
:rtype: int
|
6132
6134
|
"""
|
6133
6135
|
return self._SampleRate
|
@@ -6138,7 +6140,7 @@ class VoicePrintUpdateRequest(AbstractModel):
|
|
6138
6140
|
|
6139
6141
|
@property
|
6140
6142
|
def VoicePrintId(self):
|
6141
|
-
"""说话人id, 说话人唯一标识
|
6143
|
+
r"""说话人id, 说话人唯一标识
|
6142
6144
|
:rtype: str
|
6143
6145
|
"""
|
6144
6146
|
return self._VoicePrintId
|
@@ -6149,7 +6151,7 @@ class VoicePrintUpdateRequest(AbstractModel):
|
|
6149
6151
|
|
6150
6152
|
@property
|
6151
6153
|
def Data(self):
|
6152
|
-
"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
6154
|
+
r"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
6153
6155
|
:rtype: str
|
6154
6156
|
"""
|
6155
6157
|
return self._Data
|
@@ -6160,7 +6162,7 @@ class VoicePrintUpdateRequest(AbstractModel):
|
|
6160
6162
|
|
6161
6163
|
@property
|
6162
6164
|
def SpeakerNick(self):
|
6163
|
-
"""说话人昵称 不超过32字节
|
6165
|
+
r"""说话人昵称 不超过32字节
|
6164
6166
|
:rtype: str
|
6165
6167
|
"""
|
6166
6168
|
return self._SpeakerNick
|
@@ -6187,7 +6189,7 @@ class VoicePrintUpdateRequest(AbstractModel):
|
|
6187
6189
|
|
6188
6190
|
|
6189
6191
|
class VoicePrintUpdateResponse(AbstractModel):
|
6190
|
-
"""VoicePrintUpdate返回参数结构体
|
6192
|
+
r"""VoicePrintUpdate返回参数结构体
|
6191
6193
|
|
6192
6194
|
"""
|
6193
6195
|
|
@@ -6203,7 +6205,7 @@ class VoicePrintUpdateResponse(AbstractModel):
|
|
6203
6205
|
|
6204
6206
|
@property
|
6205
6207
|
def Data(self):
|
6206
|
-
"""说话人基础数据
|
6208
|
+
r"""说话人基础数据
|
6207
6209
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintBaseData`
|
6208
6210
|
"""
|
6209
6211
|
return self._Data
|
@@ -6214,7 +6216,7 @@ class VoicePrintUpdateResponse(AbstractModel):
|
|
6214
6216
|
|
6215
6217
|
@property
|
6216
6218
|
def RequestId(self):
|
6217
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6219
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6218
6220
|
:rtype: str
|
6219
6221
|
"""
|
6220
6222
|
return self._RequestId
|
@@ -6232,7 +6234,7 @@ class VoicePrintUpdateResponse(AbstractModel):
|
|
6232
6234
|
|
6233
6235
|
|
6234
6236
|
class VoicePrintVerifyData(AbstractModel):
|
6235
|
-
"""[说话人验证数据](https://cloud.tencent.com/document/product/1093/94481#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
6237
|
+
r"""[说话人验证数据](https://cloud.tencent.com/document/product/1093/94481#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
6236
6238
|
|
6237
6239
|
"""
|
6238
6240
|
|
@@ -6254,7 +6256,7 @@ class VoicePrintVerifyData(AbstractModel):
|
|
6254
6256
|
|
6255
6257
|
@property
|
6256
6258
|
def VoicePrintId(self):
|
6257
|
-
"""说话人id
|
6259
|
+
r"""说话人id
|
6258
6260
|
注意:此字段可能返回 null,表示取不到有效值。
|
6259
6261
|
:rtype: str
|
6260
6262
|
"""
|
@@ -6266,7 +6268,7 @@ class VoicePrintVerifyData(AbstractModel):
|
|
6266
6268
|
|
6267
6269
|
@property
|
6268
6270
|
def Score(self):
|
6269
|
-
"""匹配度 取值范围(0.0 - 100.0)
|
6271
|
+
r"""匹配度 取值范围(0.0 - 100.0)
|
6270
6272
|
注意:此字段可能返回 null,表示取不到有效值。
|
6271
6273
|
:rtype: str
|
6272
6274
|
"""
|
@@ -6278,7 +6280,7 @@ class VoicePrintVerifyData(AbstractModel):
|
|
6278
6280
|
|
6279
6281
|
@property
|
6280
6282
|
def Decision(self):
|
6281
|
-
"""验证结果 0: 未通过 1: 通过
|
6283
|
+
r"""验证结果 0: 未通过 1: 通过
|
6282
6284
|
注意:此字段可能返回 null,表示取不到有效值。
|
6283
6285
|
:rtype: int
|
6284
6286
|
"""
|
@@ -6304,7 +6306,7 @@ class VoicePrintVerifyData(AbstractModel):
|
|
6304
6306
|
|
6305
6307
|
|
6306
6308
|
class VoicePrintVerifyRequest(AbstractModel):
|
6307
|
-
"""VoicePrintVerify请求参数结构体
|
6309
|
+
r"""VoicePrintVerify请求参数结构体
|
6308
6310
|
|
6309
6311
|
"""
|
6310
6312
|
|
@@ -6326,7 +6328,7 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
6326
6328
|
|
6327
6329
|
@property
|
6328
6330
|
def VoiceFormat(self):
|
6329
|
-
"""音频格式 0: pcm, 1: wav
|
6331
|
+
r"""音频格式 0: pcm, 1: wav
|
6330
6332
|
:rtype: int
|
6331
6333
|
"""
|
6332
6334
|
return self._VoiceFormat
|
@@ -6337,7 +6339,7 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
6337
6339
|
|
6338
6340
|
@property
|
6339
6341
|
def SampleRate(self):
|
6340
|
-
"""音频采样率,目前支持16000,单位:Hz,必填
|
6342
|
+
r"""音频采样率,目前支持16000,单位:Hz,必填
|
6341
6343
|
:rtype: int
|
6342
6344
|
"""
|
6343
6345
|
return self._SampleRate
|
@@ -6348,7 +6350,7 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
6348
6350
|
|
6349
6351
|
@property
|
6350
6352
|
def Data(self):
|
6351
|
-
"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
6353
|
+
r"""音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
6352
6354
|
:rtype: str
|
6353
6355
|
"""
|
6354
6356
|
return self._Data
|
@@ -6359,7 +6361,7 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
6359
6361
|
|
6360
6362
|
@property
|
6361
6363
|
def VoicePrintId(self):
|
6362
|
-
"""说话人id, 说话人唯一标识
|
6364
|
+
r"""说话人id, 说话人唯一标识
|
6363
6365
|
:rtype: str
|
6364
6366
|
"""
|
6365
6367
|
return self._VoicePrintId
|
@@ -6385,7 +6387,7 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
6385
6387
|
|
6386
6388
|
|
6387
6389
|
class VoicePrintVerifyResponse(AbstractModel):
|
6388
|
-
"""VoicePrintVerify返回参数结构体
|
6390
|
+
r"""VoicePrintVerify返回参数结构体
|
6389
6391
|
|
6390
6392
|
"""
|
6391
6393
|
|
@@ -6401,7 +6403,7 @@ class VoicePrintVerifyResponse(AbstractModel):
|
|
6401
6403
|
|
6402
6404
|
@property
|
6403
6405
|
def Data(self):
|
6404
|
-
"""说话人验证数据
|
6406
|
+
r"""说话人验证数据
|
6405
6407
|
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintVerifyData`
|
6406
6408
|
"""
|
6407
6409
|
return self._Data
|
@@ -6412,7 +6414,7 @@ class VoicePrintVerifyResponse(AbstractModel):
|
|
6412
6414
|
|
6413
6415
|
@property
|
6414
6416
|
def RequestId(self):
|
6415
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6417
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6416
6418
|
:rtype: str
|
6417
6419
|
"""
|
6418
6420
|
return self._RequestId
|