tencentcloud-sdk-asr 3.0.819 → 3.0.821
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 +19 -19
- 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: dba1b3103bdfe06660665bfb216838734ace57b2
|
4
|
+
data.tar.gz: 7199e7fc1a7a3cd71cd95076d49b79629b65afcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651ed79d02971390efe1331d527e8616037a91798ca27ad453e6789206553573ff339f22081dd494112db7a878203024d26a24d950d96da9bd2241ff44fecb92
|
7
|
+
data.tar.gz: 6a8ff17e550259220e81101bd69d092101d5bcc507f6db27cf5a0c5fdb98c9e9adcc92e0b9000dd4912649046c873e1a296fa1f3872980bc74d87a2479c09a25
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.821
|
data/lib/v20190614/models.rb
CHANGED
@@ -257,8 +257,8 @@ module TencentCloud
|
|
257
257
|
|
258
258
|
attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
|
259
259
|
extend Gem::Deprecate
|
260
|
-
deprecate :TagInfos, :none, 2024,
|
261
|
-
deprecate :TagInfos=, :none, 2024,
|
260
|
+
deprecate :TagInfos, :none, 2024, 5
|
261
|
+
deprecate :TagInfos=, :none, 2024, 5
|
262
262
|
|
263
263
|
def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
|
264
264
|
@ModelName = modelname
|
@@ -421,31 +421,31 @@ module TencentCloud
|
|
421
421
|
# 1:开启;
|
422
422
|
# 默认值为0
|
423
423
|
# @type EmotionalEnergy: Integer
|
424
|
-
# @param ConvertNumMode:
|
424
|
+
# @param ConvertNumMode: 阿拉伯数字智能转换(目前支持中文普通话引擎)
|
425
425
|
# 0:不转换,直接输出中文数字;
|
426
426
|
# 1:根据场景智能转换为阿拉伯数字;
|
427
427
|
# 3:打开数学相关数字转换(如:阿尔法转写为α);
|
428
428
|
# 默认值为 1
|
429
429
|
# @type ConvertNumMode: Integer
|
430
|
-
# @param FilterDirty:
|
430
|
+
# @param FilterDirty: 脏词过滤(目前支持中文普通话引擎)
|
431
431
|
# 0:不过滤脏词;
|
432
432
|
# 1:过滤脏词;
|
433
433
|
# 2:将脏词替换为 * ;
|
434
434
|
# 默认值为 0
|
435
435
|
# @type FilterDirty: Integer
|
436
|
-
# @param FilterPunc:
|
436
|
+
# @param FilterPunc: 标点符号过滤(目前支持中文普通话引擎)
|
437
437
|
# 0:不过滤标点;
|
438
438
|
# 1:过滤句末标点;
|
439
439
|
# 2:过滤所有标点;
|
440
440
|
# 默认值为 0
|
441
441
|
# @type FilterPunc: Integer
|
442
|
-
# @param FilterModal:
|
442
|
+
# @param FilterModal: 语气词过滤(目前支持中文普通话引擎)
|
443
443
|
# 0:不过滤语气词;
|
444
444
|
# 1:过滤部分语气词;
|
445
445
|
# 2:严格过滤语气词;
|
446
446
|
# 默认值为 0
|
447
447
|
# @type FilterModal: Integer
|
448
|
-
# @param SentenceMaxLength:
|
448
|
+
# @param SentenceMaxLength: 单标点最多字数(目前支持中文普通话引擎)
|
449
449
|
# **可控制单行字幕最大字数,适用于字幕生成场景**,取值范围:[6,40]
|
450
450
|
# 0:不开启该功能;
|
451
451
|
# 默认值为0
|
@@ -457,8 +457,8 @@ module TencentCloud
|
|
457
457
|
|
458
458
|
attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :Data, :DataLen, :Url, :CallbackUrl, :SpeakerDiarization, :SpeakerNumber, :HotwordId, :ReinforceHotword, :CustomizationId, :EmotionRecognition, :EmotionalEnergy, :ConvertNumMode, :FilterDirty, :FilterPunc, :FilterModal, :SentenceMaxLength, :Extra
|
459
459
|
extend Gem::Deprecate
|
460
|
-
deprecate :ReinforceHotword, :none, 2024,
|
461
|
-
deprecate :ReinforceHotword=, :none, 2024,
|
460
|
+
deprecate :ReinforceHotword, :none, 2024, 5
|
461
|
+
deprecate :ReinforceHotword=, :none, 2024, 5
|
462
462
|
|
463
463
|
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)
|
464
464
|
@EngineModelType = enginemodeltype
|
@@ -879,8 +879,8 @@ module TencentCloud
|
|
879
879
|
|
880
880
|
attr_accessor :TagInfos, :Limit, :Offset
|
881
881
|
extend Gem::Deprecate
|
882
|
-
deprecate :TagInfos, :none, 2024,
|
883
|
-
deprecate :TagInfos=, :none, 2024,
|
882
|
+
deprecate :TagInfos, :none, 2024, 5
|
883
|
+
deprecate :TagInfos=, :none, 2024, 5
|
884
884
|
|
885
885
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
886
886
|
@TagInfos = taginfos
|
@@ -1280,14 +1280,14 @@ module TencentCloud
|
|
1280
1280
|
|
1281
1281
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
1282
1282
|
extend Gem::Deprecate
|
1283
|
-
deprecate :ProjectId, :none, 2024,
|
1284
|
-
deprecate :ProjectId=, :none, 2024,
|
1285
|
-
deprecate :SubServiceType, :none, 2024,
|
1286
|
-
deprecate :SubServiceType=, :none, 2024,
|
1287
|
-
deprecate :UsrAudioKey, :none, 2024,
|
1288
|
-
deprecate :UsrAudioKey=, :none, 2024,
|
1289
|
-
deprecate :ReinforceHotword, :none, 2024,
|
1290
|
-
deprecate :ReinforceHotword=, :none, 2024,
|
1283
|
+
deprecate :ProjectId, :none, 2024, 5
|
1284
|
+
deprecate :ProjectId=, :none, 2024, 5
|
1285
|
+
deprecate :SubServiceType, :none, 2024, 5
|
1286
|
+
deprecate :SubServiceType=, :none, 2024, 5
|
1287
|
+
deprecate :UsrAudioKey, :none, 2024, 5
|
1288
|
+
deprecate :UsrAudioKey=, :none, 2024, 5
|
1289
|
+
deprecate :ReinforceHotword, :none, 2024, 5
|
1290
|
+
deprecate :ReinforceHotword=, :none, 2024, 5
|
1291
1291
|
|
1292
1292
|
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)
|
1293
1293
|
@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.821
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|