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)


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

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)


2005
2006
2007
# File 'sig/types.rbs', line 2005

def confidence
  @confidence
end

#end_pageInteger (readonly)

Returns the value of attribute end_page.

Returns:

  • (Integer)


2004
2005
2006
# File 'sig/types.rbs', line 2004

def end_page
  @end_page
end

#reasonBoundaryReason (readonly)

Returns the value of attribute reason.

Returns:



2006
2007
2008
# File 'sig/types.rbs', line 2006

def reason
  @reason
end

#start_pageInteger (readonly)

Returns the value of attribute start_page.

Returns:

  • (Integer)


2003
2004
2005
# File 'sig/types.rbs', line 2003

def start_page
  @start_page
end