tencentcloud-sdk-asr 3.0.1120 → 3.0.1141
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190614/client.rb +1 -1
- data/lib/v20190614/models.rb +20 -19
- 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: 0e682b0bb27272c073a8d0a2a947acdc381d9550
|
4
|
+
data.tar.gz: 35c2ab8b751ec9ac49d46296f0fb6f5cd04815c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46eab63c2874dd5e4395819bcd1c805a1b3f26300cd3f914ae50709bd82d252889e525fdd7eb412a08b2fddc5ee4bf194debe443164058cd925e7071ccc3c948
|
7
|
+
data.tar.gz: 1d5a5bb6d035940bc7531eb8dfb8de7e4b3faf83b9c7e52f9845122755fab9eb43ab5a0ed6df8da84993935939145b6d251324f8aeedd2ebce7d22f25bc0d929
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1141
|
data/lib/v20190614/client.rb
CHANGED
@@ -113,7 +113,7 @@ module TencentCloud
|
|
113
113
|
|
114
114
|
# 本接口用于对语音流进行准实时识别,通过异步回调来返回识别结果。适用于直播审核等场景。
|
115
115
|
# <br>• 支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls)
|
116
|
-
# <br>• 音频流时长无限制,服务会自动拉取音频流数据,若连续10
|
116
|
+
# <br>• 音频流时长无限制,服务会自动拉取音频流数据,若连续10分钟拉不到流或流数据无人声时,服务会终止识别任务
|
117
117
|
# <br>• 服务通过回调的方式来提供识别结果,用户需要提供CallbackUrl。回调时机为一小段话(最长15秒)回调一次。
|
118
118
|
# <br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
119
119
|
# <br>• 默认单账号限制并发数为20路,如您有提高并发限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
|
data/lib/v20190614/models.rb
CHANGED
@@ -305,8 +305,8 @@ module TencentCloud
|
|
305
305
|
|
306
306
|
attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
|
307
307
|
extend Gem::Deprecate
|
308
|
-
deprecate :TagInfos, :none, 2025,
|
309
|
-
deprecate :TagInfos=, :none, 2025,
|
308
|
+
deprecate :TagInfos, :none, 2025, 9
|
309
|
+
deprecate :TagInfos=, :none, 2025, 9
|
310
310
|
|
311
311
|
def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
|
312
312
|
@ModelName = modelname
|
@@ -352,7 +352,7 @@ module TencentCloud
|
|
352
352
|
# **注意:电话通讯场景,请务必使用以下8k引擎**
|
353
353
|
# • 8k_zh:中文电话通讯;
|
354
354
|
# • 8k_en:英文电话通讯;
|
355
|
-
# • 8k_zh_large
|
355
|
+
# • 8k_zh_large:中文电话场景专用大模型引擎【大模型版】。通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;
|
356
356
|
|
357
357
|
# 注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**
|
358
358
|
|
@@ -443,6 +443,7 @@ module TencentCloud
|
|
443
443
|
# 0:自动分离(最多分离出20个人);
|
444
444
|
# 1-10:指定人数分离;
|
445
445
|
# 默认值为 0
|
446
|
+
# 注:16k引擎不支持指定人数分离
|
446
447
|
# @type SpeakerNumber: Integer
|
447
448
|
# @param HotwordId: 热词表id
|
448
449
|
# 如不设置该参数,将自动生效默认热词表;
|
@@ -539,8 +540,8 @@ module TencentCloud
|
|
539
540
|
|
540
541
|
attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :Data, :DataLen, :Url, :CallbackUrl, :SpeakerDiarization, :SpeakerNumber, :HotwordId, :ReinforceHotword, :CustomizationId, :EmotionRecognition, :EmotionalEnergy, :ConvertNumMode, :FilterDirty, :FilterPunc, :FilterModal, :SentenceMaxLength, :Extra, :HotwordList, :KeyWordLibIdList, :ReplaceTextId
|
541
542
|
extend Gem::Deprecate
|
542
|
-
deprecate :ReinforceHotword, :none, 2025,
|
543
|
-
deprecate :ReinforceHotword=, :none, 2025,
|
543
|
+
deprecate :ReinforceHotword, :none, 2025, 9
|
544
|
+
deprecate :ReinforceHotword=, :none, 2025, 9
|
544
545
|
|
545
546
|
def initialize(enginemodeltype=nil, channelnum=nil, restextformat=nil, sourcetype=nil, data=nil, datalen=nil, url=nil, callbackurl=nil, speakerdiarization=nil, speakernumber=nil, hotwordid=nil, reinforcehotword=nil, customizationid=nil, emotionrecognition=nil, emotionalenergy=nil, convertnummode=nil, filterdirty=nil, filterpunc=nil, filtermodal=nil, sentencemaxlength=nil, extra=nil, hotwordlist=nil, keywordlibidlist=nil, replacetextid=nil)
|
546
547
|
@EngineModelType = enginemodeltype
|
@@ -930,8 +931,8 @@ module TencentCloud
|
|
930
931
|
|
931
932
|
attr_accessor :TagInfos, :Offset, :Limit
|
932
933
|
extend Gem::Deprecate
|
933
|
-
deprecate :TagInfos, :none, 2025,
|
934
|
-
deprecate :TagInfos=, :none, 2025,
|
934
|
+
deprecate :TagInfos, :none, 2025, 9
|
935
|
+
deprecate :TagInfos=, :none, 2025, 9
|
935
936
|
|
936
937
|
def initialize(taginfos=nil, offset=nil, limit=nil)
|
937
938
|
@TagInfos = taginfos
|
@@ -1055,8 +1056,8 @@ module TencentCloud
|
|
1055
1056
|
|
1056
1057
|
attr_accessor :TagInfos, :Limit, :Offset
|
1057
1058
|
extend Gem::Deprecate
|
1058
|
-
deprecate :TagInfos, :none, 2025,
|
1059
|
-
deprecate :TagInfos=, :none, 2025,
|
1059
|
+
deprecate :TagInfos, :none, 2025, 9
|
1060
|
+
deprecate :TagInfos=, :none, 2025, 9
|
1060
1061
|
|
1061
1062
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
1062
1063
|
@TagInfos = taginfos
|
@@ -1356,8 +1357,8 @@ module TencentCloud
|
|
1356
1357
|
|
1357
1358
|
attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
|
1358
1359
|
extend Gem::Deprecate
|
1359
|
-
deprecate :TagInfos, :none, 2025,
|
1360
|
-
deprecate :TagInfos=, :none, 2025,
|
1360
|
+
deprecate :TagInfos, :none, 2025, 9
|
1361
|
+
deprecate :TagInfos=, :none, 2025, 9
|
1361
1362
|
|
1362
1363
|
def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
|
1363
1364
|
@ModelName = modelname
|
@@ -1637,14 +1638,14 @@ module TencentCloud
|
|
1637
1638
|
|
1638
1639
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
1639
1640
|
extend Gem::Deprecate
|
1640
|
-
deprecate :ProjectId, :none, 2025,
|
1641
|
-
deprecate :ProjectId=, :none, 2025,
|
1642
|
-
deprecate :SubServiceType, :none, 2025,
|
1643
|
-
deprecate :SubServiceType=, :none, 2025,
|
1644
|
-
deprecate :UsrAudioKey, :none, 2025,
|
1645
|
-
deprecate :UsrAudioKey=, :none, 2025,
|
1646
|
-
deprecate :ReinforceHotword, :none, 2025,
|
1647
|
-
deprecate :ReinforceHotword=, :none, 2025,
|
1641
|
+
deprecate :ProjectId, :none, 2025, 9
|
1642
|
+
deprecate :ProjectId=, :none, 2025, 9
|
1643
|
+
deprecate :SubServiceType, :none, 2025, 9
|
1644
|
+
deprecate :SubServiceType=, :none, 2025, 9
|
1645
|
+
deprecate :UsrAudioKey, :none, 2025, 9
|
1646
|
+
deprecate :UsrAudioKey=, :none, 2025, 9
|
1647
|
+
deprecate :ReinforceHotword, :none, 2025, 9
|
1648
|
+
deprecate :ReinforceHotword=, :none, 2025, 9
|
1648
1649
|
|
1649
1650
|
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, inputsamplerate=nil)
|
1650
1651
|
@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.1141
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|