tencentcloud-sdk-asr 3.0.1054 → 3.0.1055
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 -14
- 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: 47ec8c65de9a1e4432e40061716b41a960afa011
|
4
|
+
data.tar.gz: 7714b6249e9253acff35ed406e8847a3bef222d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 806233d561a7f28d0ac411653fc0b722beb1621e3757d51c23ca165f828e68f940ccd3748fa2d8b41e01cdd6f0b7ef77650e17f8f355945c18345d926e9890ae
|
7
|
+
data.tar.gz: 8d305d18e77b1544d63ba1b0c7bec646dc9a5e6b2f550706162a7a9cddce73d442abe44de2d5c54d93df53c5fdc0f7b4fba34e13cc15b337ac3ff278dc784009
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1055
|
data/lib/v20190614/client.rb
CHANGED
@@ -568,7 +568,7 @@ module TencentCloud
|
|
568
568
|
|
569
569
|
# 本接口用于对60秒之内的短音频文件进行识别。
|
570
570
|
# • 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
|
571
|
-
# • 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL
|
571
|
+
# • 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(可参考COS预签名指南:[使用预签名 URL 访问 COS](https://cloud.tencent.com/document/product/436/68284) ,获取COS预签名url)
|
572
572
|
# • 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
|
573
573
|
# • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
574
574
|
# • 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
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, 5
|
309
|
+
deprecate :TagInfos=, :none, 2025, 5
|
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,
|
538
|
-
deprecate :ReinforceHotword=, :none, 2025,
|
537
|
+
deprecate :ReinforceHotword, :none, 2025, 5
|
538
|
+
deprecate :ReinforceHotword=, :none, 2025, 5
|
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
|
@@ -922,6 +922,9 @@ module TencentCloud
|
|
922
922
|
# @type Limit: Integer
|
923
923
|
|
924
924
|
attr_accessor :TagInfos, :Offset, :Limit
|
925
|
+
extend Gem::Deprecate
|
926
|
+
deprecate :TagInfos, :none, 2025, 5
|
927
|
+
deprecate :TagInfos=, :none, 2025, 5
|
925
928
|
|
926
929
|
def initialize(taginfos=nil, offset=nil, limit=nil)
|
927
930
|
@TagInfos = taginfos
|
@@ -1045,8 +1048,8 @@ module TencentCloud
|
|
1045
1048
|
|
1046
1049
|
attr_accessor :TagInfos, :Limit, :Offset
|
1047
1050
|
extend Gem::Deprecate
|
1048
|
-
deprecate :TagInfos, :none, 2025,
|
1049
|
-
deprecate :TagInfos=, :none, 2025,
|
1051
|
+
deprecate :TagInfos, :none, 2025, 5
|
1052
|
+
deprecate :TagInfos=, :none, 2025, 5
|
1050
1053
|
|
1051
1054
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
1052
1055
|
@TagInfos = taginfos
|
@@ -1345,6 +1348,9 @@ module TencentCloud
|
|
1345
1348
|
# @type TagInfos: Array
|
1346
1349
|
|
1347
1350
|
attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
|
1351
|
+
extend Gem::Deprecate
|
1352
|
+
deprecate :TagInfos, :none, 2025, 5
|
1353
|
+
deprecate :TagInfos=, :none, 2025, 5
|
1348
1354
|
|
1349
1355
|
def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
|
1350
1356
|
@ModelName = modelname
|
@@ -1624,14 +1630,14 @@ module TencentCloud
|
|
1624
1630
|
|
1625
1631
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
1626
1632
|
extend Gem::Deprecate
|
1627
|
-
deprecate :ProjectId, :none, 2025,
|
1628
|
-
deprecate :ProjectId=, :none, 2025,
|
1629
|
-
deprecate :SubServiceType, :none, 2025,
|
1630
|
-
deprecate :SubServiceType=, :none, 2025,
|
1631
|
-
deprecate :UsrAudioKey, :none, 2025,
|
1632
|
-
deprecate :UsrAudioKey=, :none, 2025,
|
1633
|
-
deprecate :ReinforceHotword, :none, 2025,
|
1634
|
-
deprecate :ReinforceHotword=, :none, 2025,
|
1633
|
+
deprecate :ProjectId, :none, 2025, 5
|
1634
|
+
deprecate :ProjectId=, :none, 2025, 5
|
1635
|
+
deprecate :SubServiceType, :none, 2025, 5
|
1636
|
+
deprecate :SubServiceType=, :none, 2025, 5
|
1637
|
+
deprecate :UsrAudioKey, :none, 2025, 5
|
1638
|
+
deprecate :UsrAudioKey=, :none, 2025, 5
|
1639
|
+
deprecate :ReinforceHotword, :none, 2025, 5
|
1640
|
+
deprecate :ReinforceHotword=, :none, 2025, 5
|
1635
1641
|
|
1636
1642
|
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
1643
|
@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.1055
|
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-05-
|
11
|
+
date: 2025-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|