tencentcloud-sdk-asr 3.0.818 → 3.0.820
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 +19 -19
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3eafec00fa28741de83cf608a0a2d59a02685f6
|
4
|
+
data.tar.gz: 4714bc47056a42aebf092fb3d9afbfee3aa339b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5949898083c7480b240c69f98ecfb38dd3d53b3a17219e263f992830c9aa39b97349f272ece0247dbab133f59d114998a791ecc9f356ea37a33e90ac8304db8
|
7
|
+
data.tar.gz: e30fbe1a316bff62aef32bed35b9266f026d308f2845edcba47a07e43583938d0d3e83f60650aaf3bbc0a8727c1bea86d328cd59a205a3d1631f9b87d8b43d44
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.820
|
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.820
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-asr.rb
|
37
36
|
- lib/v20190614/client.rb
|
38
37
|
- lib/v20190614/models.rb
|
38
|
+
- lib/tencentcloud-sdk-asr.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|