tencentcloud-sdk-soe 3.0.607 → 3.0.609
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 +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: 6ecee49ca1941208c462d0df742a9e3235165ff2
|
4
|
+
data.tar.gz: a9102cfc4d6b6a2e54783dae54239331e5217eb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27362240e635150d6ee5ee15885b1969e0f517e45b7c88dbac74c291b6896ba04cda2dcf9f01de993418a73604b7e95d7ca717bd26b5cd101638ea79c8348462
|
7
|
+
data.tar.gz: 3d9476b5fe80685e95675a0ba3f0d6c0aa59cf78122c8ebffe1e3c93cd6dec63c9f2a5952d3b40998dc14eaad80cba0e88029f371d76eb646169dceadf4c6a50
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.609
|
data/lib/v20180724/models.rb
CHANGED
@@ -408,6 +408,33 @@ module TencentCloud
|
|
408
408
|
end
|
409
409
|
end
|
410
410
|
|
411
|
+
# 中文声调检测结果
|
412
|
+
class Tone < TencentCloud::Common::AbstractModel
|
413
|
+
# @param Valid: 检测结果是否有效
|
414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
415
|
+
# @type Valid: Boolean
|
416
|
+
# @param RefTone: 文本标准声调,数值范围[-1,1,2,3,4]
|
417
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
418
|
+
# @type RefTone: Integer
|
419
|
+
# @param HypothesisTone: 实际发音声调,数值范围[-1,1,2,3,4]
|
420
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
421
|
+
# @type HypothesisTone: Integer
|
422
|
+
|
423
|
+
attr_accessor :Valid, :RefTone, :HypothesisTone
|
424
|
+
|
425
|
+
def initialize(valid=nil, reftone=nil, hypothesistone=nil)
|
426
|
+
@Valid = valid
|
427
|
+
@RefTone = reftone
|
428
|
+
@HypothesisTone = hypothesistone
|
429
|
+
end
|
430
|
+
|
431
|
+
def deserialize(params)
|
432
|
+
@Valid = params['Valid']
|
433
|
+
@RefTone = params['RefTone']
|
434
|
+
@HypothesisTone = params['HypothesisTone']
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
411
438
|
# TransmitOralProcess请求参数结构体
|
412
439
|
class TransmitOralProcessRequest < TencentCloud::Common::AbstractModel
|
413
440
|
# @param SeqId: 流式数据包的序号,从1开始,当IsEnd字段为1后后续序号无意义,当IsLongLifeSession不为1且为非流式模式时无意义。
|
@@ -771,10 +798,13 @@ module TencentCloud
|
|
771
798
|
# @param KeywordTag: 主题词命中标志,0表示没命中,1表示命中
|
772
799
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
773
800
|
# @type KeywordTag: Integer
|
801
|
+
# @param Tone: 声调检测结果
|
802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
803
|
+
# @type Tone: :class:`Tencentcloud::Soe.v20180724.models.Tone`
|
774
804
|
|
775
|
-
attr_accessor :MemBeginTime, :MemEndTime, :PronAccuracy, :PronFluency, :Word, :MatchTag, :PhoneInfos, :ReferenceWord, :KeywordTag
|
805
|
+
attr_accessor :MemBeginTime, :MemEndTime, :PronAccuracy, :PronFluency, :Word, :MatchTag, :PhoneInfos, :ReferenceWord, :KeywordTag, :Tone
|
776
806
|
|
777
|
-
def initialize(membegintime=nil, memendtime=nil, pronaccuracy=nil, pronfluency=nil, word=nil, matchtag=nil, phoneinfos=nil, referenceword=nil, keywordtag=nil)
|
807
|
+
def initialize(membegintime=nil, memendtime=nil, pronaccuracy=nil, pronfluency=nil, word=nil, matchtag=nil, phoneinfos=nil, referenceword=nil, keywordtag=nil, tone=nil)
|
778
808
|
@MemBeginTime = membegintime
|
779
809
|
@MemEndTime = memendtime
|
780
810
|
@PronAccuracy = pronaccuracy
|
@@ -784,6 +814,7 @@ module TencentCloud
|
|
784
814
|
@PhoneInfos = phoneinfos
|
785
815
|
@ReferenceWord = referenceword
|
786
816
|
@KeywordTag = keywordtag
|
817
|
+
@Tone = tone
|
787
818
|
end
|
788
819
|
|
789
820
|
def deserialize(params)
|
@@ -803,6 +834,10 @@ module TencentCloud
|
|
803
834
|
end
|
804
835
|
@ReferenceWord = params['ReferenceWord']
|
805
836
|
@KeywordTag = params['KeywordTag']
|
837
|
+
unless params['Tone'].nil?
|
838
|
+
@Tone = Tone.new
|
839
|
+
@Tone.deserialize(params['Tone'])
|
840
|
+
end
|
806
841
|
end
|
807
842
|
end
|
808
843
|
|
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.609
|
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-07-
|
11
|
+
date: 2023-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|