tencentcloud-sdk-asr 3.0.1056 → 3.0.1058
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 +6 -2
- 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: c10f858f5b05d4411425f4a11a2f1501a8d34c83
|
4
|
+
data.tar.gz: d5cd66b2a605ee98bc1f7a3387c143dea2bfc4f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d374b2b00fa1bf3319dc5098b7f83af8d95277504fa26fad3fe9d53ed2c9e895242fa07f2078e4757c54a415b532d11c814c0f8c0aead70baf91e21ef07b31b
|
7
|
+
data.tar.gz: 739f409ab3d1f7e719bb1d57a04dcd906730c0b3bb1b6727757e89bc859fe801be05695ae5ea33e15077f39ed4d6bbe8aa407ec71446541a84c239291402d9a8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1058
|
data/lib/v20190614/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.1058
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|