Class: Xberg::DocumentBoundary
- Inherits:
-
Object
- Object
- Xberg::DocumentBoundary
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#confidence ⇒ Float
readonly
Returns the value of attribute confidence.
-
#end_page ⇒ Integer
readonly
Returns the value of attribute end_page.
-
#reason ⇒ BoundaryReason
readonly
Returns the value of attribute reason.
-
#start_page ⇒ Integer
readonly
Returns the value of attribute start_page.
Instance Method Summary collapse
-
#initialize ⇒ DocumentBoundary
constructor
A new instance of DocumentBoundary.
Constructor Details
#initialize ⇒ DocumentBoundary
Returns a new instance of DocumentBoundary.
2018 |
# File 'sig/types.rbs', line 2018
def initialize: (start_page: Integer, end_page: Integer, confidence: Float, reason: BoundaryReason) -> void
|
Instance Attribute Details
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
2015 2016 2017 |
# File 'sig/types.rbs', line 2015 def confidence @confidence end |
#end_page ⇒ Integer (readonly)
Returns the value of attribute end_page.
2014 2015 2016 |
# File 'sig/types.rbs', line 2014 def end_page @end_page end |
#reason ⇒ BoundaryReason (readonly)
Returns the value of attribute reason.
2016 2017 2018 |
# File 'sig/types.rbs', line 2016 def reason @reason end |
#start_page ⇒ Integer (readonly)
Returns the value of attribute start_page.
2013 2014 2015 |
# File 'sig/types.rbs', line 2013 def start_page @start_page end |