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.
14858 14859 14860 14861 |
# File 'lib/v20181119/models.rb', line 14858 def initialize(confidence=nil, character=nil) @Confidence = confidence @Character = character end |
Instance Attribute Details
#Character ⇒ Object
14856 14857 14858 |
# File 'lib/v20181119/models.rb', line 14856 def Character @Character end |
#Confidence ⇒ Object
14856 14857 14858 |
# File 'lib/v20181119/models.rb', line 14856 def Confidence @Confidence end |
Instance Method Details
#deserialize(params) ⇒ Object
14863 14864 14865 14866 |
# File 'lib/v20181119/models.rb', line 14863 def deserialize(params) @Confidence = params['Confidence'] @Character = params['Character'] end |