tencentcloud-sdk-asr 3.0.713 → 3.0.714

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: 1b9813a60e0b49a49f62293256641c0a45061b85
4
- data.tar.gz: e7dd413aaaca07bb56bfb5f2806b050db314507f
3
+ metadata.gz: 847997e518f2f90cfeea32d9a73cf7145e14eadb
4
+ data.tar.gz: 803fcb766e127cccc23485e30290cfc60f426a61
5
5
  SHA512:
6
- metadata.gz: 0cfaa3f5b202c4d9fc92b6eeb473b3b410657ee9058a009f51d88bc0680580fd97ef639187a4c0de8448285f59fd4164778a382870a0d2b799ef232221db2f18
7
- data.tar.gz: d884cc52f613b11a1912b4e319650f50ba8f7a094924d58af9fd01ad83b09ca1eac05c9f473aa2b5a339758d5dcf4d0d7559285c04517e82b8932a8c93c65d7b
6
+ metadata.gz: 1b16528f1997a0c1be8a1640f431b9d6a3afc3b566c998e8b9e28cac6ec901484e2358b339b8957cbd36f842a5bf19103f32db25b914dea2861bade73cc2c286
7
+ data.tar.gz: 79ea40d9b1b8cd072e7390d9511609ac3abe75e3f1fbed3bf0446351cce3297e54879be69f3d36fa3a3e6b9d75d0638f4518fb361f78becdc500a5a7b562d9e5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.713
1
+ 3.0.714
@@ -465,7 +465,7 @@ module TencentCloud
465
465
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
466
466
  end
467
467
 
468
- # 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<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)。
468
+ # 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<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
469
 
470
470
  # @param request: Request instance for SentenceRecognition.
471
471
  # @type request: :class:`Tencentcloud::asr::V20190614::SentenceRecognitionRequest`
@@ -164,6 +164,7 @@ module TencentCloud
164
164
  # • 16k_ar:阿拉伯语;
165
165
  # • 16k_es:西班牙语;
166
166
  # • 16k_hi:印地语;
167
+ # • 16k_fr:法语;
167
168
  # @type EngineType: String
168
169
  # @param Url: 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
169
170
  # @type Url: String
@@ -317,6 +318,7 @@ module TencentCloud
317
318
  # • 16k_ar:阿拉伯语;
318
319
  # • 16k_es:西班牙语;
319
320
  # • 16k_hi:印地语;
321
+ # • 16k_fr:法语;
320
322
  # • 16k_zh_medical:中文医疗引擎
321
323
  # @type EngineModelType: String
322
324
  # @param ChannelNum: 识别声道数
@@ -1211,6 +1213,7 @@ module TencentCloud
1211
1213
  # • 16k_ar:阿拉伯语;
1212
1214
  # • 16k_es:西班牙语;
1213
1215
  # • 16k_hi:印地语;
1216
+ # • 16k_fr:法语;
1214
1217
  # • 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
1215
1218
  # @type EngSerViceType: String
1216
1219
  # @param SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
@@ -1260,12 +1263,12 @@ module TencentCloud
1260
1263
 
1261
1264
  attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
1262
1265
  extend Gem::Deprecate
1263
- deprecate :ProjectId, :none, 2023, 10
1264
- deprecate :ProjectId=, :none, 2023, 10
1265
- deprecate :SubServiceType, :none, 2023, 10
1266
- deprecate :SubServiceType=, :none, 2023, 10
1267
- deprecate :UsrAudioKey, :none, 2023, 10
1268
- deprecate :UsrAudioKey=, :none, 2023, 10
1266
+ deprecate :ProjectId, :none, 2023, 11
1267
+ deprecate :ProjectId=, :none, 2023, 11
1268
+ deprecate :SubServiceType, :none, 2023, 11
1269
+ deprecate :SubServiceType=, :none, 2023, 11
1270
+ deprecate :UsrAudioKey, :none, 2023, 11
1271
+ deprecate :UsrAudioKey=, :none, 2023, 11
1269
1272
 
1270
1273
  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)
1271
1274
  @EngSerViceType = engservicetype
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-asr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.713
4
+ version: 3.0.714
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud