tencentcloud-sdk-asr 3.0.1074 → 3.0.1086

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190614/models.rb +22 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb2f2d90f0008069da8d5b76b713ee7fa550f0c3
4
- data.tar.gz: ebc9ba698ce0f4f81b94defd112bca192dddfc01
3
+ metadata.gz: c94899f643b740185a5c6b1f4b65027e557f3a6a
4
+ data.tar.gz: ca090a564f7756c43d0c859825f6e5fa77499417
5
5
  SHA512:
6
- metadata.gz: 667ddd9b7e27f681c3cbc4bc14913c6535c101a808ac74ebc0f4090ec9a6281cab691d934c1120b9bbd023c9e8547d6690db417f512715ce75ba2ad10d48f42d
7
- data.tar.gz: 522838ee74de1af94efb7404e6f2c16cdbc75d5bbbe31bb95e78d43887d60218773e6b133aa63ef7f092ea25538183ed2edf5b001635e4687dbb2909e21d6067
6
+ metadata.gz: 9fcb3bf49c6dea5f97580926ab3210cb6412814805dabcb8209261ea944edaa67328700653ab592541818cc826a1629ee47f778afadf996fcf27ad4750952a71
7
+ data.tar.gz: dc43b0bd052b87df3a8c40c36ba2794d9b16bd10bc0200052af777fa5da75fd363ecbb6f412d3b88534d27a2d4e918890708fee05ff072ad32f161e52cff4147
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1086
@@ -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, 5
309
- deprecate :TagInfos=, :none, 2025, 5
308
+ deprecate :TagInfos, :none, 2025, 6
309
+ deprecate :TagInfos=, :none, 2025, 6
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:**普方大模型引擎【大模型版】。当前模型同时支持中文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型版本的识别效果;
355
+ # • 8k_zh_large:中文电话场景专用大模型引擎。通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;
356
356
 
357
357
  # 注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**
358
358
 
@@ -532,12 +532,15 @@ module TencentCloud
532
532
  # @param KeyWordLibIdList: 关键词识别ID列表,默认空为不进行识别,最多10个
533
533
  # @type KeyWordLibIdList: Array
534
534
  # @param ReplaceTextId: 替换词汇表id, 适用于热词和自学习场景也无法解决的极端case词组, 会对识别结果强制替换。具体可参考[配置控制台](https://console.cloud.tencent.com/asr/replaceword);强制替换功能可能会影响正常识别结果,请谨慎使用
535
+
536
+ # 注意:
537
+ # 1. 本功能配置完成后,预计在10分钟后生效
535
538
  # @type ReplaceTextId: String
536
539
 
537
540
  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
538
541
  extend Gem::Deprecate
539
- deprecate :ReinforceHotword, :none, 2025, 5
540
- deprecate :ReinforceHotword=, :none, 2025, 5
542
+ deprecate :ReinforceHotword, :none, 2025, 6
543
+ deprecate :ReinforceHotword=, :none, 2025, 6
541
544
 
542
545
  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)
543
546
  @EngineModelType = enginemodeltype
@@ -927,8 +930,8 @@ module TencentCloud
927
930
 
928
931
  attr_accessor :TagInfos, :Offset, :Limit
929
932
  extend Gem::Deprecate
930
- deprecate :TagInfos, :none, 2025, 5
931
- deprecate :TagInfos=, :none, 2025, 5
933
+ deprecate :TagInfos, :none, 2025, 6
934
+ deprecate :TagInfos=, :none, 2025, 6
932
935
 
933
936
  def initialize(taginfos=nil, offset=nil, limit=nil)
934
937
  @TagInfos = taginfos
@@ -1052,8 +1055,8 @@ module TencentCloud
1052
1055
 
1053
1056
  attr_accessor :TagInfos, :Limit, :Offset
1054
1057
  extend Gem::Deprecate
1055
- deprecate :TagInfos, :none, 2025, 5
1056
- deprecate :TagInfos=, :none, 2025, 5
1058
+ deprecate :TagInfos, :none, 2025, 6
1059
+ deprecate :TagInfos=, :none, 2025, 6
1057
1060
 
1058
1061
  def initialize(taginfos=nil, limit=nil, offset=nil)
1059
1062
  @TagInfos = taginfos
@@ -1353,8 +1356,8 @@ module TencentCloud
1353
1356
 
1354
1357
  attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
1355
1358
  extend Gem::Deprecate
1356
- deprecate :TagInfos, :none, 2025, 5
1357
- deprecate :TagInfos=, :none, 2025, 5
1359
+ deprecate :TagInfos, :none, 2025, 6
1360
+ deprecate :TagInfos=, :none, 2025, 6
1358
1361
 
1359
1362
  def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
1360
1363
  @ModelName = modelname
@@ -1634,14 +1637,14 @@ module TencentCloud
1634
1637
 
1635
1638
  attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
1636
1639
  extend Gem::Deprecate
1637
- deprecate :ProjectId, :none, 2025, 5
1638
- deprecate :ProjectId=, :none, 2025, 5
1639
- deprecate :SubServiceType, :none, 2025, 5
1640
- deprecate :SubServiceType=, :none, 2025, 5
1641
- deprecate :UsrAudioKey, :none, 2025, 5
1642
- deprecate :UsrAudioKey=, :none, 2025, 5
1643
- deprecate :ReinforceHotword, :none, 2025, 5
1644
- deprecate :ReinforceHotword=, :none, 2025, 5
1640
+ deprecate :ProjectId, :none, 2025, 6
1641
+ deprecate :ProjectId=, :none, 2025, 6
1642
+ deprecate :SubServiceType, :none, 2025, 6
1643
+ deprecate :SubServiceType=, :none, 2025, 6
1644
+ deprecate :UsrAudioKey, :none, 2025, 6
1645
+ deprecate :UsrAudioKey=, :none, 2025, 6
1646
+ deprecate :ReinforceHotword, :none, 2025, 6
1647
+ deprecate :ReinforceHotword=, :none, 2025, 6
1645
1648
 
1646
1649
  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)
1647
1650
  @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.1074
4
+ version: 3.0.1086
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common