tencentcloud-sdk-vm 3.0.1178 → 3.0.1184
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/v20210922/models.rb +37 -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: ca7311c5d095c2684e75f5cc7fff124633f27b58
|
|
4
|
+
data.tar.gz: 8eaf7e252fee4893c7f5fad5b11e5671120600ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dabad4a6da845556efc09b9e2bcc7199450d5f4b257750605b8a1e4f90e2c2d1ae2df032ec36a226b2da144825bdcde50c37f690a9fe8c0d340b8966c758f486
|
|
7
|
+
data.tar.gz: cb8da3d33402be8d7483aa6b8f628e3b85677f246cfaf026be3ba4fa72195a934498b2278852108671ca1ad3b83c7d05ee015d42de5c1f131ccb95ef26df91ce
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1184
|
data/lib/v20210922/models.rb
CHANGED
|
@@ -58,10 +58,12 @@ module TencentCloud
|
|
|
58
58
|
# @type LabelResults: Array
|
|
59
59
|
# @param HitType: 审核命中类型
|
|
60
60
|
# @type HitType: String
|
|
61
|
+
# @param Sentences: ASR句子的起止时间
|
|
62
|
+
# @type Sentences: Array
|
|
61
63
|
|
|
62
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :TravelResults, :SubTag, :SubTagCode, :LabelResults, :HitType
|
|
64
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :TravelResults, :SubTag, :SubTagCode, :LabelResults, :HitType, :Sentences
|
|
63
65
|
|
|
64
|
-
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, labelresults=nil, hittype=nil)
|
|
66
|
+
def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, text=nil, url=nil, duration=nil, extra=nil, textresults=nil, moanresults=nil, languageresults=nil, sublabel=nil, recognitionresults=nil, speakerresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, labelresults=nil, hittype=nil, sentences=nil)
|
|
65
67
|
@HitFlag = hitflag
|
|
66
68
|
@Label = label
|
|
67
69
|
@Suggestion = suggestion
|
|
@@ -81,6 +83,7 @@ module TencentCloud
|
|
|
81
83
|
@SubTagCode = subtagcode
|
|
82
84
|
@LabelResults = labelresults
|
|
83
85
|
@HitType = hittype
|
|
86
|
+
@Sentences = sentences
|
|
84
87
|
end
|
|
85
88
|
|
|
86
89
|
def deserialize(params)
|
|
@@ -152,6 +155,14 @@ module TencentCloud
|
|
|
152
155
|
end
|
|
153
156
|
end
|
|
154
157
|
@HitType = params['HitType']
|
|
158
|
+
unless params['Sentences'].nil?
|
|
159
|
+
@Sentences = []
|
|
160
|
+
params['Sentences'].each do |i|
|
|
161
|
+
sentence_tmp = Sentence.new
|
|
162
|
+
sentence_tmp.deserialize(i)
|
|
163
|
+
@Sentences << sentence_tmp
|
|
164
|
+
end
|
|
165
|
+
end
|
|
155
166
|
end
|
|
156
167
|
end
|
|
157
168
|
|
|
@@ -1177,6 +1188,30 @@ module TencentCloud
|
|
|
1177
1188
|
end
|
|
1178
1189
|
end
|
|
1179
1190
|
|
|
1191
|
+
# ASR识别结果在音频中的起止时间
|
|
1192
|
+
class Sentence < TencentCloud::Common::AbstractModel
|
|
1193
|
+
# @param Text: ASR句子
|
|
1194
|
+
# @type Text: String
|
|
1195
|
+
# @param StartTime: 起始时间
|
|
1196
|
+
# @type StartTime: String
|
|
1197
|
+
# @param EndTime: 结束时间
|
|
1198
|
+
# @type EndTime: String
|
|
1199
|
+
|
|
1200
|
+
attr_accessor :Text, :StartTime, :EndTime
|
|
1201
|
+
|
|
1202
|
+
def initialize(text=nil, starttime=nil, endtime=nil)
|
|
1203
|
+
@Text = text
|
|
1204
|
+
@StartTime = starttime
|
|
1205
|
+
@EndTime = endtime
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1208
|
+
def deserialize(params)
|
|
1209
|
+
@Text = params['Text']
|
|
1210
|
+
@StartTime = params['StartTime']
|
|
1211
|
+
@EndTime = params['EndTime']
|
|
1212
|
+
end
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1180
1215
|
# 说话人结果
|
|
1181
1216
|
class SpeakerResult < TencentCloud::Common::AbstractModel
|
|
1182
1217
|
# @param Label: 标签
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-vm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1184
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|