tencentcloud-sdk-asr 3.0.1184 → 3.0.1201
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/models.rb +25 -22
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc3a0bacb1180c28b8c418276ef6525f1e552356
|
|
4
|
+
data.tar.gz: 2b8b226533cc7219958349f7fceff6f57109db7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bafd915935fdb3b07d9078fb9a428f6a8124a619adbfb4690584eebffff1576b07762f83c3e562b20725031abddd66efe1be0403cf2649986926034e3e2e585
|
|
7
|
+
data.tar.gz: 232511b82293a4ed2c916c0ac1d586fea935ff29a56a737e1686333ed936f306e19d6ae7d2aa8a72709465995078354b5b1884ae7d3afef41aaeb470ff8cd764
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1201
|
data/lib/v20190614/models.rb
CHANGED
|
@@ -205,7 +205,6 @@ module TencentCloud
|
|
|
205
205
|
# @param EngineType: 引擎模型类型。
|
|
206
206
|
# • 16k_zh:中文普通话通用;
|
|
207
207
|
# • 16k_en:英语;
|
|
208
|
-
# • 16k_yue:粤语;
|
|
209
208
|
# • 16k_id:印度尼西亚语;
|
|
210
209
|
# • 16k_fil:菲律宾语;
|
|
211
210
|
# • 16k_th:泰语;
|
|
@@ -305,8 +304,8 @@ module TencentCloud
|
|
|
305
304
|
|
|
306
305
|
attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
|
|
307
306
|
extend Gem::Deprecate
|
|
308
|
-
deprecate :TagInfos, :none,
|
|
309
|
-
deprecate :TagInfos=, :none,
|
|
307
|
+
deprecate :TagInfos, :none, 2026, 1
|
|
308
|
+
deprecate :TagInfos=, :none, 2026, 1
|
|
310
309
|
|
|
311
310
|
def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
|
|
312
311
|
@ModelName = modelname
|
|
@@ -549,8 +548,8 @@ module TencentCloud
|
|
|
549
548
|
|
|
550
549
|
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, :SpeakerRoles
|
|
551
550
|
extend Gem::Deprecate
|
|
552
|
-
deprecate :ReinforceHotword, :none,
|
|
553
|
-
deprecate :ReinforceHotword=, :none,
|
|
551
|
+
deprecate :ReinforceHotword, :none, 2026, 1
|
|
552
|
+
deprecate :ReinforceHotword=, :none, 2026, 1
|
|
554
553
|
|
|
555
554
|
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, speakerroles=nil)
|
|
556
555
|
@EngineModelType = enginemodeltype
|
|
@@ -949,8 +948,8 @@ module TencentCloud
|
|
|
949
948
|
|
|
950
949
|
attr_accessor :TagInfos, :Offset, :Limit
|
|
951
950
|
extend Gem::Deprecate
|
|
952
|
-
deprecate :TagInfos, :none,
|
|
953
|
-
deprecate :TagInfos=, :none,
|
|
951
|
+
deprecate :TagInfos, :none, 2026, 1
|
|
952
|
+
deprecate :TagInfos=, :none, 2026, 1
|
|
954
953
|
|
|
955
954
|
def initialize(taginfos=nil, offset=nil, limit=nil)
|
|
956
955
|
@TagInfos = taginfos
|
|
@@ -1074,8 +1073,8 @@ module TencentCloud
|
|
|
1074
1073
|
|
|
1075
1074
|
attr_accessor :TagInfos, :Limit, :Offset
|
|
1076
1075
|
extend Gem::Deprecate
|
|
1077
|
-
deprecate :TagInfos, :none,
|
|
1078
|
-
deprecate :TagInfos=, :none,
|
|
1076
|
+
deprecate :TagInfos, :none, 2026, 1
|
|
1077
|
+
deprecate :TagInfos=, :none, 2026, 1
|
|
1079
1078
|
|
|
1080
1079
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
|
1081
1080
|
@TagInfos = taginfos
|
|
@@ -1375,8 +1374,8 @@ module TencentCloud
|
|
|
1375
1374
|
|
|
1376
1375
|
attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
|
|
1377
1376
|
extend Gem::Deprecate
|
|
1378
|
-
deprecate :TagInfos, :none,
|
|
1379
|
-
deprecate :TagInfos=, :none,
|
|
1377
|
+
deprecate :TagInfos, :none, 2026, 1
|
|
1378
|
+
deprecate :TagInfos=, :none, 2026, 1
|
|
1380
1379
|
|
|
1381
1380
|
def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
|
|
1382
1381
|
@ModelName = modelname
|
|
@@ -1653,19 +1652,21 @@ module TencentCloud
|
|
|
1653
1652
|
# @type HotwordList: String
|
|
1654
1653
|
# @param InputSampleRate: 支持pcm格式的8k音频在与引擎采样率不匹配的情况下升采样到16k后识别,能有效提升识别准确率。仅支持:8000。如:传入 8000 ,则pcm音频采样率为8k,当引擎选用16k_zh, 那么该8k采样率的pcm音频可以在16k_zh引擎下正常识别。 注:此参数仅适用于pcm格式音频,不传入值将维持默认状态,即默认调用的引擎采样率等于pcm音频采样率。
|
|
1655
1654
|
# @type InputSampleRate: Integer
|
|
1655
|
+
# @param ReplaceTextId: 替换词id。用于调用对应的替换词表。
|
|
1656
|
+
# @type ReplaceTextId: String
|
|
1656
1657
|
|
|
1657
|
-
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
|
1658
|
+
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate, :ReplaceTextId
|
|
1658
1659
|
extend Gem::Deprecate
|
|
1659
|
-
deprecate :ProjectId, :none,
|
|
1660
|
-
deprecate :ProjectId=, :none,
|
|
1661
|
-
deprecate :SubServiceType, :none,
|
|
1662
|
-
deprecate :SubServiceType=, :none,
|
|
1663
|
-
deprecate :UsrAudioKey, :none,
|
|
1664
|
-
deprecate :UsrAudioKey=, :none,
|
|
1665
|
-
deprecate :ReinforceHotword, :none,
|
|
1666
|
-
deprecate :ReinforceHotword=, :none,
|
|
1667
|
-
|
|
1668
|
-
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)
|
|
1660
|
+
deprecate :ProjectId, :none, 2026, 1
|
|
1661
|
+
deprecate :ProjectId=, :none, 2026, 1
|
|
1662
|
+
deprecate :SubServiceType, :none, 2026, 1
|
|
1663
|
+
deprecate :SubServiceType=, :none, 2026, 1
|
|
1664
|
+
deprecate :UsrAudioKey, :none, 2026, 1
|
|
1665
|
+
deprecate :UsrAudioKey=, :none, 2026, 1
|
|
1666
|
+
deprecate :ReinforceHotword, :none, 2026, 1
|
|
1667
|
+
deprecate :ReinforceHotword=, :none, 2026, 1
|
|
1668
|
+
|
|
1669
|
+
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, replacetextid=nil)
|
|
1669
1670
|
@EngSerViceType = engservicetype
|
|
1670
1671
|
@SourceType = sourcetype
|
|
1671
1672
|
@VoiceFormat = voiceformat
|
|
@@ -1685,6 +1686,7 @@ module TencentCloud
|
|
|
1685
1686
|
@ReinforceHotword = reinforcehotword
|
|
1686
1687
|
@HotwordList = hotwordlist
|
|
1687
1688
|
@InputSampleRate = inputsamplerate
|
|
1689
|
+
@ReplaceTextId = replacetextid
|
|
1688
1690
|
end
|
|
1689
1691
|
|
|
1690
1692
|
def deserialize(params)
|
|
@@ -1707,6 +1709,7 @@ module TencentCloud
|
|
|
1707
1709
|
@ReinforceHotword = params['ReinforceHotword']
|
|
1708
1710
|
@HotwordList = params['HotwordList']
|
|
1709
1711
|
@InputSampleRate = params['InputSampleRate']
|
|
1712
|
+
@ReplaceTextId = params['ReplaceTextId']
|
|
1710
1713
|
end
|
|
1711
1714
|
end
|
|
1712
1715
|
|
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.1201
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-asr.rb
|
|
37
|
-
- lib/v20190614/models.rb
|
|
38
37
|
- lib/v20190614/client.rb
|
|
38
|
+
- lib/v20190614/models.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|