Class: Xberg::DocumentBoundary

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentBoundary

Returns a new instance of DocumentBoundary.

Parameters:

  • start_page: (Integer)
  • end_page: (Integer)
  • confidence: (Float)
  • reason: (BoundaryReason)


1906
# File 'sig/types.rbs', line 1906

def initialize: (start_page: Integer, end_page: Integer, confidence: Float, reason: BoundaryReason) -> void

Instance Attribute Details

#confidenceFloat (readonly)

Returns the value of attribute confidence.

Returns:

  • (Float)


1903
1904
1905
# File 'sig/types.rbs', line 1903

def confidence
  @confidence
end

#end_pageInteger (readonly)

Returns the value of attribute end_page.

Returns:

  • (Integer)


1902
1903
1904
# File 'sig/types.rbs', line 1902

def end_page
  @end_page
end

#reasonBoundaryReason (readonly)

Returns the value of attribute reason.

Returns:



1904
1905
1906
# File 'sig/types.rbs', line 1904

def reason
  @reason
end

#start_pageInteger (readonly)

Returns the value of attribute start_page.

Returns:

  • (Integer)


1901
1902
1903
# File 'sig/types.rbs', line 1901

def start_page
  @start_page
end