Class: TencentCloud::Mps::V20190612::AiReviewPoliticalAsrTaskOutput

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

Asr 文字敏感信息

Instance Attribute Summary collapse

  • #SegmentSet ⇒ Object
  • pass。
  • review。
  • block。
  • .
  • #Suggestion ⇒ Object
  • pass。
  • review。
  • block。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(confidence = nil, suggestion = nil, segmentset = nil) ⇒ AiReviewPoliticalAsrTaskOutput

    Returns a new instance of AiReviewPoliticalAsrTaskOutput.

    
    
    3799
    3800
    3801
    3802
    3803
    # File 'lib/v20190612/models.rb', line 3799
    
    def initialize(confidence=nil, suggestion=nil, segmentset=nil)
      @Confidence = confidence
      @Suggestion = suggestion
      @SegmentSet = segmentset
    end
    

    Instance Attribute Details

    #ConfidenceObject

  • pass。
  • review。
  • block。
  • Parameters:

    • Confidence:

      Asr 文字敏感评分,分值为0到100。

    • Suggestion:

      Asr 文字敏感结果建议,取值范围:

    • SegmentSet:

      Asr 文字敏感嫌疑的视频片段列表。

    
    
    3797
    3798
    3799
    # File 'lib/v20190612/models.rb', line 3797
    
    def Confidence
      @Confidence
    end
    

    #SegmentSetObject

  • pass。
  • review。
  • block。
  • Parameters:

    • Confidence:

      Asr 文字敏感评分,分值为0到100。

    • Suggestion:

      Asr 文字敏感结果建议,取值范围:

    • SegmentSet:

      Asr 文字敏感嫌疑的视频片段列表。

    
    
    3797
    3798
    3799
    # File 'lib/v20190612/models.rb', line 3797
    
    def SegmentSet
      @SegmentSet
    end
    

    #SuggestionObject

  • pass。
  • review。
  • block。
  • Parameters:

    • Confidence:

      Asr 文字敏感评分,分值为0到100。

    • Suggestion:

      Asr 文字敏感结果建议,取值范围:

    • SegmentSet:

      Asr 文字敏感嫌疑的视频片段列表。

    
    
    3797
    3798
    3799
    # File 'lib/v20190612/models.rb', line 3797
    
    def Suggestion
      @Suggestion
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    3805
    3806
    3807
    3808
    3809
    3810
    3811
    3812
    3813
    3814
    3815
    3816
    # File 'lib/v20190612/models.rb', line 3805
    
    def deserialize(params)
      @Confidence = params['Confidence']
      @Suggestion = params['Suggestion']
      unless params['SegmentSet'].nil?
        @SegmentSet = []
        params['SegmentSet'].each do |i|
          mediacontentreviewasrtextsegmentitem_tmp = MediaContentReviewAsrTextSegmentItem.new
          mediacontentreviewasrtextsegmentitem_tmp.deserialize(i)
          @SegmentSet << mediacontentreviewasrtextsegmentitem_tmp
        end
      end
    end