tencentcloud-sdk-soe 3.0.439 → 3.0.440

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180724/models.rb +70 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6dbf62534c21b4850479f04c8d32bb3b18552c8
4
- data.tar.gz: 24d4a5e527c3e26ecdb07149affa812414613d41
3
+ metadata.gz: 3ff64ddfa80a479970952538a94534c874bdf091
4
+ data.tar.gz: 1dc0764a2046079aa86a1be70fdc5c6fc82376f4
5
5
  SHA512:
6
- metadata.gz: 9ea9d9649bb71bccc395cdec6dbb219cba81d36db9809e408ff0adab22265742d511e715a3da658cc410007fbb38ce8ebfe25b9a65b2dd1dc5c794310afe2b64
7
- data.tar.gz: 99ae678d8680a97e78c96711337f4326f01aabb77996c703610c7477a3dc9a08423af679a07015ed7ea6984bb481342fe4d30fa19eff6e33459537549d2b0d09
6
+ metadata.gz: d83201c8516bda4f121c1a785392e661d55ee40b2b6ab51583225b3e9aa86cebf82c915913b0c86570f5eab4c3c4a74d15e1aa244bcb356874db6720c36ef98e
7
+ data.tar.gz: 0ac00825ebe4845593c70037b8a5c664aee4984b737cfea5857ba1b60502b2ebaf12dfbe27ca0c684660272ffe63397d16ea660fdcffbe29895e2a01813a9e08
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.439
1
+ 3.0.440
@@ -74,10 +74,12 @@ module TencentCloud
74
74
  # 1:[音素结构](https://cloud.tencent.com/document/product/884/33698)文本
75
75
  # 2:音素注册模式(提工单注册需要使用音素的单词)。
76
76
  # @type TextMode: Integer
77
+ # @param Keyword: 主题词和关键词
78
+ # @type Keyword: String
77
79
 
78
- attr_accessor :SessionId, :RefText, :WorkMode, :EvalMode, :ScoreCoeff, :SoeAppId, :IsLongLifeSession, :StorageMode, :SentenceInfoEnabled, :ServerType, :IsAsync, :TextMode
80
+ attr_accessor :SessionId, :RefText, :WorkMode, :EvalMode, :ScoreCoeff, :SoeAppId, :IsLongLifeSession, :StorageMode, :SentenceInfoEnabled, :ServerType, :IsAsync, :TextMode, :Keyword
79
81
 
80
- def initialize(sessionid=nil, reftext=nil, workmode=nil, evalmode=nil, scorecoeff=nil, soeappid=nil, islonglifesession=nil, storagemode=nil, sentenceinfoenabled=nil, servertype=nil, isasync=nil, textmode=nil)
82
+ def initialize(sessionid=nil, reftext=nil, workmode=nil, evalmode=nil, scorecoeff=nil, soeappid=nil, islonglifesession=nil, storagemode=nil, sentenceinfoenabled=nil, servertype=nil, isasync=nil, textmode=nil, keyword=nil)
81
83
  @SessionId = sessionid
82
84
  @RefText = reftext
83
85
  @WorkMode = workmode
@@ -90,6 +92,7 @@ module TencentCloud
90
92
  @ServerType = servertype
91
93
  @IsAsync = isasync
92
94
  @TextMode = textmode
95
+ @Keyword = keyword
93
96
  end
94
97
 
95
98
  def deserialize(params)
@@ -105,6 +108,7 @@ module TencentCloud
105
108
  @ServerType = params['ServerType']
106
109
  @IsAsync = params['IsAsync']
107
110
  @TextMode = params['TextMode']
111
+ @Keyword = params['Keyword']
108
112
  end
109
113
  end
110
114
 
@@ -360,16 +364,28 @@ module TencentCloud
360
364
  # @type PronCompletion: Float
361
365
  # @param SuggestedScore: 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)* 完整度(PronCompletionfloat)*(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
362
366
  # @type SuggestedScore: Float
367
+ # @param RefTextId: 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
368
+ # 注意:此字段可能返回 null,表示取不到有效值。
369
+ # @type RefTextId: Integer
370
+ # @param KeyWordHits: 主题词命中标志,0表示没命中,1表示命中
371
+ # 注意:此字段可能返回 null,表示取不到有效值。
372
+ # @type KeyWordHits: Array
373
+ # @param UnKeyWordHits: 负向主题词命中标志,0表示没命中,1表示命中
374
+ # 注意:此字段可能返回 null,表示取不到有效值。
375
+ # @type UnKeyWordHits: Array
363
376
 
364
- attr_accessor :SentenceId, :Words, :PronAccuracy, :PronFluency, :PronCompletion, :SuggestedScore
377
+ attr_accessor :SentenceId, :Words, :PronAccuracy, :PronFluency, :PronCompletion, :SuggestedScore, :RefTextId, :KeyWordHits, :UnKeyWordHits
365
378
 
366
- def initialize(sentenceid=nil, words=nil, pronaccuracy=nil, pronfluency=nil, proncompletion=nil, suggestedscore=nil)
379
+ def initialize(sentenceid=nil, words=nil, pronaccuracy=nil, pronfluency=nil, proncompletion=nil, suggestedscore=nil, reftextid=nil, keywordhits=nil, unkeywordhits=nil)
367
380
  @SentenceId = sentenceid
368
381
  @Words = words
369
382
  @PronAccuracy = pronaccuracy
370
383
  @PronFluency = pronfluency
371
384
  @PronCompletion = proncompletion
372
385
  @SuggestedScore = suggestedscore
386
+ @RefTextId = reftextid
387
+ @KeyWordHits = keywordhits
388
+ @UnKeyWordHits = unkeywordhits
373
389
  end
374
390
 
375
391
  def deserialize(params)
@@ -386,6 +402,9 @@ module TencentCloud
386
402
  @PronFluency = params['PronFluency']
387
403
  @PronCompletion = params['PronCompletion']
388
404
  @SuggestedScore = params['SuggestedScore']
405
+ @RefTextId = params['RefTextId']
406
+ @KeyWordHits = params['KeyWordHits']
407
+ @UnKeyWordHits = params['UnKeyWordHits']
389
408
  end
390
409
  end
391
410
 
@@ -464,12 +483,21 @@ module TencentCloud
464
483
  # @type Status: String
465
484
  # @param SuggestedScore: 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracy)× 完整度(PronCompletion)×(2 - 完整度(PronCompletion)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
466
485
  # @type SuggestedScore: Float
486
+ # @param RefTextId: 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
487
+ # 注意:此字段可能返回 null,表示取不到有效值。
488
+ # @type RefTextId: Integer
489
+ # @param KeyWordHits: 主题词命中标志,0表示没命中,1表示命中
490
+ # 注意:此字段可能返回 null,表示取不到有效值。
491
+ # @type KeyWordHits: Array
492
+ # @param UnKeyWordHits: 负向主题词命中标志,0表示没命中,1表示命中
493
+ # 注意:此字段可能返回 null,表示取不到有效值。
494
+ # @type UnKeyWordHits: Array
467
495
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
468
496
  # @type RequestId: String
469
497
 
470
- attr_accessor :PronAccuracy, :PronFluency, :PronCompletion, :Words, :SessionId, :AudioUrl, :SentenceInfoSet, :Status, :SuggestedScore, :RequestId
498
+ attr_accessor :PronAccuracy, :PronFluency, :PronCompletion, :Words, :SessionId, :AudioUrl, :SentenceInfoSet, :Status, :SuggestedScore, :RefTextId, :KeyWordHits, :UnKeyWordHits, :RequestId
471
499
 
472
- def initialize(pronaccuracy=nil, pronfluency=nil, proncompletion=nil, words=nil, sessionid=nil, audiourl=nil, sentenceinfoset=nil, status=nil, suggestedscore=nil, requestid=nil)
500
+ def initialize(pronaccuracy=nil, pronfluency=nil, proncompletion=nil, words=nil, sessionid=nil, audiourl=nil, sentenceinfoset=nil, status=nil, suggestedscore=nil, reftextid=nil, keywordhits=nil, unkeywordhits=nil, requestid=nil)
473
501
  @PronAccuracy = pronaccuracy
474
502
  @PronFluency = pronfluency
475
503
  @PronCompletion = proncompletion
@@ -479,6 +507,9 @@ module TencentCloud
479
507
  @SentenceInfoSet = sentenceinfoset
480
508
  @Status = status
481
509
  @SuggestedScore = suggestedscore
510
+ @RefTextId = reftextid
511
+ @KeyWordHits = keywordhits
512
+ @UnKeyWordHits = unkeywordhits
482
513
  @RequestId = requestid
483
514
  end
484
515
 
@@ -506,6 +537,9 @@ module TencentCloud
506
537
  end
507
538
  @Status = params['Status']
508
539
  @SuggestedScore = params['SuggestedScore']
540
+ @RefTextId = params['RefTextId']
541
+ @KeyWordHits = params['KeyWordHits']
542
+ @UnKeyWordHits = params['UnKeyWordHits']
509
543
  @RequestId = params['RequestId']
510
544
  end
511
545
  end
@@ -584,10 +618,12 @@ module TencentCloud
584
618
  # 1:[音素结构](https://cloud.tencent.com/document/product/884/33698)文本
585
619
  # 2:音素注册模式(提工单注册需要使用音素的单词)。
586
620
  # @type TextMode: Integer
621
+ # @param Keyword: 主题词和关键词
622
+ # @type Keyword: String
587
623
 
588
- attr_accessor :SeqId, :IsEnd, :VoiceFileType, :VoiceEncodeType, :UserVoiceData, :SessionId, :RefText, :WorkMode, :EvalMode, :ScoreCoeff, :SoeAppId, :StorageMode, :SentenceInfoEnabled, :ServerType, :IsAsync, :IsQuery, :TextMode
624
+ attr_accessor :SeqId, :IsEnd, :VoiceFileType, :VoiceEncodeType, :UserVoiceData, :SessionId, :RefText, :WorkMode, :EvalMode, :ScoreCoeff, :SoeAppId, :StorageMode, :SentenceInfoEnabled, :ServerType, :IsAsync, :IsQuery, :TextMode, :Keyword
589
625
 
590
- def initialize(seqid=nil, isend=nil, voicefiletype=nil, voiceencodetype=nil, uservoicedata=nil, sessionid=nil, reftext=nil, workmode=nil, evalmode=nil, scorecoeff=nil, soeappid=nil, storagemode=nil, sentenceinfoenabled=nil, servertype=nil, isasync=nil, isquery=nil, textmode=nil)
626
+ def initialize(seqid=nil, isend=nil, voicefiletype=nil, voiceencodetype=nil, uservoicedata=nil, sessionid=nil, reftext=nil, workmode=nil, evalmode=nil, scorecoeff=nil, soeappid=nil, storagemode=nil, sentenceinfoenabled=nil, servertype=nil, isasync=nil, isquery=nil, textmode=nil, keyword=nil)
591
627
  @SeqId = seqid
592
628
  @IsEnd = isend
593
629
  @VoiceFileType = voicefiletype
@@ -605,6 +641,7 @@ module TencentCloud
605
641
  @IsAsync = isasync
606
642
  @IsQuery = isquery
607
643
  @TextMode = textmode
644
+ @Keyword = keyword
608
645
  end
609
646
 
610
647
  def deserialize(params)
@@ -625,6 +662,7 @@ module TencentCloud
625
662
  @IsAsync = params['IsAsync']
626
663
  @IsQuery = params['IsQuery']
627
664
  @TextMode = params['TextMode']
665
+ @Keyword = params['Keyword']
628
666
  end
629
667
  end
630
668
 
@@ -648,12 +686,21 @@ module TencentCloud
648
686
  # @type Status: String
649
687
  # @param SuggestedScore: 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracy)× 完整度(PronCompletion)×(2 - 完整度(PronCompletion)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
650
688
  # @type SuggestedScore: Float
689
+ # @param RefTextId: 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
690
+ # 注意:此字段可能返回 null,表示取不到有效值。
691
+ # @type RefTextId: Integer
692
+ # @param KeyWordHits: 主题词命中标志,0表示没命中,1表示命中
693
+ # 注意:此字段可能返回 null,表示取不到有效值。
694
+ # @type KeyWordHits: Array
695
+ # @param UnKeyWordHits: 负向主题词命中标志,0表示没命中,1表示命中
696
+ # 注意:此字段可能返回 null,表示取不到有效值。
697
+ # @type UnKeyWordHits: Array
651
698
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
652
699
  # @type RequestId: String
653
700
 
654
- attr_accessor :PronAccuracy, :PronFluency, :PronCompletion, :Words, :SessionId, :AudioUrl, :SentenceInfoSet, :Status, :SuggestedScore, :RequestId
701
+ attr_accessor :PronAccuracy, :PronFluency, :PronCompletion, :Words, :SessionId, :AudioUrl, :SentenceInfoSet, :Status, :SuggestedScore, :RefTextId, :KeyWordHits, :UnKeyWordHits, :RequestId
655
702
 
656
- def initialize(pronaccuracy=nil, pronfluency=nil, proncompletion=nil, words=nil, sessionid=nil, audiourl=nil, sentenceinfoset=nil, status=nil, suggestedscore=nil, requestid=nil)
703
+ def initialize(pronaccuracy=nil, pronfluency=nil, proncompletion=nil, words=nil, sessionid=nil, audiourl=nil, sentenceinfoset=nil, status=nil, suggestedscore=nil, reftextid=nil, keywordhits=nil, unkeywordhits=nil, requestid=nil)
657
704
  @PronAccuracy = pronaccuracy
658
705
  @PronFluency = pronfluency
659
706
  @PronCompletion = proncompletion
@@ -663,6 +710,9 @@ module TencentCloud
663
710
  @SentenceInfoSet = sentenceinfoset
664
711
  @Status = status
665
712
  @SuggestedScore = suggestedscore
713
+ @RefTextId = reftextid
714
+ @KeyWordHits = keywordhits
715
+ @UnKeyWordHits = unkeywordhits
666
716
  @RequestId = requestid
667
717
  end
668
718
 
@@ -690,6 +740,9 @@ module TencentCloud
690
740
  end
691
741
  @Status = params['Status']
692
742
  @SuggestedScore = params['SuggestedScore']
743
+ @RefTextId = params['RefTextId']
744
+ @KeyWordHits = params['KeyWordHits']
745
+ @UnKeyWordHits = params['UnKeyWordHits']
693
746
  @RequestId = params['RequestId']
694
747
  end
695
748
  end
@@ -712,10 +765,13 @@ module TencentCloud
712
765
  # @type PhoneInfos: Array
713
766
  # @param ReferenceWord: 参考词,目前为保留字段。
714
767
  # @type ReferenceWord: String
768
+ # @param KeywordTag: 主题词命中标志,0表示没命中,1表示命中
769
+ # 注意:此字段可能返回 null,表示取不到有效值。
770
+ # @type KeywordTag: Integer
715
771
 
716
- attr_accessor :MemBeginTime, :MemEndTime, :PronAccuracy, :PronFluency, :Word, :MatchTag, :PhoneInfos, :ReferenceWord
772
+ attr_accessor :MemBeginTime, :MemEndTime, :PronAccuracy, :PronFluency, :Word, :MatchTag, :PhoneInfos, :ReferenceWord, :KeywordTag
717
773
 
718
- def initialize(membegintime=nil, memendtime=nil, pronaccuracy=nil, pronfluency=nil, word=nil, matchtag=nil, phoneinfos=nil, referenceword=nil)
774
+ def initialize(membegintime=nil, memendtime=nil, pronaccuracy=nil, pronfluency=nil, word=nil, matchtag=nil, phoneinfos=nil, referenceword=nil, keywordtag=nil)
719
775
  @MemBeginTime = membegintime
720
776
  @MemEndTime = memendtime
721
777
  @PronAccuracy = pronaccuracy
@@ -724,6 +780,7 @@ module TencentCloud
724
780
  @MatchTag = matchtag
725
781
  @PhoneInfos = phoneinfos
726
782
  @ReferenceWord = referenceword
783
+ @KeywordTag = keywordtag
727
784
  end
728
785
 
729
786
  def deserialize(params)
@@ -742,6 +799,7 @@ module TencentCloud
742
799
  end
743
800
  end
744
801
  @ReferenceWord = params['ReferenceWord']
802
+ @KeywordTag = params['KeywordTag']
745
803
  end
746
804
  end
747
805
 
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.439
4
+ version: 3.0.440
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-10-28 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common