tencentcloud-sdk-asr 3.0.599 → 3.0.600
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190614/client.rb +1 -1
- data/lib/v20190614/models.rb +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c77ae460c9d139bc9e6b9275d0bdd60fb7cfd793
|
4
|
+
data.tar.gz: bde47447d1b8e23c3ec10c4db47a9d1aa53c2bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dc4f712ed5cf8258ecc452796321edec057aad56d9f66458da23a8a46373e464139ad4e0592b6d71f33896450c5c4ce242447a0d66c984797d205d6157b69bf
|
7
|
+
data.tar.gz: 03deb78c0fa004383131ea29a34fb317c766edf930007e7193816483873da09cf6c501d8bcbf26b32b22b043a38d36332fd47c77a1bc71f1991e46709762549b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.600
|
data/lib/v20190614/client.rb
CHANGED
@@ -145,7 +145,7 @@ module TencentCloud
|
|
145
145
|
# • 支持回调或轮询的方式获取结果,结果获取请参考[ 录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)。
|
146
146
|
# • 生成字幕场景可设置参数ResTextFormat为3,解析ResultDetail结构生成字幕,可参考 [生成字幕最佳实践](https://cloud.tencent.com/document/product/1093/84291)。
|
147
147
|
# • 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
148
|
-
# • 默认接口请求频率限制:20
|
148
|
+
# • 默认接口请求频率限制:20次/秒。
|
149
149
|
|
150
150
|
# @param request: Request instance for CreateRecTask.
|
151
151
|
# @type request: :class:`Tencentcloud::asr::V20190614::CreateRecTaskRequest`
|
data/lib/v20190614/models.rb
CHANGED
@@ -314,8 +314,8 @@ module TencentCloud
|
|
314
314
|
# @type ResTextFormat: Integer
|
315
315
|
# @param SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
|
316
316
|
# @type SourceType: Integer
|
317
|
-
# @param SpeakerDiarization: 是否开启说话人分离,0:不开启,1:开启(仅支持8k_zh
|
318
|
-
# 注意:8k电话场景建议使用双声道来区分通话双方,设置ChannelNum=2
|
317
|
+
# @param SpeakerDiarization: 是否开启说话人分离,0:不开启,1:开启(仅支持8k_zh/16k_zh,ChannelNum=1时可用),默认值为 0。
|
318
|
+
# 注意:8k电话场景建议使用双声道来区分通话双方,设置ChannelNum=2即可,不用开启说话人分离,如果设置了ChannelNum=1,后台会先转码成单声道,说话人分离结果可能产生偏差。
|
319
319
|
# @type SpeakerDiarization: Integer
|
320
320
|
# @param SpeakerNumber: 说话人分离人数(需配合开启说话人分离使用),取值范围:0-10,0代表自动分离(目前仅支持≤6个人),1-10代表指定说话人数分离。默认值为 0。
|
321
321
|
# 注:此功能结果仅供参考,请根据您的需要谨慎使用。
|
@@ -1149,12 +1149,12 @@ module TencentCloud
|
|
1149
1149
|
|
1150
1150
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList
|
1151
1151
|
extend Gem::Deprecate
|
1152
|
-
deprecate :ProjectId, :none, 2023,
|
1153
|
-
deprecate :ProjectId=, :none, 2023,
|
1154
|
-
deprecate :SubServiceType, :none, 2023,
|
1155
|
-
deprecate :SubServiceType=, :none, 2023,
|
1156
|
-
deprecate :UsrAudioKey, :none, 2023,
|
1157
|
-
deprecate :UsrAudioKey=, :none, 2023,
|
1152
|
+
deprecate :ProjectId, :none, 2023, 6
|
1153
|
+
deprecate :ProjectId=, :none, 2023, 6
|
1154
|
+
deprecate :SubServiceType, :none, 2023, 6
|
1155
|
+
deprecate :SubServiceType=, :none, 2023, 6
|
1156
|
+
deprecate :UsrAudioKey, :none, 2023, 6
|
1157
|
+
deprecate :UsrAudioKey=, :none, 2023, 6
|
1158
1158
|
|
1159
1159
|
def initialize(engservicetype=nil, sourcetype=nil, voiceformat=nil, projectid=nil, subservicetype=nil, url=nil, usraudiokey=nil, data=nil, datalen=nil, wordinfo=nil, filterdirty=nil, filtermodal=nil, filterpunc=nil, convertnummode=nil, hotwordid=nil, customizationid=nil, reinforcehotword=nil, hotwordlist=nil)
|
1160
1160
|
@EngSerViceType = engservicetype
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-asr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.600
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|