tencentcloud-sdk-asr 3.0.713 → 3.0.714
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/client.rb +1 -1
- data/lib/v20190614/models.rb +9 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 847997e518f2f90cfeea32d9a73cf7145e14eadb
|
|
4
|
+
data.tar.gz: 803fcb766e127cccc23485e30290cfc60f426a61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b16528f1997a0c1be8a1640f431b9d6a3afc3b566c998e8b9e28cac6ec901484e2358b339b8957cbd36f842a5bf19103f32db25b914dea2861bade73cc2c286
|
|
7
|
+
data.tar.gz: 79ea40d9b1b8cd072e7390d9511609ac3abe75e3f1fbed3bf0446351cce3297e54879be69f3d36fa3a3e6b9d75d0638f4518fb361f78becdc500a5a7b562d9e5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.714
|
data/lib/v20190614/client.rb
CHANGED
|
@@ -465,7 +465,7 @@ module TencentCloud
|
|
|
465
465
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
466
466
|
end
|
|
467
467
|
|
|
468
|
-
# 本接口用于对60秒之内的短音频文件进行识别。<br>•
|
|
468
|
+
# 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
|
469
469
|
|
|
470
470
|
# @param request: Request instance for SentenceRecognition.
|
|
471
471
|
# @type request: :class:`Tencentcloud::asr::V20190614::SentenceRecognitionRequest`
|
data/lib/v20190614/models.rb
CHANGED
|
@@ -164,6 +164,7 @@ module TencentCloud
|
|
|
164
164
|
# • 16k_ar:阿拉伯语;
|
|
165
165
|
# • 16k_es:西班牙语;
|
|
166
166
|
# • 16k_hi:印地语;
|
|
167
|
+
# • 16k_fr:法语;
|
|
167
168
|
# @type EngineType: String
|
|
168
169
|
# @param Url: 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
|
|
169
170
|
# @type Url: String
|
|
@@ -317,6 +318,7 @@ module TencentCloud
|
|
|
317
318
|
# • 16k_ar:阿拉伯语;
|
|
318
319
|
# • 16k_es:西班牙语;
|
|
319
320
|
# • 16k_hi:印地语;
|
|
321
|
+
# • 16k_fr:法语;
|
|
320
322
|
# • 16k_zh_medical:中文医疗引擎
|
|
321
323
|
# @type EngineModelType: String
|
|
322
324
|
# @param ChannelNum: 识别声道数
|
|
@@ -1211,6 +1213,7 @@ module TencentCloud
|
|
|
1211
1213
|
# • 16k_ar:阿拉伯语;
|
|
1212
1214
|
# • 16k_es:西班牙语;
|
|
1213
1215
|
# • 16k_hi:印地语;
|
|
1216
|
+
# • 16k_fr:法语;
|
|
1214
1217
|
# • 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
1215
1218
|
# @type EngSerViceType: String
|
|
1216
1219
|
# @param SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
|
|
@@ -1260,12 +1263,12 @@ module TencentCloud
|
|
|
1260
1263
|
|
|
1261
1264
|
attr_accessor :EngSerViceType, :SourceType, :VoiceFormat, :ProjectId, :SubServiceType, :Url, :UsrAudioKey, :Data, :DataLen, :WordInfo, :FilterDirty, :FilterModal, :FilterPunc, :ConvertNumMode, :HotwordId, :CustomizationId, :ReinforceHotword, :HotwordList, :InputSampleRate
|
|
1262
1265
|
extend Gem::Deprecate
|
|
1263
|
-
deprecate :ProjectId, :none, 2023,
|
|
1264
|
-
deprecate :ProjectId=, :none, 2023,
|
|
1265
|
-
deprecate :SubServiceType, :none, 2023,
|
|
1266
|
-
deprecate :SubServiceType=, :none, 2023,
|
|
1267
|
-
deprecate :UsrAudioKey, :none, 2023,
|
|
1268
|
-
deprecate :UsrAudioKey=, :none, 2023,
|
|
1266
|
+
deprecate :ProjectId, :none, 2023, 11
|
|
1267
|
+
deprecate :ProjectId=, :none, 2023, 11
|
|
1268
|
+
deprecate :SubServiceType, :none, 2023, 11
|
|
1269
|
+
deprecate :SubServiceType=, :none, 2023, 11
|
|
1270
|
+
deprecate :UsrAudioKey, :none, 2023, 11
|
|
1271
|
+
deprecate :UsrAudioKey=, :none, 2023, 11
|
|
1269
1272
|
|
|
1270
1273
|
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)
|
|
1271
1274
|
@EngSerViceType = engservicetype
|