tencentcloud-sdk-asr 3.0.599 → 3.0.601
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: 9ec28d9ea1686b6a82cf4ef85a548d6b97c2e67d
|
4
|
+
data.tar.gz: 41e8169b33e5a6c27a84bfdce1829813bd4ca6f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bfa9d7e80c0d8338dcec1a465534dffe320cbf04e69098409b0e72c69595253c2a3632b4db2d5c0aa032fc74e39fab11c839363824eb4b80eb207b67aade6f4
|
7
|
+
data.tar.gz: e1e3564acd3992113ccf1953bdba03a94e7b9ee4460b3a83fac59c7fe2f80a76129c853ee1042af1f6a85920caa9154009e47561a19fd5ae05a90fa7f80850a3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.601
|
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.601
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|