tencentcloud-sdk-asr 3.0.664 → 3.0.666

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 +18 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fb9c4d1541ac238e2b29575e728311ea11ad18d
4
- data.tar.gz: 46707c154da0acd4532fd83aaa68cb6020219685
3
+ metadata.gz: 40258acdddec72100a1ab83cf590ff3f92ce22ce
4
+ data.tar.gz: a21e5092ff2c78ac5f9a50b081e74b309174406e
5
5
  SHA512:
6
- metadata.gz: 97b0b6e944e019f6bd45650d653a2c1dd3e91f039eadf457c279ba663fb48262c43b1aa5d62f4990356ddedd2a0856b608d09af0592eba71ba25cc5c3460e335
7
- data.tar.gz: e21b944796fcfb62e0a7f42b3537d1329072887b84348af05f36894330f4bb0ec90032fdf713b4c596eb083f147e8694abe03c7ebddf1122d0e8c1ddd421bbc0
6
+ metadata.gz: 77b889c0b60cb1cfd8e70c953c07fe7a97d229d7bb8ebd3a95e668f40fe794181add806d22ee2f9e96665cc916e9c76b37126613cf9dfd291fb047e727560c11
7
+ data.tar.gz: 98b70bc438a5d0d5cd34926cd5417e4cc51f49cbe2bb2df146e27170d256ac7a50f3dc68bc315c0b0c9c14d0f869109fbbb5fec0e07037a74f9c95b92c9de285
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.664
1
+ 3.0.666
@@ -17,7 +17,7 @@
17
17
  module TencentCloud
18
18
  module Asr
19
19
  module V20190614
20
- # 音频流异步识别任务信息
20
+ # [音频流异步识别](https://cloud.tencent.com/document/api/1093/37824#AsyncRecognitionTasks)任务信息
21
21
  class AsyncRecognitionTaskInfo < TencentCloud::Common::AbstractModel
22
22
  # @param TaskId: 任务ID
23
23
  # @type TaskId: Integer
@@ -37,7 +37,7 @@ module TencentCloud
37
37
  end
38
38
  end
39
39
 
40
- # 音频流异步识别任务列表
40
+ # [音频流异步识别任务列表](https://cloud.tencent.com/document/product/1093/52060#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
41
41
  class AsyncRecognitionTasks < TencentCloud::Common::AbstractModel
42
42
  # @param Tasks: 任务列表
43
43
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -946,7 +946,7 @@ module TencentCloud
946
946
  end
947
947
  end
948
948
 
949
- # 热词的词和权重
949
+ # [热词的词和权重](https://cloud.tencent.com/document/product/1093/41111#2.-.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0)
950
950
  class HotWord < TencentCloud::Common::AbstractModel
951
951
  # @param Word: 热词
952
952
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -968,7 +968,7 @@ module TencentCloud
968
968
  end
969
969
  end
970
970
 
971
- # 自学习模型信息
971
+ # [自学习模型信息](https://cloud.tencent.com/document/product/1093/90813#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
972
972
  class Model < TencentCloud::Common::AbstractModel
973
973
  # @param ModelName: 模型名称
974
974
  # @type ModelName: String
@@ -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']
@@ -1342,7 +1347,7 @@ module TencentCloud
1342
1347
  end
1343
1348
  end
1344
1349
 
1345
- # 一句话识别返回的词时间戳
1350
+ # [一句话识别](https://cloud.tencent.com/document/product/1093/35646#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)返回的词时间戳
1346
1351
  class SentenceWord < TencentCloud::Common::AbstractModel
1347
1352
  # @param Word: 词结果
1348
1353
  # @type Word: String
@@ -1433,7 +1438,7 @@ module TencentCloud
1433
1438
  end
1434
1439
  end
1435
1440
 
1436
- # 录音文件识别、实时语音异步识别请求的返回数据
1441
+ # [录音文件识别](https://cloud.tencent.com/document/product/1093/37823#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)、[实时语音异步识别](https://cloud.tencent.com/document/product/1093/52061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)请求的返回数据
1437
1442
  class Task < TencentCloud::Common::AbstractModel
1438
1443
  # @param TaskId: 任务ID,可通过此ID在轮询接口获取识别状态与结果。注意:TaskId数据类型为uint64
1439
1444
  # @type TaskId: Integer
@@ -1449,7 +1454,7 @@ module TencentCloud
1449
1454
  end
1450
1455
  end
1451
1456
 
1452
- # 获取录音识别结果的返回参数
1457
+ # [获取录音识别结果的返回参数](https://cloud.tencent.com/document/product/1093/37822#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
1453
1458
  class TaskStatus < TencentCloud::Common::AbstractModel
1454
1459
  # @param TaskId: 任务标识。注意:TaskId数据类型为uint64。
1455
1460
  # @type TaskId: Integer
@@ -1558,7 +1563,7 @@ module TencentCloud
1558
1563
  end
1559
1564
  end
1560
1565
 
1561
- # 词表内容
1566
+ # [词表内容](https://cloud.tencent.com/document/product/1093/41484#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
1562
1567
  class Vocab < TencentCloud::Common::AbstractModel
1563
1568
  # @param Name: 热词表名称
1564
1569
  # @type Name: String
@@ -1610,7 +1615,7 @@ module TencentCloud
1610
1615
  end
1611
1616
  end
1612
1617
 
1613
- # 说话人基础数据,包括说话人id和说话人昵称
1618
+ # [说话人基础数据](https://cloud.tencent.com/document/product/1093/94483#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0),包括说话人id和说话人昵称
1614
1619
  class VoicePrintBaseData < TencentCloud::Common::AbstractModel
1615
1620
  # @param VoicePrintId: 说话人id
1616
1621
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -1632,7 +1637,7 @@ module TencentCloud
1632
1637
  end
1633
1638
  end
1634
1639
 
1635
- # 统计返回注册数量结构
1640
+ # 统计返回[说话人注册数量](https://cloud.tencent.com/document/product/1093/96061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
1636
1641
  class VoicePrintCountData < TencentCloud::Common::AbstractModel
1637
1642
  # @param Total: 总数
1638
1643
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -1828,7 +1833,7 @@ module TencentCloud
1828
1833
  end
1829
1834
  end
1830
1835
 
1831
- # 说话人验证数据
1836
+ # [说话人验证数据](https://cloud.tencent.com/document/product/1093/94481#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
1832
1837
  class VoicePrintVerifyData < TencentCloud::Common::AbstractModel
1833
1838
  # @param VoicePrintId: 说话人id
1834
1839
  # 注意:此字段可能返回 null,表示取不到有效值。
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.664
4
+ version: 3.0.666
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-21 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common