Class: TencentCloud::Nlp::V20190408::ParseWordsRequest

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

Overview

ParseWords请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text = nil) ⇒ ParseWordsRequest

Returns a new instance of ParseWordsRequest.



398
399
400
# File 'lib/v20190408/models.rb', line 398

def initialize(text=nil)
  @Text = text
end

Instance Attribute Details

#TextObject

Parameters:

  • Text:

    待分析的文本(支持中英文文本,不超过500字符)



396
397
398
# File 'lib/v20190408/models.rb', line 396

def Text
  @Text
end

Instance Method Details

#deserialize(params) ⇒ Object



402
403
404
# File 'lib/v20190408/models.rb', line 402

def deserialize(params)
  @Text = params['Text']
end