tencentcloud-sdk-python-trtc 3.0.1183__py2.py3-none-any.whl → 3.0.1185__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-trtc might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/trtc/v20190722/models.py +19 -24
- tencentcloud/trtc/v20190722/trtc_client.py +3 -1
- {tencentcloud_sdk_python_trtc-3.0.1183.dist-info → tencentcloud_sdk_python_trtc-3.0.1185.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_trtc-3.0.1185.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_trtc-3.0.1183.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_trtc-3.0.1183.dist-info → tencentcloud_sdk_python_trtc-3.0.1185.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_trtc-3.0.1183.dist-info → tencentcloud_sdk_python_trtc-3.0.1185.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -7250,8 +7250,9 @@ class RecognizeConfig(AbstractModel):
|
|
|
7250
7250
|
def __init__(self):
|
|
7251
7251
|
r"""
|
|
7252
7252
|
:param _Language: 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
7253
|
-
Chinese = "zh"
|
|
7254
|
-
Chinese_TW = "zh-TW"
|
|
7253
|
+
中文 Chinese = "zh"
|
|
7254
|
+
中文繁体 Chinese_TW = "zh-TW"
|
|
7255
|
+
中文方言 Chinese_DIALECT = "zh-dialect"
|
|
7255
7256
|
English = "en"
|
|
7256
7257
|
Vietnamese = "vi"
|
|
7257
7258
|
Japanese = "ja"
|
|
@@ -7272,8 +7273,9 @@ Russian = "ru"
|
|
|
7272
7273
|
|
|
7273
7274
|
注意:
|
|
7274
7275
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
7275
|
-
tencent asr不支持"it"和"ru",google asr全都支持。
|
|
7276
7276
|
:type Language: str
|
|
7277
|
+
:param _AlternativeLanguage: 额外的可能替代语言,最多3个,仅高级版支持。Language指定中文方言时,不能设置该字段。
|
|
7278
|
+
:type AlternativeLanguage: list of str
|
|
7277
7279
|
:param _Model: 使用的模型,目前支持tencent和google,默认是tencent。
|
|
7278
7280
|
:type Model: str
|
|
7279
7281
|
:param _TranslationLanguage: 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
|
|
@@ -7300,30 +7302,10 @@ Russian = "ru"
|
|
|
7300
7302
|
|
|
7301
7303
|
注意:
|
|
7302
7304
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
7303
|
-
google支持上述语言两两之间翻译,tencent只支持部分语言之间翻译。
|
|
7304
|
-
|
|
7305
|
-
tencnet目标语言,各源语言的目标语言支持列表如下,冒号左侧是目标语言,右侧是源语言:
|
|
7306
|
-
- zh(简体中文):zh-TW(繁体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
|
|
7307
|
-
- zh-TW(繁体中文):zh(简体中文)、en(英语)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)
|
|
7308
|
-
- en(英语):zh(中文)、zh-TW(繁体中文)、ja(日语)、ko(韩语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)、vi(越南语)、id(印尼语)、th(泰语)、ms(马来语)、ar(阿拉伯语)、hi(印地语)
|
|
7309
|
-
- ja(日语):zh(中文)、zh-TW(繁体中文)、en(英语)、ko(韩语)
|
|
7310
|
-
- ko(韩语):zh(中文)、zh-TW(繁体中文)、en(英语)、ja(日语)
|
|
7311
|
-
- fr(法语):zh(中文)、zh-TW(繁体中文)、en(英语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
|
|
7312
|
-
- es(西班牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
|
|
7313
|
-
- it(意大利语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、de(德语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
|
|
7314
|
-
- de(德语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、tr(土耳其语)、ru(俄语)、pt(葡萄牙语)
|
|
7315
|
-
- tr(土耳其语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、ru(俄语)、pt(葡萄牙语)
|
|
7316
|
-
- ru(俄语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、pt(葡萄牙语)
|
|
7317
|
-
- pt(葡萄牙语):zh(中文)、zh-TW(繁体中文)、en(英语)、fr(法语)、es(西班牙语)、it(意大利语)、de(德语)、tr(土耳其语)、ru(俄语)
|
|
7318
|
-
- vi(越南语):zh(中文)、zh-TW(繁体中文)、en(英语)
|
|
7319
|
-
- id(印尼语):zh(中文)、zh-TW(繁体中文)、en(英语)
|
|
7320
|
-
- th(泰语):zh(中文)、zh-TW(繁体中文)、en(英语)
|
|
7321
|
-
- ms(马来语):zh(中文)、zh-TW(繁体中文)、en(英语)
|
|
7322
|
-
- ar(阿拉伯语):en(英语)
|
|
7323
|
-
- hi(印地语):en(英语)
|
|
7324
7305
|
:type TranslationLanguage: str
|
|
7325
7306
|
"""
|
|
7326
7307
|
self._Language = None
|
|
7308
|
+
self._AlternativeLanguage = None
|
|
7327
7309
|
self._Model = None
|
|
7328
7310
|
self._TranslationLanguage = None
|
|
7329
7311
|
|
|
@@ -7335,12 +7317,24 @@ tencnet目标语言,各源语言的目标语言支持列表如下,冒号左
|
|
|
7335
7317
|
def Language(self, Language):
|
|
7336
7318
|
self._Language = Language
|
|
7337
7319
|
|
|
7320
|
+
@property
|
|
7321
|
+
def AlternativeLanguage(self):
|
|
7322
|
+
return self._AlternativeLanguage
|
|
7323
|
+
|
|
7324
|
+
@AlternativeLanguage.setter
|
|
7325
|
+
def AlternativeLanguage(self, AlternativeLanguage):
|
|
7326
|
+
self._AlternativeLanguage = AlternativeLanguage
|
|
7327
|
+
|
|
7338
7328
|
@property
|
|
7339
7329
|
def Model(self):
|
|
7330
|
+
warnings.warn("parameter `Model` is deprecated", DeprecationWarning)
|
|
7331
|
+
|
|
7340
7332
|
return self._Model
|
|
7341
7333
|
|
|
7342
7334
|
@Model.setter
|
|
7343
7335
|
def Model(self, Model):
|
|
7336
|
+
warnings.warn("parameter `Model` is deprecated", DeprecationWarning)
|
|
7337
|
+
|
|
7344
7338
|
self._Model = Model
|
|
7345
7339
|
|
|
7346
7340
|
@property
|
|
@@ -7354,6 +7348,7 @@ tencnet目标语言,各源语言的目标语言支持列表如下,冒号左
|
|
|
7354
7348
|
|
|
7355
7349
|
def _deserialize(self, params):
|
|
7356
7350
|
self._Language = params.get("Language")
|
|
7351
|
+
self._AlternativeLanguage = params.get("AlternativeLanguage")
|
|
7357
7352
|
self._Model = params.get("Model")
|
|
7358
7353
|
self._TranslationLanguage = params.get("TranslationLanguage")
|
|
7359
7354
|
memeber_set = set(params.keys())
|
|
@@ -1424,7 +1424,9 @@ class TrtcClient(AbstractClient):
|
|
|
1424
1424
|
|
|
1425
1425
|
|
|
1426
1426
|
def SummarizeTranscription(self, request):
|
|
1427
|
-
"""
|
|
1427
|
+
"""接口不再支持
|
|
1428
|
+
|
|
1429
|
+
对转录的文本进行总结。
|
|
1428
1430
|
|
|
1429
1431
|
:param request: Request instance for SummarizeTranscription.
|
|
1430
1432
|
:type request: :class:`tencentcloud.trtc.v20190722.models.SummarizeTranscriptionRequest`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1185
|
|
4
4
|
Summary: Tencent Cloud Trtc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1185)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=S9aDyyNSMrxWw4am3iTi-N8TUfzr26Nd7KcSI16rvRg,631
|
|
2
|
+
tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/trtc/v20190722/errorcodes.py,sha256=K4q7UWQkdedEyrQJFz67cH3xzyKo78PS0EseWry0JXo,10898
|
|
5
|
+
tencentcloud/trtc/v20190722/models.py,sha256=ns7gkxCDyMFz-IauSTmqQIx7J257aVsxgt-qCsedZU0,367733
|
|
6
|
+
tencentcloud/trtc/v20190722/trtc_client.py,sha256=MC8-xDCb1z8QUhwEmdc0kVRul_QgkG_2MpiJDnZgs3Q,85356
|
|
7
|
+
tencentcloud_sdk_python_trtc-3.0.1185.dist-info/METADATA,sha256=2bDjDMZyDaYYamoXtv40WWQSa4oRl_5QMOxA9w2hpYs,1497
|
|
8
|
+
tencentcloud_sdk_python_trtc-3.0.1185.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_trtc-3.0.1185.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_trtc-3.0.1185.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=a1MWfseUjKcW0gBEThFAZDyf-BVD1d2ZeqnXJm-77qo,631
|
|
2
|
-
tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/trtc/v20190722/errorcodes.py,sha256=K4q7UWQkdedEyrQJFz67cH3xzyKo78PS0EseWry0JXo,10898
|
|
5
|
-
tencentcloud/trtc/v20190722/models.py,sha256=T9zL5ntUqunC-pRiOit4vaFfddxiY-qgvYfml_UTY98,370231
|
|
6
|
-
tencentcloud/trtc/v20190722/trtc_client.py,sha256=Ejkxfigb4LDQnNh2Pn5O8tGF_NIDzN0GnVIND0GGNzQ,85328
|
|
7
|
-
tencentcloud_sdk_python_trtc-3.0.1183.dist-info/METADATA,sha256=7gNTlLfaX2477cXl44ziuBP2suTzqgiDtPy_CkqqmAI,1497
|
|
8
|
-
tencentcloud_sdk_python_trtc-3.0.1183.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_trtc-3.0.1183.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_trtc-3.0.1183.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|