tencentcloud-sdk-asr 3.0.624 → 3.0.625

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190614/models.rb +13 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7121f00f4cb181c820f1102b87d35ce70fb6f149
4
- data.tar.gz: 93f965cc87b13c1d7098fc1a29a5764b9e9f666d
3
+ metadata.gz: ffa9b005cbc8f74d4eb99fdf992e295cc7b85eda
4
+ data.tar.gz: 70267e2884f6a798b5fb0c803e031faf4b7b6bad
5
5
  SHA512:
6
- metadata.gz: 001742c4fe1c5c80e9cc6f5daff36c0eaf30724b45c8d6173295eef5ec623a01119f2663261f7eee19323829f50eed7dc690fe0a6f392f1b99d8658251ded48a
7
- data.tar.gz: 5ba5cf2086b20e4b53bf1a7be187f1ef32894207c5e317113957d44fcc547f8bcac13299bae6a048dab9e676d293afc246a74187a25c2153b7e48334828fbc2a
6
+ metadata.gz: 9dfa677a8283c0fa09d41e579d7b7219904d0c119eb235a13f9f79c37f61f0690ee4ce7f8a3632109c5db2b3c99f126a652ccb5917b9e93b5c94ffde7e8192b5
7
+ data.tar.gz: 1696bd66f773c9fd27b855fafd7bff93e3d2407a8e45d31d1bfd2e2b6cda76faf234b2cff0df465cc458e115143eb90724214b8f210b252bd653099f60a042f8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.624
1
+ 3.0.625
@@ -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: 临时热词:用于提升识别准确率,临时热词规则:“热词|权重”,热词不超过30个字符(最多10个汉字),权重1-10,最多传入128个热词。举例:"腾讯云|10,语音识别|5,ASR|10"。
1155
- # “临时热词”和“热词id”的区别:热词id需要先在控制台或通过接口创建热词表,得到热词表id后才可以使用热词功能,本字段可以在每次请求时直接传入热词使用,但每次请求后云端不会保留相关的热词数据,需要客户自行维护相关数据
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, 7
1163
- deprecate :ProjectId=, :none, 2023, 7
1164
- deprecate :SubServiceType, :none, 2023, 7
1165
- deprecate :SubServiceType=, :none, 2023, 7
1166
- deprecate :UsrAudioKey, :none, 2023, 7
1167
- deprecate :UsrAudioKey=, :none, 2023, 7
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.624
4
+ version: 3.0.625
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-07-31 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common