tencentcloud-sdk-asr 1.0.277 → 1.0.280

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: 437a3a782edc7650ef1ecc882881f4d3e30be107
4
- data.tar.gz: 2cde0d1f3191797fbf93a7229003d7fb7b103be6
3
+ metadata.gz: 50074592ebb8773cac29fda4c2fe64168af23478
4
+ data.tar.gz: d159ebbe6c7c34a1dbd8ca14b030c66f0982ea0c
5
5
  SHA512:
6
- metadata.gz: a5a5555841b29e24f07837da5133390702f77b31567fed7a610ca01723c95eff4e215afdf52d123304e5cf405c481a5f8a0593fc14391c1d1121a5ed6d902c3c
7
- data.tar.gz: 0789c886c8a959817708ef8b81ac0be5b2e59d2ac055a529f70eaca55770914f977292b726c570ef9bdbe2ec2320072ba744e7b925b19dccf49378c8ade3da4d
6
+ metadata.gz: d0bda5e173630d1dde7c9f79d6cd70fe56121d75d0d73787f702d5ac1ac0adcf6d8e2ee9fbb1edcd51b8bbdcd3f155f943673019af1ddba28acc76b4413c7e74
7
+ data.tar.gz: ba759f020ea8ccb9a58e7d642153f752294b9b0d169d1526219683e863fc894c5b4669ed2cf8e17b0e3bd334cbb09cc7f9c5c551f7ce27d3b20acc49e67cdade
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.277
1
+ 1.0.280
@@ -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.277
4
+ version: 1.0.280
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-16 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common