tencentcloud-sdk-asr 3.0.1004 → 3.0.1005

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92ffb9faff7e4808344908543f619809b4d65842
4
- data.tar.gz: b3342413c6836713516000fa9331a0e010f95c12
3
+ metadata.gz: 1fb4e825edeadc18e52da72152a1af84ed1c6a0b
4
+ data.tar.gz: a62a2eadd1d5daa0030f0a356a35c32dc9ab6485
5
5
  SHA512:
6
- metadata.gz: 24f992c1aa71ca64cae23289b9586445301a0ceac8a489a4ce35e4f4e033ca226f0673b9cbbbfceaa15ec781d78aaf4993cecbf78ffe5c6c49b7f03ce0ff95c2
7
- data.tar.gz: 4f2d7c7719b3389e8f28d8c286e9ba122d231ddd11d95cc621bfdfc117a40aa148cd13d7224323d1e53e84381b32b78a9632e638310ca176bcb7fae582193f78
6
+ metadata.gz: bab589e93ab058cd1ae370e0412cbaf06c486680970a91bc58dc611d0aec376fd4a652f2eb1361abbe179e8436a4a579eb6de66ffa282b6c391d109b16937ceb
7
+ data.tar.gz: 7b3a3ff9136763fbd9f48d5e0f4947eaddfce61e93dd22c523f118c4db23a51506254a938c8becdac7269d400e017510307a55cbaf07d57c5e70998663ec3b8b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1004
1
+ 3.0.1005
@@ -171,7 +171,7 @@ module TencentCloud
171
171
  # • 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外
172
172
  # • 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac
173
173
  # • 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看
174
- # • 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(COS桶权限需要设置公有读私有写,或URL设置外部可访问)
174
+ # • 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(具体对接可提工单咨询COS生成预签名URL
175
175
  # • 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB
176
176
  # • 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)
177
177
  # • 识别结果有效时间:识别结果在服务端保存24小时
@@ -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, 1
309
- deprecate :TagInfos=, :none, 2025, 1
308
+ deprecate :TagInfos, :none, 2025, 2
309
+ deprecate :TagInfos=, :none, 2025, 2
310
310
 
311
311
  def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
312
312
  @ModelName = modelname
@@ -534,8 +534,8 @@ module TencentCloud
534
534
 
535
535
  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
536
536
  extend Gem::Deprecate
537
- deprecate :ReinforceHotword, :none, 2025, 1
538
- deprecate :ReinforceHotword=, :none, 2025, 1
537
+ deprecate :ReinforceHotword, :none, 2025, 2
538
+ deprecate :ReinforceHotword=, :none, 2025, 2
539
539
 
540
540
  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)
541
541
  @EngineModelType = enginemodeltype
@@ -1045,8 +1045,8 @@ module TencentCloud
1045
1045
 
1046
1046
  attr_accessor :TagInfos, :Limit, :Offset
1047
1047
  extend Gem::Deprecate
1048
- deprecate :TagInfos, :none, 2025, 1
1049
- deprecate :TagInfos=, :none, 2025, 1
1048
+ deprecate :TagInfos, :none, 2025, 2
1049
+ deprecate :TagInfos=, :none, 2025, 2
1050
1050
 
1051
1051
  def initialize(taginfos=nil, limit=nil, offset=nil)
1052
1052
  @TagInfos = taginfos
@@ -1624,14 +1624,14 @@ module TencentCloud
1624
1624
 
1625
1625
  attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
1626
1626
  extend Gem::Deprecate
1627
- deprecate :ProjectId, :none, 2025, 1
1628
- deprecate :ProjectId=, :none, 2025, 1
1629
- deprecate :SubServiceType, :none, 2025, 1
1630
- deprecate :SubServiceType=, :none, 2025, 1
1631
- deprecate :UsrAudioKey, :none, 2025, 1
1632
- deprecate :UsrAudioKey=, :none, 2025, 1
1633
- deprecate :ReinforceHotword, :none, 2025, 1
1634
- deprecate :ReinforceHotword=, :none, 2025, 1
1627
+ deprecate :ProjectId, :none, 2025, 2
1628
+ deprecate :ProjectId=, :none, 2025, 2
1629
+ deprecate :SubServiceType, :none, 2025, 2
1630
+ deprecate :SubServiceType=, :none, 2025, 2
1631
+ deprecate :UsrAudioKey, :none, 2025, 2
1632
+ deprecate :UsrAudioKey=, :none, 2025, 2
1633
+ deprecate :ReinforceHotword, :none, 2025, 2
1634
+ deprecate :ReinforceHotword=, :none, 2025, 2
1635
1635
 
1636
1636
  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)
1637
1637
  @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.1004
4
+ version: 3.0.1005
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-02-23 00:00:00.000000000 Z
11
+ date: 2025-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common