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.
15245 15246 15247 15248 |
# File 'lib/v20181119/models.rb', line 15245 def initialize(confidence=nil, character=nil) @Confidence = confidence @Character = character end |
Instance Attribute Details
#Character ⇒ Object
15243 15244 15245 |
# File 'lib/v20181119/models.rb', line 15243 def Character @Character end |
#Confidence ⇒ Object
15243 15244 15245 |
# File 'lib/v20181119/models.rb', line 15243 def Confidence @Confidence end |
Instance Method Details
#deserialize(params) ⇒ Object
15250 15251 15252 15253 |
# File 'lib/v20181119/models.rb', line 15250 def deserialize(params) @Confidence = params['Confidence'] @Character = params['Character'] end |