Class: Xberg::LayoutDetectionConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayoutDetectionConfig

Returns a new instance of LayoutDetectionConfig.

Parameters:

  • strategy: (enum_LayoutStrategy)
  • confidence_threshold: (Float)
  • apply_heuristics: (Boolean)
  • table_model: (enum_TableModel)
  • formula_model: (enum_FormulaModel)
  • table_overlap_preference: (enum_TableOverlapPreference)
  • acceleration: (AccelerationConfig)
  • enable_chart_understanding: (Boolean)


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

def initialize: (?strategy: enum_LayoutStrategy, ?confidence_threshold: Float, ?apply_heuristics: bool, ?table_model: enum_TableModel, ?formula_model: enum_FormulaModel, ?table_overlap_preference: enum_TableOverlapPreference, ?acceleration: AccelerationConfig, ?enable_chart_understanding: bool) -> void

Instance Attribute Details

#accelerationAccelerationConfig? (readonly)

Returns the value of attribute acceleration.

Returns:



1451
1452
1453
# File 'sig/types.rbs', line 1451

def acceleration
  @acceleration
end

#apply_heuristicsBoolean (readonly)

Returns the value of attribute apply_heuristics.

Returns:

  • (Boolean)


1447
1448
1449
# File 'sig/types.rbs', line 1447

def apply_heuristics
  @apply_heuristics
end

#confidence_thresholdFloat? (readonly)

Returns the value of attribute confidence_threshold.

Returns:

  • (Float, nil)


1446
1447
1448
# File 'sig/types.rbs', line 1446

def confidence_threshold
  @confidence_threshold
end

#enable_chart_understandingBoolean (readonly)

Returns the value of attribute enable_chart_understanding.

Returns:

  • (Boolean)


1452
1453
1454
# File 'sig/types.rbs', line 1452

def enable_chart_understanding
  @enable_chart_understanding
end

#formula_modelenum_FormulaModel? (readonly)

Returns the value of attribute formula_model.

Returns:

  • (enum_FormulaModel, nil)


1449
1450
1451
# File 'sig/types.rbs', line 1449

def formula_model
  @formula_model
end

#strategyenum_LayoutStrategy (readonly)

Returns the value of attribute strategy.

Returns:

  • (enum_LayoutStrategy)


1445
1446
1447
# File 'sig/types.rbs', line 1445

def strategy
  @strategy
end

#table_modelenum_TableModel (readonly)

Returns the value of attribute table_model.

Returns:

  • (enum_TableModel)


1448
1449
1450
# File 'sig/types.rbs', line 1448

def table_model
  @table_model
end

#table_overlap_preferenceenum_TableOverlapPreference (readonly)

Returns the value of attribute table_overlap_preference.

Returns:

  • (enum_TableOverlapPreference)


1450
1451
1452
# File 'sig/types.rbs', line 1450

def table_overlap_preference
  @table_overlap_preference
end