tencentcloud-sdk-asr 1.0.278 → 1.0.279

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190614/models.rb +18 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 280da994e0e36b1d44a621d6f8ecbac4faea8f21
4
- data.tar.gz: df7a4130bd0d9d416b2560d9f3679ef1871d3950
3
+ metadata.gz: a43c7de70059822b382b1251325c92e1c0128aa8
4
+ data.tar.gz: 5831fd3cb3f83cf99fb0de844d5565617d0c5664
5
5
  SHA512:
6
- metadata.gz: 90cec3adb7b3744a6cef74ebfca6faab0ea1e1c2242634c7c327e4b02a60b1adb32f429a273b24c3836b9a42c5f1a9b1a22305f15030aafeafbac3a0fc43068c
7
- data.tar.gz: 5d9ec0671d839cb4e41406b164abbbad95f894968da43cb2bbf55578a61592b71007dec711dac431bcf5a555ce74ec608362a81e6559754a186fff3efd16894c
6
+ metadata.gz: 9f5a6aec414a0d8834a81a2e2d145c39b568124b07fd1cf8e7bbce54dda916e23feab5ed9c38429b35056f2a19d12979aca90b706caa2ed953c299862c4c4c30
7
+ data.tar.gz: a69e0377432d844dac9996a0ffd0ecf72072f50baa812d3c96483e1918801e8a1eb15afaf76df40dd2400616bef6863a88b6c31e3073f4d9ef94129866920692
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.278
1
+ 1.0.279
@@ -319,22 +319,24 @@ module TencentCloud
319
319
  # @type Data: String
320
320
  # @param DataLen: 数据长度,非必填(此数据长度为数据未进行base64编码时的数据长度)。
321
321
  # @type DataLen: Integer
322
- # @param HotwordId: 热词id。用于调用对应的热词表,如果在调用语音识别服务时,不进行单独的热词id设置,自动生效默认热词;如果进行了单独的热词id设置,那么将生效单独设置的热词id。
323
- # @type HotwordId: String
324
- # @param FilterDirty: 是否过滤脏词(目前支持中文普通话引擎)。0:不过滤脏词;1:过滤脏词;2:将脏词替换为 * 。默认值为 0。
325
- # @type FilterDirty: Integer
326
- # @param FilterModal: 是否过滤语气词(目前支持中文普通话引擎)。0:不过滤语气词;1:部分过滤;2:严格过滤 。默认值为 0。
327
- # @type FilterModal: Integer
328
322
  # @param ConvertNumMode: 是否进行阿拉伯数字智能转换(目前支持中文普通话引擎)。0:不转换,直接输出中文数字,1:根据场景智能转换为阿拉伯数字,3: 打开数学相关数字转换。默认值为 1。
329
323
  # @type ConvertNumMode: Integer
324
+ # @param FilterDirty: 是否过滤脏词(目前支持中文普通话引擎)。0:不过滤脏词;1:过滤脏词;2:将脏词替换为 * 。默认值为 0。
325
+ # @type FilterDirty: Integer
326
+ # @param HotwordId: 热词表id。如不设置该参数,自动生效默认热词表;如果设置了该参数,那么将生效对应的热词表。
327
+ # @type HotwordId: String
328
+ # @param CustomizationId: 自学习模型 id。如不设置该参数,自动生效最后一次上线的自学习模型;如果设置了该参数,那么将生效对应的自学习模型。
329
+ # @type CustomizationId: String
330
330
  # @param Extra: 附加参数(该参数无意义,忽略即可)
331
331
  # @type Extra: String
332
332
  # @param FilterPunc: 是否过滤标点符号(目前支持中文普通话引擎)。 0:不过滤,1:过滤句末标点,2:过滤所有标点。默认值为 0。
333
333
  # @type FilterPunc: Integer
334
+ # @param FilterModal: 是否过滤语气词(目前支持中文普通话引擎)。0:不过滤语气词;1:部分过滤;2:严格过滤 。默认值为 0。
335
+ # @type FilterModal: Integer
334
336
 
335
- attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :SpeakerDiarization, :SpeakerNumber, :CallbackUrl, :Url, :Data, :DataLen, :HotwordId, :FilterDirty, :FilterModal, :ConvertNumMode, :Extra, :FilterPunc
337
+ attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :SpeakerDiarization, :SpeakerNumber, :CallbackUrl, :Url, :Data, :DataLen, :ConvertNumMode, :FilterDirty, :HotwordId, :CustomizationId, :Extra, :FilterPunc, :FilterModal
336
338
 
337
- def initialize(enginemodeltype=nil, channelnum=nil, restextformat=nil, sourcetype=nil, speakerdiarization=nil, speakernumber=nil, callbackurl=nil, url=nil, data=nil, datalen=nil, hotwordid=nil, filterdirty=nil, filtermodal=nil, convertnummode=nil, extra=nil, filterpunc=nil)
339
+ def initialize(enginemodeltype=nil, channelnum=nil, restextformat=nil, sourcetype=nil, speakerdiarization=nil, speakernumber=nil, callbackurl=nil, url=nil, data=nil, datalen=nil, convertnummode=nil, filterdirty=nil, hotwordid=nil, customizationid=nil, extra=nil, filterpunc=nil, filtermodal=nil)
338
340
  @EngineModelType = enginemodeltype
339
341
  @ChannelNum = channelnum
340
342
  @ResTextFormat = restextformat
@@ -345,12 +347,13 @@ module TencentCloud
345
347
  @Url = url
346
348
  @Data = data
347
349
  @DataLen = datalen
348
- @HotwordId = hotwordid
349
- @FilterDirty = filterdirty
350
- @FilterModal = filtermodal
351
350
  @ConvertNumMode = convertnummode
351
+ @FilterDirty = filterdirty
352
+ @HotwordId = hotwordid
353
+ @CustomizationId = customizationid
352
354
  @Extra = extra
353
355
  @FilterPunc = filterpunc
356
+ @FilterModal = filtermodal
354
357
  end
355
358
 
356
359
  def deserialize(params)
@@ -364,12 +367,13 @@ module TencentCloud
364
367
  @Url = params['Url']
365
368
  @Data = params['Data']
366
369
  @DataLen = params['DataLen']
367
- @HotwordId = params['HotwordId']
368
- @FilterDirty = params['FilterDirty']
369
- @FilterModal = params['FilterModal']
370
370
  @ConvertNumMode = params['ConvertNumMode']
371
+ @FilterDirty = params['FilterDirty']
372
+ @HotwordId = params['HotwordId']
373
+ @CustomizationId = params['CustomizationId']
371
374
  @Extra = params['Extra']
372
375
  @FilterPunc = params['FilterPunc']
376
+ @FilterModal = params['FilterModal']
373
377
  end
374
378
  end
375
379
 
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: 1.0.278
4
+ version: 1.0.279
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-17 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common