tencentcloud-sdk-asr 3.0.1056 → 3.0.1057

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: a67a3599b89cf26f88d1b96d5d700494109ee83c
4
- data.tar.gz: b388bbc78bca30c69b7b25bf5fd4c97812566573
3
+ metadata.gz: 66868f3771115289e005510ce4faf16c8b310e7b
4
+ data.tar.gz: 96c7e5e7dbceb59108823f79d9a328e4e4f094fb
5
5
  SHA512:
6
- metadata.gz: 8ee11fedcfbf21f59c8084d790686f6d610bcc05c8567fff68d75f238e42c4f7c89db365268a2ee0412b8134f610ec9b721991ab485768a7122efd7176b873c6
7
- data.tar.gz: 68a73ee8459cae30cfa7f6c4e0c4999f0d44cdc78e904e6e35a18c96769670e5e423dee00f495b04f3dde7c1d4af7597fe3973e7a951b52bcc5ee5343b036f80
6
+ metadata.gz: 3e5cfcde811e14c054380a8b412c4c2cedf66b53210bb8619d86babdd2d9401d83a3c9020de7d2c7846e1c995a8966ecb61c4937146d4d1b45e748c25e7eb5e2
7
+ data.tar.gz: 63bbeaeecca4aee4c1d6178c250b9194f8ffa298ad7be696aeabd3eb04531bbeb7d4df75e0ad5dce1764d385bb8e02b1e1b4fa095f18181d1985bf0bf6863236
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1056
1
+ 3.0.1057
@@ -531,13 +531,15 @@ module TencentCloud
531
531
  # @type HotwordList: String
532
532
  # @param KeyWordLibIdList: 关键词识别ID列表,默认空为不进行识别,最多10个
533
533
  # @type KeyWordLibIdList: Array
534
+ # @param ReplaceTextId: 替换词汇表id, 适用于热词和自学习场景也无法解决的极端case词组, 会对识别结果强制替换。具体可参考[配置控制台](https://console.cloud.tencent.com/asr/replaceword);强制替换功能可能会影响正常识别结果,请谨慎使用
535
+ # @type ReplaceTextId: String
534
536
 
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
537
+ 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
536
538
  extend Gem::Deprecate
537
539
  deprecate :ReinforceHotword, :none, 2025, 5
538
540
  deprecate :ReinforceHotword=, :none, 2025, 5
539
541
 
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)
542
+ 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)
541
543
  @EngineModelType = enginemodeltype
542
544
  @ChannelNum = channelnum
543
545
  @ResTextFormat = restextformat
@@ -561,6 +563,7 @@ module TencentCloud
561
563
  @Extra = extra
562
564
  @HotwordList = hotwordlist
563
565
  @KeyWordLibIdList = keywordlibidlist
566
+ @ReplaceTextId = replacetextid
564
567
  end
565
568
 
566
569
  def deserialize(params)
@@ -587,6 +590,7 @@ module TencentCloud
587
590
  @Extra = params['Extra']
588
591
  @HotwordList = params['HotwordList']
589
592
  @KeyWordLibIdList = params['KeyWordLibIdList']
593
+ @ReplaceTextId = params['ReplaceTextId']
590
594
  end
591
595
  end
592
596
 
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.1056
4
+ version: 3.0.1057
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 00:00:00.000000000 Z
11
+ date: 2025-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common