tencentcloud-sdk-ams 3.0.1169 → 3.0.1189
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/v20201229/models.rb +43 -4
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9470a2c032cbe6e864a04353c3270c93f28137ac
|
|
4
|
+
data.tar.gz: d843648d0caf2eaf7ab5ce7c99404beccf6556e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1595c706b65f02740ed014bcfc790d7d692206fc62984839453feb76af6c118dd11e9260c760ab1781500aff8247595f0710644b3ed079d361db0a73b4baa6b7
|
|
7
|
+
data.tar.gz: 800b5b8f71d0bcdb7a8d4a725db68ea488f44d169b0bf224b3022e0a0201fa07292cfbe4eeb1affea87410cf4e62187213cdcc9fb3de602b39fceec19956a56a
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1189
|
data/lib/v20201229/models.rb
CHANGED
|
@@ -58,10 +58,14 @@ module TencentCloud
|
|
|
58
58
|
# @type SubTagCode: String
|
|
59
59
|
# @param HitType: 审核检测类型
|
|
60
60
|
# @type HitType: String
|
|
61
|
+
# @param Sentences: ASR句子的起止时间
|
|
62
|
+
# @type Sentences: Array
|
|
63
|
+
# @param RequestId: 切片请求ID
|
|
64
|
+
# @type RequestId: String
|
|
61
65
|
|
|
62
|
-
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :LabelResults, :TravelResults, :SubTag, :SubTagCode, :HitType
|
|
66
|
+
attr_accessor :HitFlag, :Label, :Suggestion, :Score, :Text, :Url, :Duration, :Extra, :TextResults, :MoanResults, :LanguageResults, :SubLabel, :RecognitionResults, :SpeakerResults, :LabelResults, :TravelResults, :SubTag, :SubTagCode, :HitType, :Sentences, :RequestId
|
|
63
67
|
|
|
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, labelresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, hittype=nil)
|
|
68
|
+
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, labelresults=nil, travelresults=nil, subtag=nil, subtagcode=nil, hittype=nil, sentences=nil, requestid=nil)
|
|
65
69
|
@HitFlag = hitflag
|
|
66
70
|
@Label = label
|
|
67
71
|
@Suggestion = suggestion
|
|
@@ -81,6 +85,8 @@ module TencentCloud
|
|
|
81
85
|
@SubTag = subtag
|
|
82
86
|
@SubTagCode = subtagcode
|
|
83
87
|
@HitType = hittype
|
|
88
|
+
@Sentences = sentences
|
|
89
|
+
@RequestId = requestid
|
|
84
90
|
end
|
|
85
91
|
|
|
86
92
|
def deserialize(params)
|
|
@@ -152,6 +158,15 @@ module TencentCloud
|
|
|
152
158
|
@SubTag = params['SubTag']
|
|
153
159
|
@SubTagCode = params['SubTagCode']
|
|
154
160
|
@HitType = params['HitType']
|
|
161
|
+
unless params['Sentences'].nil?
|
|
162
|
+
@Sentences = []
|
|
163
|
+
params['Sentences'].each do |i|
|
|
164
|
+
sentence_tmp = Sentence.new
|
|
165
|
+
sentence_tmp.deserialize(i)
|
|
166
|
+
@Sentences << sentence_tmp
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
@RequestId = params['RequestId']
|
|
155
170
|
end
|
|
156
171
|
end
|
|
157
172
|
|
|
@@ -206,8 +221,8 @@ module TencentCloud
|
|
|
206
221
|
|
|
207
222
|
attr_accessor :Label, :Score, :StartTime, :EndTime, :SubLabelCode, :SubLabel, :Suggestion
|
|
208
223
|
extend Gem::Deprecate
|
|
209
|
-
deprecate :SubLabelCode, :none, 2025,
|
|
210
|
-
deprecate :SubLabelCode=, :none, 2025,
|
|
224
|
+
deprecate :SubLabelCode, :none, 2025, 12
|
|
225
|
+
deprecate :SubLabelCode=, :none, 2025, 12
|
|
211
226
|
|
|
212
227
|
def initialize(label=nil, score=nil, starttime=nil, endtime=nil, sublabelcode=nil, sublabel=nil, suggestion=nil)
|
|
213
228
|
@Label = label
|
|
@@ -1054,6 +1069,30 @@ module TencentCloud
|
|
|
1054
1069
|
end
|
|
1055
1070
|
end
|
|
1056
1071
|
|
|
1072
|
+
# ASR识别结果在音频中的起止时间
|
|
1073
|
+
class Sentence < TencentCloud::Common::AbstractModel
|
|
1074
|
+
# @param Text: ASR句子
|
|
1075
|
+
# @type Text: String
|
|
1076
|
+
# @param StartTime: 起始时间
|
|
1077
|
+
# @type StartTime: String
|
|
1078
|
+
# @param EndTime: 结束时间
|
|
1079
|
+
# @type EndTime: String
|
|
1080
|
+
|
|
1081
|
+
attr_accessor :Text, :StartTime, :EndTime
|
|
1082
|
+
|
|
1083
|
+
def initialize(text=nil, starttime=nil, endtime=nil)
|
|
1084
|
+
@Text = text
|
|
1085
|
+
@StartTime = starttime
|
|
1086
|
+
@EndTime = endtime
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
def deserialize(params)
|
|
1090
|
+
@Text = params['Text']
|
|
1091
|
+
@StartTime = params['StartTime']
|
|
1092
|
+
@EndTime = params['EndTime']
|
|
1093
|
+
end
|
|
1094
|
+
end
|
|
1095
|
+
|
|
1057
1096
|
# 说话人结果
|
|
1058
1097
|
class SpeakerResults < TencentCloud::Common::AbstractModel
|
|
1059
1098
|
# @param Label: 标签
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-ams
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1189
|
|
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-
|
|
11
|
+
date: 2025-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,10 +34,10 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-ams.rb
|
|
37
|
-
- lib/v20201229/client.rb
|
|
38
|
-
- lib/v20201229/models.rb
|
|
39
37
|
- lib/v20200608/client.rb
|
|
40
38
|
- lib/v20200608/models.rb
|
|
39
|
+
- lib/v20201229/client.rb
|
|
40
|
+
- lib/v20201229/models.rb
|
|
41
41
|
- lib/VERSION
|
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
43
43
|
licenses:
|