tencentcloud-sdk-asr 1.0.219 → 1.0.220
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 +7 -2
- 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: 8747db9734e8895bf40a884b3bbbf1b789c34cce
|
|
4
|
+
data.tar.gz: 143798dde81054a41e0b2313afdade9d4097345c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85ab368f1c3b83c63c54f1d0755ba50fcec8fa100c7c69e5334ed6f5a961c7efa33d8bda3802955585d581921528689a651e18f25c8559ec4d1148f4a284e7e4
|
|
7
|
+
data.tar.gz: efd7c5d2e5a49f06341963e76cfba6756bd37ecbad29dc13608545caa3e0d8ee62118833e648c419e608cc3e0b823a3d8478aeec919246e77f5abce839324bcd
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.220
|
data/lib/v20190614/models.rb
CHANGED
|
@@ -1233,16 +1233,20 @@ module TencentCloud
|
|
|
1233
1233
|
# @param ResultDetail: 识别结果详情,包含每个句子中的词时间偏移,一般用于生成字幕的场景。(录音识别请求中ResTextFormat=1时该字段不为空)
|
|
1234
1234
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1235
1235
|
# @type ResultDetail: Array
|
|
1236
|
+
# @param AudioDuration: 音频时长(秒)。
|
|
1237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1238
|
+
# @type AudioDuration: Float
|
|
1236
1239
|
|
|
1237
|
-
attr_accessor :TaskId, :Status, :StatusStr, :Result, :ErrorMsg, :ResultDetail
|
|
1240
|
+
attr_accessor :TaskId, :Status, :StatusStr, :Result, :ErrorMsg, :ResultDetail, :AudioDuration
|
|
1238
1241
|
|
|
1239
|
-
def initialize(taskid=nil, status=nil, statusstr=nil, result=nil, errormsg=nil, resultdetail=nil)
|
|
1242
|
+
def initialize(taskid=nil, status=nil, statusstr=nil, result=nil, errormsg=nil, resultdetail=nil, audioduration=nil)
|
|
1240
1243
|
@TaskId = taskid
|
|
1241
1244
|
@Status = status
|
|
1242
1245
|
@StatusStr = statusstr
|
|
1243
1246
|
@Result = result
|
|
1244
1247
|
@ErrorMsg = errormsg
|
|
1245
1248
|
@ResultDetail = resultdetail
|
|
1249
|
+
@AudioDuration = audioduration
|
|
1246
1250
|
end
|
|
1247
1251
|
|
|
1248
1252
|
def deserialize(params)
|
|
@@ -1259,6 +1263,7 @@ module TencentCloud
|
|
|
1259
1263
|
@ResultDetail << sentencedetail_tmp
|
|
1260
1264
|
end
|
|
1261
1265
|
end
|
|
1266
|
+
@AudioDuration = params['AudioDuration']
|
|
1262
1267
|
end
|
|
1263
1268
|
end
|
|
1264
1269
|
|
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.220
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-12-
|
|
11
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|