Class: TencentCloud::Ocr::V20181119::Words
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::Words
- Defined in:
- lib/v20181119/models.rb
Overview
识别出来的单词信息包括单词(包括单词Character和单词置信度confidence)
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, character = nil) ⇒ Words
constructor
A new instance of Words.
Constructor Details
#initialize(confidence = nil, character = nil) ⇒ Words
Returns a new instance of Words.
15181 15182 15183 15184 |
# File 'lib/v20181119/models.rb', line 15181 def initialize(confidence=nil, character=nil) @Confidence = confidence @Character = character end |
Instance Attribute Details
#Character ⇒ Object
15179 15180 15181 |
# File 'lib/v20181119/models.rb', line 15179 def Character @Character end |
#Confidence ⇒ Object
15179 15180 15181 |
# File 'lib/v20181119/models.rb', line 15179 def Confidence @Confidence end |
Instance Method Details
#deserialize(params) ⇒ Object
15186 15187 15188 15189 |
# File 'lib/v20181119/models.rb', line 15186 def deserialize(params) @Confidence = params['Confidence'] @Character = params['Character'] end |