tencentcloud-sdk-asr 3.0.624 → 3.0.626
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190614/models.rb +13 -8
- 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: e7f6f009be8ee40d2fe021ef5636902f93c6abd5
|
4
|
+
data.tar.gz: ce97415fe13ad112904bf359f35d14b108352fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe83ac5828c38762e32df3eedc4109ab2723c6e2904feca71bbc3bf069f32929972e6136f2b7111eb067bddde8fc61f142148c3c76c8c0eaf27ecb47d116c26
|
7
|
+
data.tar.gz: e483501aa744a181bf70656d0dc5c0d7edfa04de75370d1ca2db0e6b7450957bae02ca4007432b2f4fa9d20fb4cd44993d15bd43566f863aaf77da7a1b143705
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.626
|
data/lib/v20190614/models.rb
CHANGED
@@ -1151,20 +1151,25 @@ module TencentCloud
|
|
1151
1151
|
# @type CustomizationId: String
|
1152
1152
|
# @param ReinforceHotword: 热词增强功能。1:开启后(仅支持8k_zh,16k_zh),将开启同音替换功能,同音字、词在热词中配置。举例:热词配置“蜜制”并开启增强功能后,与“蜜制”同拼音(mizhi)的“秘制”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。
|
1153
1153
|
# @type ReinforceHotword: Integer
|
1154
|
-
# @param HotwordList:
|
1155
|
-
#
|
1154
|
+
# @param HotwordList: 临时热词表,该参数用于提升热词识别准确率。
|
1155
|
+
# 单个热词规则:"热词|权重",不超过30个字符(最多10个汉字),权重1-10;
|
1156
|
+
# 临时热词表限制:多个热词用英文逗号分割,最多128个热词,参数示例:"腾讯云|10,语音识别|5,ASR|10";
|
1157
|
+
# 参数 hotword_list 与 hotword_id 区别:
|
1158
|
+
# hotword_id:需要先在控制台或接口创建热词表,获得对应hotword_id传入参数来使用热词功能;
|
1159
|
+
# hotword_list:每次请求时直接传入临时热词表来使用热词功能,云端不保留临时热词表;
|
1160
|
+
# 注意:如果同时传入了 hotword_id 和 hotword_list,会优先使用 hotword_list。
|
1156
1161
|
# @type HotwordList: String
|
1157
1162
|
# @param InputSampleRate: 支持pcm格式的8k音频在与引擎采样率不匹配的情况下升采样到16k后识别,能有效提升识别准确率。仅支持:8000。如:传入 8000 ,则pcm音频采样率为8k,当引擎选用16k_zh, 那么该8k采样率的pcm音频可以在16k_zh引擎下正常识别。 注:此参数仅适用于pcm格式音频,不传入值将维持默认状态,即默认调用的引擎采样率等于pcm音频采样率。
|
1158
1163
|
# @type InputSampleRate: Integer
|
1159
1164
|
|
1160
1165
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
1161
1166
|
extend Gem::Deprecate
|
1162
|
-
deprecate :ProjectId, :none, 2023,
|
1163
|
-
deprecate :ProjectId=, :none, 2023,
|
1164
|
-
deprecate :SubServiceType, :none, 2023,
|
1165
|
-
deprecate :SubServiceType=, :none, 2023,
|
1166
|
-
deprecate :UsrAudioKey, :none, 2023,
|
1167
|
-
deprecate :UsrAudioKey=, :none, 2023,
|
1167
|
+
deprecate :ProjectId, :none, 2023, 8
|
1168
|
+
deprecate :ProjectId=, :none, 2023, 8
|
1169
|
+
deprecate :SubServiceType, :none, 2023, 8
|
1170
|
+
deprecate :SubServiceType=, :none, 2023, 8
|
1171
|
+
deprecate :UsrAudioKey, :none, 2023, 8
|
1172
|
+
deprecate :UsrAudioKey=, :none, 2023, 8
|
1168
1173
|
|
1169
1174
|
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)
|
1170
1175
|
@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.626
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|