tencentcloud-sdk-asr 3.0.1184 → 3.0.1192

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: 182a61e43aa111f27e93c531075aea02d2fe06d8
4
- data.tar.gz: 474059e7f927a31724cc8e0f5ae4326f24ddd43d
3
+ metadata.gz: 03375c81825b28125d30c48da4d062dfbade93b1
4
+ data.tar.gz: 0f4e074d1912e036ac9315932f72281db60fb6a3
5
5
  SHA512:
6
- metadata.gz: 977cb2d4e3566d45340174af95a0e92cc394c069c7cc72f3da5657c61d87bacabfa7f43bf3c1182ff1f3a3d21b677263d0332817c26d288548248f643fa92cb0
7
- data.tar.gz: 2cac0703665a4af4c1c47ffe38ac0ad3f1075eb8cdbdcaa6fdbafb5d19964b480e68288635be41409a3da3fa8eba83f6669412dd98be27d1d90a991ca4f02ac3
6
+ metadata.gz: 51f6f0c4dd0f16ded462b618eb6d692fa496780f2462d6f11f689ea2d0e8ca6b0043590f1dd5f8aeab4ec548b84dcd4f4ad02d11d850bbc0ea82eeed648f109c
7
+ data.tar.gz: 54ee41a1e97868c9cd0fccb4d64768225dfd54989a984c0b89143b394bc498793b2a20f12dae876428d541a7441658aae3785fa8bf18fe7c01ffb2f1e06c0e98
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1184
1
+ 3.0.1192
@@ -1653,8 +1653,10 @@ module TencentCloud
1653
1653
  # @type HotwordList: String
1654
1654
  # @param InputSampleRate: 支持pcm格式的8k音频在与引擎采样率不匹配的情况下升采样到16k后识别,能有效提升识别准确率。仅支持:8000。如:传入 8000 ,则pcm音频采样率为8k,当引擎选用16k_zh, 那么该8k采样率的pcm音频可以在16k_zh引擎下正常识别。 注:此参数仅适用于pcm格式音频,不传入值将维持默认状态,即默认调用的引擎采样率等于pcm音频采样率。
1655
1655
  # @type InputSampleRate: Integer
1656
+ # @param ReplaceTextId: 替换词id。用于调用对应的替换词表。
1657
+ # @type ReplaceTextId: String
1656
1658
 
1657
- attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
1659
+ attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate, :ReplaceTextId
1658
1660
  extend Gem::Deprecate
1659
1661
  deprecate :ProjectId, :none, 2025, 12
1660
1662
  deprecate :ProjectId=, :none, 2025, 12
@@ -1665,7 +1667,7 @@ module TencentCloud
1665
1667
  deprecate :ReinforceHotword, :none, 2025, 12
1666
1668
  deprecate :ReinforceHotword=, :none, 2025, 12
1667
1669
 
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)
1670
+ 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
1671
  @EngSerViceType = engservicetype
1670
1672
  @SourceType = sourcetype
1671
1673
  @VoiceFormat = voiceformat
@@ -1685,6 +1687,7 @@ module TencentCloud
1685
1687
  @ReinforceHotword = reinforcehotword
1686
1688
  @HotwordList = hotwordlist
1687
1689
  @InputSampleRate = inputsamplerate
1690
+ @ReplaceTextId = replacetextid
1688
1691
  end
1689
1692
 
1690
1693
  def deserialize(params)
@@ -1707,6 +1710,7 @@ module TencentCloud
1707
1710
  @ReinforceHotword = params['ReinforceHotword']
1708
1711
  @HotwordList = params['HotwordList']
1709
1712
  @InputSampleRate = params['InputSampleRate']
1713
+ @ReplaceTextId = params['ReplaceTextId']
1710
1714
  end
1711
1715
  end
1712
1716
 
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.1184
4
+ version: 3.0.1192
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-12-18 00:00:00.000000000 Z
11
+ date: 2025-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-asr.rb
37
- - lib/v20190614/models.rb
38
36
  - lib/v20190614/client.rb
37
+ - lib/v20190614/models.rb
38
+ - lib/tencentcloud-sdk-asr.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: