Class: Xberg::LayoutDetectionConfig

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayoutDetectionConfig

Returns a new instance of LayoutDetectionConfig.

Parameters:

  • confidence_threshold: (Float)
  • apply_heuristics: (Boolean)
  • table_model: (TableModel)
  • acceleration: (AccelerationConfig)
  • enable_chart_understanding: (Boolean)


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

def initialize: (?confidence_threshold: Float, ?apply_heuristics: bool, ?table_model: TableModel, ?acceleration: AccelerationConfig, ?enable_chart_understanding: bool) -> void

Instance Attribute Details

#accelerationAccelerationConfig?

Returns the value of attribute acceleration.

Returns:



269
270
271
# File 'sig/types.rbs', line 269

def acceleration
  @acceleration
end

#apply_heuristicsBoolean?

Returns the value of attribute apply_heuristics.

Returns:

  • (Boolean, nil)


267
268
269
# File 'sig/types.rbs', line 267

def apply_heuristics
  @apply_heuristics
end

#confidence_thresholdFloat?

Returns the value of attribute confidence_threshold.

Returns:

  • (Float, nil)


266
267
268
# File 'sig/types.rbs', line 266

def confidence_threshold
  @confidence_threshold
end

#enable_chart_understandingBoolean?

Returns the value of attribute enable_chart_understanding.

Returns:

  • (Boolean, nil)


270
271
272
# File 'sig/types.rbs', line 270

def enable_chart_understanding
  @enable_chart_understanding
end

#table_modelTableModel?

Returns the value of attribute table_model.

Returns:



268
269
270
# File 'sig/types.rbs', line 268

def table_model
  @table_model
end

Class Method Details

.defaultLayoutDetectionConfig



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

def self.default: () -> LayoutDetectionConfig