tencentcloud-sdk-asr 1.0.303 → 1.0.304
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 +1 -1
- 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: eda6735b59bedd0b7207615898a6f925f7f38cc0
|
|
4
|
+
data.tar.gz: be0c087c82c49f5716e7751721059c5da39606e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12299760bd07dc0c71319e1f4db9459587af5abf60e76775249eed209331ef9a79bf3121fa128e198934ec2362e709c9bd2d6e7d19381e7859ced7dca3744b07
|
|
7
|
+
data.tar.gz: 6a76640de008446f3c2517f2940d0665f02fcfa8fd17b114edd478f3fc0cc59568b8223cd49b7487eaa8e0364abc059df2fc5a3d08e6e45e1bd6eebac8c81567
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.304
|
data/lib/v20190614/client.rb
CHANGED
|
@@ -440,7 +440,7 @@ module TencentCloud
|
|
|
440
440
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
441
441
|
end
|
|
442
442
|
|
|
443
|
-
# 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、mp3;采样率建议8000Hz或者16000Hz;采样精度建议16bits;声道支持单声道。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
|
|
443
|
+
# 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac;采样率建议8000Hz或者16000Hz;采样精度建议16bits;声道支持单声道。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
|
|
444
444
|
|
|
445
445
|
# @param request: Request instance for SentenceRecognition.
|
|
446
446
|
# @type request: :class:`Tencentcloud::asr::V20190614::SentenceRecognitionRequest`
|
data/lib/v20190614/models.rb
CHANGED
|
@@ -1021,7 +1021,7 @@ module TencentCloud
|
|
|
1021
1021
|
# @type EngSerViceType: String
|
|
1022
1022
|
# @param SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
|
|
1023
1023
|
# @type SourceType: Integer
|
|
1024
|
-
# @param VoiceFormat:
|
|
1024
|
+
# @param VoiceFormat: 识别音频的音频格式,支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。
|
|
1025
1025
|
# @type VoiceFormat: String
|
|
1026
1026
|
# @param UsrAudioKey: 用户端对此任务的唯一标识,用户自助生成,用于用户查找识别结果。
|
|
1027
1027
|
# @type UsrAudioKey: String
|
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: 1.0.
|
|
4
|
+
version: 1.0.304
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|