tencentcloud-sdk-asr 3.0.713 → 3.0.715
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/client.rb +1 -1
- data/lib/v20190614/models.rb +9 -6
- 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: 946d6e85007f0c550e767870680ef0106013399c
|
4
|
+
data.tar.gz: e42cbb37d3f70631c2ae23d2f1cf0f013446b07e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98d3afd756761a8a125d006b73c73e7cfe8176d729fc52606d33d85a3fbbe4fa6b883b0d3a89f595f979e33e2b0a35bb4d47e1cd30939e3e38688c4991568eda
|
7
|
+
data.tar.gz: c3925663e50984b61355dded19076eac02b5c2bf1578e55c6d7baadcfc4cdaedfc30af2071ad334fbeab729b436d2f3c94c230567a692ec57df30d338fa87240
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.715
|
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
|
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.715
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|