tencentcloud-sdk-asr 3.0.886 → 3.0.887

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03f0548a02134d2faec5ae148fb1d7bd09f06870
4
- data.tar.gz: aafba79b556dc66dd0d96a7a30eda02e0e676076
3
+ metadata.gz: 7f2ba6cf544060990b5bd3b4afb620895dfbc35e
4
+ data.tar.gz: bd4d48687a155df169d9d997a676e5ad22fc4b6b
5
5
  SHA512:
6
- metadata.gz: 530f2a03968bd7c85e281f6fcad3d35b17d22a9e2796f30d72a6c5ca2b338894a7276e33ee47dc65ea1661ec98b8c0cfa62087e867c50e49fea79fe14548f1f9
7
- data.tar.gz: bb65ce351a3be44942ccdf38b6f1af8570220ebdf8c7f7d72628fdf6d3ddf5ddb10e189d9aa2540a3b5e37d55f526b6e9f73ca53f8fcc01234d7aacd56c5e4f9
6
+ metadata.gz: c6f5dd42bbfd173f7d1342a8f7997f485aa4b70707ba2092db5b96fd3aba9ac3a99db3efa0c0f4d19ec9f28ab775ddf14b0bccdfc7af1a4e075d9098874a98e0
7
+ data.tar.gz: f5b5af989e4ca4142eaa8496250a4c40fab549a25c7209b85658af554a8f67a6d5d87f26cec713c52b51f49d1602242f62459dc696c0f204738840f22c12e152
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.886
1
+ 3.0.887
@@ -466,7 +466,13 @@ module TencentCloud
466
466
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
467
467
  end
468
468
 
469
- # 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
469
+ # 本接口用于对60秒之内的短音频文件进行识别。
470
+ # • 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
471
+ # • 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
472
+ # • 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
473
+ # • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
474
+ # • 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
475
+ # • 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
470
476
 
471
477
  # @param request: Request instance for SentenceRecognition.
472
478
  # @type request: :class:`Tencentcloud::asr::V20190614::SentenceRecognitionRequest`
@@ -257,8 +257,8 @@ module TencentCloud
257
257
 
258
258
  attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
259
259
  extend Gem::Deprecate
260
- deprecate :TagInfos, :none, 2024, 7
261
- deprecate :TagInfos=, :none, 2024, 7
260
+ deprecate :TagInfos, :none, 2024, 8
261
+ deprecate :TagInfos=, :none, 2024, 8
262
262
 
263
263
  def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
264
264
  @ModelName = modelname
@@ -482,8 +482,8 @@ module TencentCloud
482
482
 
483
483
  attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :Data, :DataLen, :Url, :CallbackUrl, :SpeakerDiarization, :SpeakerNumber, :HotwordId, :ReinforceHotword, :CustomizationId, :EmotionRecognition, :EmotionalEnergy, :ConvertNumMode, :FilterDirty, :FilterPunc, :FilterModal, :SentenceMaxLength, :Extra, :HotwordList
484
484
  extend Gem::Deprecate
485
- deprecate :ReinforceHotword, :none, 2024, 7
486
- deprecate :ReinforceHotword=, :none, 2024, 7
485
+ deprecate :ReinforceHotword, :none, 2024, 8
486
+ deprecate :ReinforceHotword=, :none, 2024, 8
487
487
 
488
488
  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)
489
489
  @EngineModelType = enginemodeltype
@@ -908,8 +908,8 @@ module TencentCloud
908
908
 
909
909
  attr_accessor :TagInfos, :Limit, :Offset
910
910
  extend Gem::Deprecate
911
- deprecate :TagInfos, :none, 2024, 7
912
- deprecate :TagInfos=, :none, 2024, 7
911
+ deprecate :TagInfos, :none, 2024, 8
912
+ deprecate :TagInfos=, :none, 2024, 8
913
913
 
914
914
  def initialize(taginfos=nil, limit=nil, offset=nil)
915
915
  @TagInfos = taginfos
@@ -1270,6 +1270,8 @@ module TencentCloud
1270
1270
  # @param SubServiceType: 子服务类型。2: 一句话识别。
1271
1271
  # @type SubServiceType: Integer
1272
1272
  # @param Url: 语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
1273
+
1274
+ # 注意:推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
1273
1275
  # @type Url: String
1274
1276
  # @param UsrAudioKey: 废弃参数,填写任意字符串即可。
1275
1277
  # @type UsrAudioKey: String
@@ -1309,14 +1311,14 @@ module TencentCloud
1309
1311
 
1310
1312
  attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
1311
1313
  extend Gem::Deprecate
1312
- deprecate :ProjectId, :none, 2024, 7
1313
- deprecate :ProjectId=, :none, 2024, 7
1314
- deprecate :SubServiceType, :none, 2024, 7
1315
- deprecate :SubServiceType=, :none, 2024, 7
1316
- deprecate :UsrAudioKey, :none, 2024, 7
1317
- deprecate :UsrAudioKey=, :none, 2024, 7
1318
- deprecate :ReinforceHotword, :none, 2024, 7
1319
- deprecate :ReinforceHotword=, :none, 2024, 7
1314
+ deprecate :ProjectId, :none, 2024, 8
1315
+ deprecate :ProjectId=, :none, 2024, 8
1316
+ deprecate :SubServiceType, :none, 2024, 8
1317
+ deprecate :SubServiceType=, :none, 2024, 8
1318
+ deprecate :UsrAudioKey, :none, 2024, 8
1319
+ deprecate :UsrAudioKey=, :none, 2024, 8
1320
+ deprecate :ReinforceHotword, :none, 2024, 8
1321
+ deprecate :ReinforceHotword=, :none, 2024, 8
1320
1322
 
1321
1323
  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)
1322
1324
  @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.886
4
+ version: 3.0.887
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-14 00:00:00.000000000 Z
11
+ date: 2024-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common