tencentcloud-sdk-soe 3.0.444 → 3.0.445
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/v20180724/models.rb +35 -32
- 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: 94f5cde9310664ca9393c8f53c51a36ccff152d2
|
|
4
|
+
data.tar.gz: 216a68c1aafa8a7969164a8e2b4acd36ed3e42b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c50318e8f89827811372f8637541268b28f047a88f2cd2f5b1f5fb2e74adac08a4777b37d525fc9dc7dd54194dcaabc46147cfe31bcd5799c150ce445c1a9c9c
|
|
7
|
+
data.tar.gz: f2f6b8ce3cf129423597244d19e3d5aeee3935f4321a79cde2633daed72ed55fb037b3b1efd9ef65861f6a620fbeb1ccfcc33fc19ab951d89d69c813421610c6
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.445
|
data/lib/v20180724/models.rb
CHANGED
|
@@ -45,9 +45,9 @@ module TencentCloud
|
|
|
45
45
|
# @type EvalMode: Integer
|
|
46
46
|
# @param ScoreCoeff: 评价苛刻指数。取值为[1.0 - 4.0]范围内的浮点数,用于平滑不同年龄段的分数。
|
|
47
47
|
# 1.0:适用于最小年龄段用户,一般对应儿童应用场景;
|
|
48
|
-
# 4.0
|
|
48
|
+
# 4.0:适用于最高年龄段用户,一般对应成人严格打分场景。苛刻度影响范围参考:[苛刻度影响范围](https://cloud.tencent.com/document/product/884/78824#.E8.8B.9B.E5.88.BB.E5.BA.A6)
|
|
49
49
|
# @type ScoreCoeff: Float
|
|
50
|
-
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
50
|
+
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
51
51
|
# @type SoeAppId: String
|
|
52
52
|
# @param IsLongLifeSession: 长效session标识,当该参数为1时,session的持续时间为300s,但会一定程度上影响第一个数据包的返回速度,且TransmitOralProcess必须同时为1才可生效。
|
|
53
53
|
# @type IsLongLifeSession: Integer
|
|
@@ -60,9 +60,8 @@ module TencentCloud
|
|
|
60
60
|
# 可以在评估过程中的分片传输请求中,返回已经评估断句的中间结果,中间结果可用于客户端 UI 更新,输出结果为TransmitOralProcess请求返回结果 SentenceInfoSet 字段。
|
|
61
61
|
# @type SentenceInfoEnabled: Integer
|
|
62
62
|
# @param ServerType: 评估语言
|
|
63
|
-
# 0
|
|
63
|
+
# 0:英文(默认)
|
|
64
64
|
# 1:中文
|
|
65
|
-
# ServerType不填默认为0
|
|
66
65
|
# @type ServerType: Integer
|
|
67
66
|
# @param IsAsync: 异步模式标识
|
|
68
67
|
# 0:同步模式
|
|
@@ -72,7 +71,6 @@ module TencentCloud
|
|
|
72
71
|
# @param TextMode: 输入文本模式
|
|
73
72
|
# 0: 普通文本
|
|
74
73
|
# 1:[音素结构](https://cloud.tencent.com/document/product/884/33698)文本
|
|
75
|
-
# 2:音素注册模式(提工单注册需要使用音素的单词)。
|
|
76
74
|
# @type TextMode: Integer
|
|
77
75
|
# @param Keyword: 主题词和关键词
|
|
78
76
|
# @type Keyword: String
|
|
@@ -167,28 +165,30 @@ module TencentCloud
|
|
|
167
165
|
|
|
168
166
|
# KeywordEvaluate请求参数结构体
|
|
169
167
|
class KeywordEvaluateRequest < TencentCloud::Common::AbstractModel
|
|
170
|
-
# @param SeqId: 流式数据包的序号,从1开始,当IsEnd字段为1
|
|
168
|
+
# @param SeqId: 流式数据包的序号,从1开始,当IsEnd字段为1后后续序号无意义,非流式模式时无意义。
|
|
171
169
|
# 注意:序号上限为3000,不能超过上限。
|
|
172
170
|
# @type SeqId: Integer
|
|
173
171
|
# @param IsEnd: 是否传输完毕标志,若为0表示未完毕,若为1则传输完毕开始评估,非流式模式下无意义。
|
|
174
172
|
# @type IsEnd: Integer
|
|
175
173
|
# @param VoiceFileType: 语音文件类型
|
|
176
|
-
# 1: raw
|
|
174
|
+
# 1: raw/pcm
|
|
177
175
|
# 2: wav
|
|
178
176
|
# 3: mp3
|
|
179
177
|
# 4: speex
|
|
180
|
-
#
|
|
178
|
+
# [音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
181
179
|
# @type VoiceFileType: Integer
|
|
182
180
|
# @param VoiceEncodeType: 语音编码类型
|
|
183
181
|
# 1:pcm
|
|
184
182
|
# @type VoiceEncodeType: Integer
|
|
185
|
-
# @param UserVoiceData:
|
|
183
|
+
# @param UserVoiceData: 当前语音数据, 编码格式要求为BASE64且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数)。格式要求参考[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
184
|
+
# 流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
|
185
|
+
# 如何进行流式分片参考:[流式评测](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
|
186
186
|
# @type UserVoiceData: String
|
|
187
187
|
# @param SessionId: 语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId。一般使用uuid(通用唯一识别码)来作为它的值,要尽量保证SessionId的唯一性。
|
|
188
188
|
# @type SessionId: String
|
|
189
189
|
# @param Keywords: 关键词列表
|
|
190
190
|
# @type Keywords: Array
|
|
191
|
-
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
191
|
+
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
192
192
|
# @type SoeAppId: String
|
|
193
193
|
# @param IsQuery: 查询标识,当该参数为1时,该请求为查询请求,请求返回该 Session 评估结果。
|
|
194
194
|
# @type IsQuery: Integer
|
|
@@ -415,21 +415,22 @@ module TencentCloud
|
|
|
415
415
|
# @type SeqId: Integer
|
|
416
416
|
# @param IsEnd: 是否传输完毕标志,若为0表示未完毕,若为1则传输完毕开始评估,非流式模式下无意义。
|
|
417
417
|
# @type IsEnd: Integer
|
|
418
|
-
# @param VoiceFileType:
|
|
419
|
-
# 1: raw
|
|
418
|
+
# @param VoiceFileType: 1: raw/pcm
|
|
420
419
|
# 2: wav
|
|
421
420
|
# 3: mp3
|
|
422
421
|
# 4: speex
|
|
423
|
-
#
|
|
422
|
+
# [音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
424
423
|
# @type VoiceFileType: Integer
|
|
425
424
|
# @param VoiceEncodeType: 语音编码类型
|
|
426
425
|
# 1:pcm
|
|
427
426
|
# @type VoiceEncodeType: Integer
|
|
428
|
-
# @param UserVoiceData:
|
|
427
|
+
# @param UserVoiceData: 当前语音数据, 编码格式要求为BASE64且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数)。格式要求参考[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
428
|
+
# 流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
|
429
|
+
# 如何进行流式分片参考:[流式评测](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
|
429
430
|
# @type UserVoiceData: String
|
|
430
431
|
# @param SessionId: 语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId。一般使用uuid(通用唯一识别码)来作为它的值,要尽量保证SessionId的唯一性。
|
|
431
432
|
# @type SessionId: String
|
|
432
|
-
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
433
|
+
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
433
434
|
# @type SoeAppId: String
|
|
434
435
|
# @param IsLongLifeSession: 长效session标识,当该参数为1时,session的持续时间为300s,但会一定程度上影响第一个数据包的返回速度。当InitOralProcess接口调用时此项为1时,此项必填1才可生效。
|
|
435
436
|
# @type IsLongLifeSession: Integer
|
|
@@ -467,15 +468,15 @@ module TencentCloud
|
|
|
467
468
|
class TransmitOralProcessResponse < TencentCloud::Common::AbstractModel
|
|
468
469
|
# @param PronAccuracy: 发音精准度,取值范围[-1, 100],当取-1时指完全不匹配,当为句子模式时,是所有已识别单词准确度的加权平均值,在reftext中但未识别出来的词不计入分数中。当为流式模式且请求中IsEnd未置1时,取值无意义。
|
|
469
470
|
# @type PronAccuracy: Float
|
|
470
|
-
# @param PronFluency: 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1
|
|
471
|
+
# @param PronFluency: 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
471
472
|
# @type PronFluency: Float
|
|
472
|
-
# @param PronCompletion: 发音完整度,取值范围[0, 1]
|
|
473
|
+
# @param PronCompletion: 发音完整度,取值范围[0, 1],当为词模式或自由说模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
473
474
|
# @type PronCompletion: Float
|
|
474
475
|
# @param Words: 详细发音评估结果
|
|
475
476
|
# @type Words: Array
|
|
476
477
|
# @param SessionId: 语音段唯一标识,一段语音一个SessionId
|
|
477
478
|
# @type SessionId: String
|
|
478
|
-
# @param AudioUrl:
|
|
479
|
+
# @param AudioUrl: 已废弃,不再保存语音音频文件下载地址
|
|
479
480
|
# @type AudioUrl: String
|
|
480
481
|
# @param SentenceInfoSet: 断句中间结果,中间结果是局部最优而非全局最优的结果,所以中间结果有可能和最终整体结果对应部分不一致;中间结果的输出便于客户端UI更新;待用户发音完全结束后,系统会给出一个综合所有句子的整体结果。
|
|
481
482
|
# @type SentenceInfoSet: Array
|
|
@@ -552,16 +553,19 @@ module TencentCloud
|
|
|
552
553
|
# @param IsEnd: 是否传输完毕标志,若为0表示未完毕,若为1则传输完毕开始评估,非流式模式下无意义。
|
|
553
554
|
# @type IsEnd: Integer
|
|
554
555
|
# @param VoiceFileType: 语音文件类型
|
|
555
|
-
# 1: raw
|
|
556
|
+
# 1: raw/pcm
|
|
556
557
|
# 2: wav
|
|
557
558
|
# 3: mp3
|
|
558
559
|
# 4: speex
|
|
559
560
|
# 语音文件格式目前仅支持 16k 采样率 16bit 编码单声道,如有不一致可能导致评估不准确或失败。
|
|
561
|
+
# [音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
560
562
|
# @type VoiceFileType: Integer
|
|
561
563
|
# @param VoiceEncodeType: 语音编码类型
|
|
562
564
|
# 1:pcm
|
|
563
565
|
# @type VoiceEncodeType: Integer
|
|
564
|
-
# @param UserVoiceData:
|
|
566
|
+
# @param UserVoiceData: 当前语音数据, 编码格式要求为BASE64且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数)。格式要求参考[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
567
|
+
# 流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
|
568
|
+
# 如何进行流式分片参考:[流式测试](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
|
565
569
|
# @type UserVoiceData: String
|
|
566
570
|
# @param SessionId: 语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId。一般使用uuid(通用唯一识别码)来作为它的值,要尽量保证SessionId的唯一性。
|
|
567
571
|
# @type SessionId: String
|
|
@@ -590,33 +594,32 @@ module TencentCloud
|
|
|
590
594
|
# @param ScoreCoeff: 评价苛刻指数。取值为[1.0 - 4.0]范围内的浮点数,用于平滑不同年龄段的分数。
|
|
591
595
|
# 1.0:适用于最小年龄段用户,一般对应儿童应用场景;
|
|
592
596
|
# 4.0:适用于最高年龄段用户,一般对应成人严格打分场景。
|
|
597
|
+
# 苛刻度影响范围参考:[苛刻度影响范围](https://cloud.tencent.com/document/product/884/78824#.E8.8B.9B.E5.88.BB.E5.BA.A6)
|
|
593
598
|
# @type ScoreCoeff: Float
|
|
594
|
-
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
599
|
+
# @param SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
595
600
|
# @type SoeAppId: String
|
|
596
601
|
# @param StorageMode: 音频存储模式,此参数已废弃,无需设置,设置与否都默认为0不存储;
|
|
597
602
|
# 注:有存储需求的用户建议自行存储至腾讯云COS[对象存储](https://cloud.tencent.com/product/cos)使用。
|
|
598
603
|
# @type StorageMode: Integer
|
|
599
604
|
# @param SentenceInfoEnabled: 输出断句中间结果标识
|
|
600
|
-
# 0
|
|
605
|
+
# 0:不输出(默认)
|
|
601
606
|
# 1:输出,通过设置该参数
|
|
602
|
-
# 可以在评估过程中的分片传输请求中,返回已经评估断句的中间结果,中间结果可用于客户端 UI 更新,输出结果为
|
|
607
|
+
# 可以在评估过程中的分片传输请求中,返回已经评估断句的中间结果,中间结果可用于客户端 UI 更新,输出结果为TransmitOralProcessWithInit请求返回结果 SentenceInfoSet 字段。
|
|
603
608
|
# @type SentenceInfoEnabled: Integer
|
|
604
609
|
# @param ServerType: 评估语言
|
|
605
|
-
# 0
|
|
610
|
+
# 0:英文(默认)
|
|
606
611
|
# 1:中文
|
|
607
|
-
# ServerType不填默认为0
|
|
608
612
|
# @type ServerType: Integer
|
|
609
613
|
# @param IsAsync: 异步模式标识
|
|
610
|
-
# 0
|
|
611
|
-
# 1
|
|
614
|
+
# 0:同步模式(默认)
|
|
615
|
+
# 1:异步模式(一般情况不建议使用异步模式,如需使用参考:[异步轮询](https://cloud.tencent.com/document/product/884/78824#.E7.BB.93.E6.9E.9C.E6.9F.A5.E8.AF.A2))
|
|
612
616
|
# 可选值参考[服务模式](https://cloud.tencent.com/document/product/884/33697)。
|
|
613
617
|
# @type IsAsync: Integer
|
|
614
618
|
# @param IsQuery: 查询标识,当该参数为1时,该请求为查询请求,请求返回该 Session 评估结果。
|
|
615
619
|
# @type IsQuery: Integer
|
|
616
620
|
# @param TextMode: 输入文本模式
|
|
617
|
-
# 0:
|
|
621
|
+
# 0: 普通文本(默认)
|
|
618
622
|
# 1:[音素结构](https://cloud.tencent.com/document/product/884/33698)文本
|
|
619
|
-
# 2:音素注册模式(提工单注册需要使用音素的单词)。
|
|
620
623
|
# @type TextMode: Integer
|
|
621
624
|
# @param Keyword: 主题词和关键词
|
|
622
625
|
# @type Keyword: String
|
|
@@ -670,15 +673,15 @@ module TencentCloud
|
|
|
670
673
|
class TransmitOralProcessWithInitResponse < TencentCloud::Common::AbstractModel
|
|
671
674
|
# @param PronAccuracy: 发音精准度,取值范围[-1, 100],当取-1时指完全不匹配,当为句子模式时,是所有已识别单词准确度的加权平均值,在reftext中但未识别出来的词不计入分数中。当为流式模式且请求中IsEnd未置1时,取值无意义。
|
|
672
675
|
# @type PronAccuracy: Float
|
|
673
|
-
# @param PronFluency: 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1
|
|
676
|
+
# @param PronFluency: 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
674
677
|
# @type PronFluency: Float
|
|
675
|
-
# @param PronCompletion: 发音完整度,取值范围[0, 1]
|
|
678
|
+
# @param PronCompletion: 发音完整度,取值范围[0, 1],当为词模式或自由说模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
676
679
|
# @type PronCompletion: Float
|
|
677
680
|
# @param Words: 详细发音评估结果
|
|
678
681
|
# @type Words: Array
|
|
679
682
|
# @param SessionId: 语音段唯一标识,一段语音一个SessionId
|
|
680
683
|
# @type SessionId: String
|
|
681
|
-
# @param AudioUrl:
|
|
684
|
+
# @param AudioUrl: 已废弃,不再保存语音音频文件下载地址
|
|
682
685
|
# @type AudioUrl: String
|
|
683
686
|
# @param SentenceInfoSet: 断句中间结果,中间结果是局部最优而非全局最优的结果,所以中间结果有可能和最终整体结果对应部分不一致;中间结果的输出便于客户端UI更新;待用户发音完全结束后,系统会给出一个综合所有句子的整体结果。
|
|
684
687
|
# @type SentenceInfoSet: Array
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-soe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.445
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-11-
|
|
11
|
+
date: 2022-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|