tencentcloud-sdk-asr 3.0.663 → 3.0.665

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190614/models.rb +12 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2691ec19613e5281a5b0f4ff2c0eb915f1a123ce
4
- data.tar.gz: e9477641336c83186f6c618ee7d380b709d82f6e
3
+ metadata.gz: 2dfe2d1e6bbc8fda6d1a82f16c8ed72f194ab161
4
+ data.tar.gz: bf3575f30a5157b31710d3fcb5fecf99f9512807
5
5
  SHA512:
6
- metadata.gz: a132bc3a28fa9e5a0355b3536361a7b63d5adae15c13511d2c07d8b3aa0f6ecc50bef61f2f8ee4c26c2c9bc0804a47ce9124f3a09e911a15daa5164038db876d
7
- data.tar.gz: fd5c1609c73144acaccd1b526a42a366eec426d17721cb88d0933f8aa02bef20a302cb53ddd81be93c1092c2a80a069614a506be781193e8bcaab5f631d20b84
6
+ metadata.gz: 7304016fa07ea28faacc6463986bc180b23474e6dc054c6282377550aef6a125930660540b3502bb7416fae987d5fb5ec9779e18805cef51b805d0169fabd3a5
7
+ data.tar.gz: ff5b2f86715445b8508e00f796fc9a3531cf05681f5515b7c7b228af7d672398167dcbbf72734e37995549328ceb87880b4ba6b1c1d7c147909887278f244694
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.663
1
+ 3.0.665
@@ -335,18 +335,18 @@ module TencentCloud
335
335
 
336
336
  # 注意:如果传入参数值4,需确保账号已购买[语义分段资源包](https://cloud.tencent.com/document/product/1093/35686#97ae4aa0-29a0-4066-9f07-ccaf8856a16b),或账号开启后付费;**若当前账号已开启后付费功能,并传入参数值4,将[自动计费](https://cloud.tencent.com/document/product/1093/35686#d912167d-ffd5-41a9-8b1c-2e89845a6852))**
337
337
  # @type ResTextFormat: Integer
338
- # @param SourceType: 语音数据来源
339
- # 0:语音 URL;
340
- # 1:语音数据(post body)
338
+ # @param SourceType: 音频数据来源
339
+ # 0:音频URL;
340
+ # 1:音频数据(post body)
341
341
  # @type SourceType: Integer
342
- # @param Data: 语音数据base64编码
342
+ # @param Data: 音频数据base64编码
343
343
  # **当 SourceType 值为 1 时须填写该字段,为 0 时不需要填写**
344
344
 
345
345
  # 注意:音频数据要小于5MB(含)
346
346
  # @type Data: String
347
347
  # @param DataLen: 数据长度(此数据长度为数据未进行base64编码时的长度)
348
348
  # @type DataLen: Integer
349
- # @param Url: 语音URL的地址(需要公网环境浏览器可下载)
349
+ # @param Url: 音频URL的地址(需要公网环境浏览器可下载)
350
350
  # **当 SourceType 值为 0 时须填写该字段,为 1 时不需要填写**
351
351
 
352
352
  # 注意:
@@ -1111,6 +1111,9 @@ module TencentCloud
1111
1111
  # @param SliceSentence: 单句中间识别结果,使用空格拆分为多个词
1112
1112
  # 注意:此字段可能返回 null,表示取不到有效值。
1113
1113
  # @type SliceSentence: String
1114
+ # @param WrittenText: 口语转书面语结果,开启改功能才有值
1115
+ # 注意:此字段可能返回 null,表示取不到有效值。
1116
+ # @type WrittenText: String
1114
1117
  # @param StartMs: 单句开始时间(毫秒)
1115
1118
  # 注意:此字段可能返回 null,表示取不到有效值。
1116
1119
  # @type StartMs: Integer
@@ -1139,11 +1142,12 @@ module TencentCloud
1139
1142
  # 注意:此字段可能返回 null,表示取不到有效值。
1140
1143
  # @type EmotionType: Array
1141
1144
 
1142
- attr_accessor :FinalSentence, :SliceSentence, :StartMs, :EndMs, :WordsNum, :Words, :SpeechSpeed, :SpeakerId, :EmotionalEnergy, :SilenceTime, :EmotionType
1145
+ attr_accessor :FinalSentence, :SliceSentence, :WrittenText, :StartMs, :EndMs, :WordsNum, :Words, :SpeechSpeed, :SpeakerId, :EmotionalEnergy, :SilenceTime, :EmotionType
1143
1146
 
1144
- def initialize(finalsentence=nil, slicesentence=nil, startms=nil, endms=nil, wordsnum=nil, words=nil, speechspeed=nil, speakerid=nil, emotionalenergy=nil, silencetime=nil, emotiontype=nil)
1147
+ def initialize(finalsentence=nil, slicesentence=nil, writtentext=nil, startms=nil, endms=nil, wordsnum=nil, words=nil, speechspeed=nil, speakerid=nil, emotionalenergy=nil, silencetime=nil, emotiontype=nil)
1145
1148
  @FinalSentence = finalsentence
1146
1149
  @SliceSentence = slicesentence
1150
+ @WrittenText = writtentext
1147
1151
  @StartMs = startms
1148
1152
  @EndMs = endms
1149
1153
  @WordsNum = wordsnum
@@ -1158,6 +1162,7 @@ module TencentCloud
1158
1162
  def deserialize(params)
1159
1163
  @FinalSentence = params['FinalSentence']
1160
1164
  @SliceSentence = params['SliceSentence']
1165
+ @WrittenText = params['WrittenText']
1161
1166
  @StartMs = params['StartMs']
1162
1167
  @EndMs = params['EndMs']
1163
1168
  @WordsNum = params['WordsNum']
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.663
4
+ version: 3.0.665
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-09-20 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common