tencentcloud-sdk-asr 3.0.837 → 3.0.838
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 +18 -16
- 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: b8dd8df0efe8213d5aee4572a5e25ce1c59388d6
|
|
4
|
+
data.tar.gz: 05373f02507497a50353c0bbb25a4660706cae60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 334a6fc0bca013ba6f95c5d9d5af28f20527f82b171ac0e9357beec17b61bf0b5b2fec2a0353bdfdd7c46afcea03ad3097a9d6387d55260d1fddfdce1d8baedd
|
|
7
|
+
data.tar.gz: ad59e15899e25addb5eb50935b92157463cb0a1f131598dc5f7601394beddf91d48dd2013b3d48505b11953382cd8e235ac3f21697a32b026cf45822c7d2c5de
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.838
|
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, 6
|
|
261
|
+
deprecate :TagInfos=, :none, 2024, 6
|
|
262
262
|
|
|
263
263
|
def initialize(modelname=nil, texturl=nil, modeltype=nil, taginfos=nil)
|
|
264
264
|
@ModelName = modelname
|
|
@@ -304,12 +304,14 @@ module TencentCloud
|
|
|
304
304
|
# **注意:电话通讯场景,请务必使用以下8k引擎**
|
|
305
305
|
# • 8k_zh:中文电话通讯;
|
|
306
306
|
# • 8k_en:英文电话通讯;
|
|
307
|
-
#
|
|
307
|
+
# • **8k_zh_large:**普方大模型引擎【大模型版】。当前模型同时支持中文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型版本的识别效果;
|
|
308
|
+
|
|
309
|
+
# 注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**
|
|
308
310
|
|
|
309
311
|
# 通用场景引擎:
|
|
310
312
|
# **注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
|
|
311
313
|
# • **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
|
|
312
|
-
# • **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)
|
|
314
|
+
# • **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
|
|
313
315
|
# • **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
314
316
|
# • **16k_en:**英语;
|
|
315
317
|
# • **16k_yue:**粤语;
|
|
@@ -457,8 +459,8 @@ module TencentCloud
|
|
|
457
459
|
|
|
458
460
|
attr_accessor :EngineModelType, :ChannelNum, :ResTextFormat, :SourceType, :Data, :DataLen, :Url, :CallbackUrl, :SpeakerDiarization, :SpeakerNumber, :HotwordId, :ReinforceHotword, :CustomizationId, :EmotionRecognition, :EmotionalEnergy, :ConvertNumMode, :FilterDirty, :FilterPunc, :FilterModal, :SentenceMaxLength, :Extra
|
|
459
461
|
extend Gem::Deprecate
|
|
460
|
-
deprecate :ReinforceHotword, :none, 2024,
|
|
461
|
-
deprecate :ReinforceHotword=, :none, 2024,
|
|
462
|
+
deprecate :ReinforceHotword, :none, 2024, 6
|
|
463
|
+
deprecate :ReinforceHotword=, :none, 2024, 6
|
|
462
464
|
|
|
463
465
|
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
466
|
@EngineModelType = enginemodeltype
|
|
@@ -879,8 +881,8 @@ module TencentCloud
|
|
|
879
881
|
|
|
880
882
|
attr_accessor :TagInfos, :Limit, :Offset
|
|
881
883
|
extend Gem::Deprecate
|
|
882
|
-
deprecate :TagInfos, :none, 2024,
|
|
883
|
-
deprecate :TagInfos=, :none, 2024,
|
|
884
|
+
deprecate :TagInfos, :none, 2024, 6
|
|
885
|
+
deprecate :TagInfos=, :none, 2024, 6
|
|
884
886
|
|
|
885
887
|
def initialize(taginfos=nil, limit=nil, offset=nil)
|
|
886
888
|
@TagInfos = taginfos
|
|
@@ -1280,14 +1282,14 @@ module TencentCloud
|
|
|
1280
1282
|
|
|
1281
1283
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
|
1282
1284
|
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,
|
|
1285
|
+
deprecate :ProjectId, :none, 2024, 6
|
|
1286
|
+
deprecate :ProjectId=, :none, 2024, 6
|
|
1287
|
+
deprecate :SubServiceType, :none, 2024, 6
|
|
1288
|
+
deprecate :SubServiceType=, :none, 2024, 6
|
|
1289
|
+
deprecate :UsrAudioKey, :none, 2024, 6
|
|
1290
|
+
deprecate :UsrAudioKey=, :none, 2024, 6
|
|
1291
|
+
deprecate :ReinforceHotword, :none, 2024, 6
|
|
1292
|
+
deprecate :ReinforceHotword=, :none, 2024, 6
|
|
1291
1293
|
|
|
1292
1294
|
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
1295
|
@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.838
|
|
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-06-
|
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|