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.
1906 |
# File 'sig/types.rbs', line 1906
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.
1903 1904 1905 |
# File 'sig/types.rbs', line 1903 def confidence @confidence end |
#end_page ⇒ Integer (readonly)
Returns the value of attribute end_page.
1902 1903 1904 |
# File 'sig/types.rbs', line 1902 def end_page @end_page end |
#reason ⇒ BoundaryReason (readonly)
Returns the value of attribute reason.
1904 1905 1906 |
# File 'sig/types.rbs', line 1904 def reason @reason end |
#start_page ⇒ Integer (readonly)
Returns the value of attribute start_page.
1901 1902 1903 |
# File 'sig/types.rbs', line 1901 def start_page @start_page end |