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.
1917 |
# File 'sig/types.rbs', line 1917
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.
1914 1915 1916 |
# File 'sig/types.rbs', line 1914 def confidence @confidence end |
#end_page ⇒ Integer (readonly)
Returns the value of attribute end_page.
1913 1914 1915 |
# File 'sig/types.rbs', line 1913 def end_page @end_page end |
#reason ⇒ BoundaryReason (readonly)
Returns the value of attribute reason.
1915 1916 1917 |
# File 'sig/types.rbs', line 1915 def reason @reason end |
#start_page ⇒ Integer (readonly)
Returns the value of attribute start_page.
1912 1913 1914 |
# File 'sig/types.rbs', line 1912 def start_page @start_page end |