Class: TencentCloud::Tci::V20190318::Word
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::Word
- Defined in:
- lib/v20190318/models.rb
Overview
当前句子包含的所有单词信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, mbtm = nil, metm = nil, text = nil, wsize = nil) ⇒ Word
constructor
A new instance of Word.
Constructor Details
#initialize(confidence = nil, mbtm = nil, metm = nil, text = nil, wsize = nil) ⇒ Word
Returns a new instance of Word.
4467 4468 4469 4470 4471 4472 4473 |
# File 'lib/v20190318/models.rb', line 4467 def initialize(confidence=nil, mbtm=nil, metm=nil, text=nil, wsize=nil) @Confidence = confidence @Mbtm = mbtm @Metm = metm @Text = text @Wsize = wsize end |
Instance Attribute Details
#Confidence ⇒ Object
4465 4466 4467 |
# File 'lib/v20190318/models.rb', line 4465 def Confidence @Confidence end |
#Mbtm ⇒ Object
4465 4466 4467 |
# File 'lib/v20190318/models.rb', line 4465 def Mbtm @Mbtm end |
#Metm ⇒ Object
4465 4466 4467 |
# File 'lib/v20190318/models.rb', line 4465 def Metm @Metm end |
#Text ⇒ Object
4465 4466 4467 |
# File 'lib/v20190318/models.rb', line 4465 def Text @Text end |
#Wsize ⇒ Object
4465 4466 4467 |
# File 'lib/v20190318/models.rb', line 4465 def Wsize @Wsize end |
Instance Method Details
#deserialize(params) ⇒ Object
4475 4476 4477 4478 4479 4480 4481 |
# File 'lib/v20190318/models.rb', line 4475 def deserialize(params) @Confidence = params['Confidence'] @Mbtm = params['Mbtm'] @Metm = params['Metm'] @Text = params['Text'] @Wsize = params['Wsize'] end |