tencentcloud-sdk-asr 3.0.1161 → 3.0.1179
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 +21 -21
- 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: 081a75541335e0863d2746f45309878db8e89298
|
|
4
|
+
data.tar.gz: 37076a6da3dc5dc65e39b5e251cf5d7b02471251
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cf4c3f853458d52a95ce7c53c60d1f1b5747d57535add6f198eee10abdb110497d3a6cb50e15e8c289fcb54e07f0116f7f3225a5240d2b64e8797ee2a8fb03f
|
|
7
|
+
data.tar.gz: 91719b55a4e8e074239f556c115eacba1d001aa9c16634854db0533a0b0c9c6adfcfb58238b2c15d1eecc2a1472cc986bb691a671df0318d2296cdc0cf6d6cef
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1179
|
data/lib/v20190614/models.rb
CHANGED
|
@@ -305,8 +305,8 @@ module TencentCloud
|
|
|
305
305
|
|
|
306
306
|
attr_accessor :ModelName, :TextUrl, :ModelType, :TagInfos
|
|
307
307
|
extend Gem::Deprecate
|
|
308
|
-
deprecate :TagInfos, :none, 2025,
|
|
309
|
-
deprecate :TagInfos=, :none, 2025,
|
|
308
|
+
deprecate :TagInfos, :none, 2025, 12
|
|
309
|
+
deprecate :TagInfos=, :none, 2025, 12
|
|
310
310
|
|
|
311
311
|
def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
|
|
312
312
|
@ModelName = modelname
|
|
@@ -352,13 +352,13 @@ module TencentCloud
|
|
|
352
352
|
# **注意:电话通讯场景,请务必使用以下8k引擎**
|
|
353
353
|
# • 8k_zh:中文电话通讯;
|
|
354
354
|
# • 8k_en:英文电话通讯;
|
|
355
|
-
# • 8k_zh_large
|
|
355
|
+
# • 8k_zh_large:中文电话场景专用大模型引擎【大模型版】。当前模型同时支持中文、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话、闽南语、客家话、粤语、南宁话方言识别,通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;
|
|
356
356
|
|
|
357
357
|
# 注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**
|
|
358
358
|
|
|
359
359
|
# 通用场景引擎:
|
|
360
360
|
# **注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
|
|
361
|
-
# • **16k_zh_en**:中英粤+
|
|
361
|
+
# • **16k_zh_en**:中英粤+9种方言大模型引擎【大模型版】。当前模型同时支持中文、英语、粤语、四川、陕西、河南、上海、湖南、湖北、安徽、闽南和潮汕方言识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;
|
|
362
362
|
# • **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
|
|
363
363
|
# • **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);
|
|
364
364
|
# • **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
|
|
@@ -432,7 +432,7 @@ module TencentCloud
|
|
|
432
432
|
# @type CallbackUrl: String
|
|
433
433
|
# @param SpeakerDiarization: 是否开启说话人分离
|
|
434
434
|
# 0:不开启;
|
|
435
|
-
# 1:开启(仅支持以下引擎:8k_zh/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/16k_zh_dialect/16k_zh_en,且ChannelNum=1时可用);
|
|
435
|
+
# 1:开启(仅支持以下引擎:8k_zh/8k_zh_large/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/16k_zh_dialect/16k_zh_en,且ChannelNum=1时可用);
|
|
436
436
|
# 默认值为 0
|
|
437
437
|
|
|
438
438
|
# 注意:
|
|
@@ -540,8 +540,8 @@ module TencentCloud
|
|
|
540
540
|
|
|
541
541
|
attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :Data, :DataLen, :Url, :CallbackUrl, :SpeakerDiarization, :SpeakerNumber, :HotwordId, :ReinforceHotword, :CustomizationId, :EmotionRecognition, :EmotionalEnergy, :ConvertNumMode, :FilterDirty, :FilterPunc, :FilterModal, :SentenceMaxLength, :Extra, :HotwordList, :KeyWordLibIdList, :ReplaceTextId
|
|
542
542
|
extend Gem::Deprecate
|
|
543
|
-
deprecate :ReinforceHotword, :none, 2025,
|
|
544
|
-
deprecate :ReinforceHotword=, :none, 2025,
|
|
543
|
+
deprecate :ReinforceHotword, :none, 2025, 12
|
|
544
|
+
deprecate :ReinforceHotword=, :none, 2025, 12
|
|
545
545
|
|
|
546
546
|
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, hotwordlist=nil, keywordlibidlist=nil, replacetextid=nil)
|
|
547
547
|
@EngineModelType = enginemodeltype
|
|
@@ -931,8 +931,8 @@ module TencentCloud
|
|
|
931
931
|
|
|
932
932
|
attr_accessor :TagInfos, :Offset, :Limit
|
|
933
933
|
extend Gem::Deprecate
|
|
934
|
-
deprecate :TagInfos, :none, 2025,
|
|
935
|
-
deprecate :TagInfos=, :none, 2025,
|
|
934
|
+
deprecate :TagInfos, :none, 2025, 12
|
|
935
|
+
deprecate :TagInfos=, :none, 2025, 12
|
|
936
936
|
|
|
937
937
|
def initialize(taginfos=nil, offset=nil, limit=nil)
|
|
938
938
|
@TagInfos = taginfos
|
|
@@ -1056,8 +1056,8 @@ module TencentCloud
|
|
|
1056
1056
|
|
|
1057
1057
|
attr_accessor :TagInfos, :Limit, :Offset
|
|
1058
1058
|
extend Gem::Deprecate
|
|
1059
|
-
deprecate :TagInfos, :none, 2025,
|
|
1060
|
-
deprecate :TagInfos=, :none, 2025,
|
|
1059
|
+
deprecate :TagInfos, :none, 2025, 12
|
|
1060
|
+
deprecate :TagInfos=, :none, 2025, 12
|
|
1061
1061
|
|
|
1062
1062
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
|
1063
1063
|
@TagInfos = taginfos
|
|
@@ -1357,8 +1357,8 @@ module TencentCloud
|
|
|
1357
1357
|
|
|
1358
1358
|
attr_accessor :ModelName, :DictName, :ModelId, :ModelType, :ServiceType, :ModelState, :AtUpdated, :TagInfos
|
|
1359
1359
|
extend Gem::Deprecate
|
|
1360
|
-
deprecate :TagInfos, :none, 2025,
|
|
1361
|
-
deprecate :TagInfos=, :none, 2025,
|
|
1360
|
+
deprecate :TagInfos, :none, 2025, 12
|
|
1361
|
+
deprecate :TagInfos=, :none, 2025, 12
|
|
1362
1362
|
|
|
1363
1363
|
def initialize(modelname=nil, dictname=nil, modelid=nil, modeltype=nil, servicetype=nil, modelstate=nil, atupdated=nil, taginfos=nil)
|
|
1364
1364
|
@ModelName = modelname
|
|
@@ -1638,14 +1638,14 @@ module TencentCloud
|
|
|
1638
1638
|
|
|
1639
1639
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
|
1640
1640
|
extend Gem::Deprecate
|
|
1641
|
-
deprecate :ProjectId, :none, 2025,
|
|
1642
|
-
deprecate :ProjectId=, :none, 2025,
|
|
1643
|
-
deprecate :SubServiceType, :none, 2025,
|
|
1644
|
-
deprecate :SubServiceType=, :none, 2025,
|
|
1645
|
-
deprecate :UsrAudioKey, :none, 2025,
|
|
1646
|
-
deprecate :UsrAudioKey=, :none, 2025,
|
|
1647
|
-
deprecate :ReinforceHotword, :none, 2025,
|
|
1648
|
-
deprecate :ReinforceHotword=, :none, 2025,
|
|
1641
|
+
deprecate :ProjectId, :none, 2025, 12
|
|
1642
|
+
deprecate :ProjectId=, :none, 2025, 12
|
|
1643
|
+
deprecate :SubServiceType, :none, 2025, 12
|
|
1644
|
+
deprecate :SubServiceType=, :none, 2025, 12
|
|
1645
|
+
deprecate :UsrAudioKey, :none, 2025, 12
|
|
1646
|
+
deprecate :UsrAudioKey=, :none, 2025, 12
|
|
1647
|
+
deprecate :ReinforceHotword, :none, 2025, 12
|
|
1648
|
+
deprecate :ReinforceHotword=, :none, 2025, 12
|
|
1649
1649
|
|
|
1650
1650
|
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)
|
|
1651
1651
|
@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.1179
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-asr.rb
|
|
37
|
-
- lib/v20190614/client.rb
|
|
38
37
|
- lib/v20190614/models.rb
|
|
38
|
+
- lib/v20190614/client.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|