Class: Xberg::HierarchyConfig
- Inherits:
-
Object
- Object
- Xberg::HierarchyConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#include_bbox ⇒ Boolean?
Returns the value of attribute include_bbox.
-
#k_clusters ⇒ Integer?
Returns the value of attribute k_clusters.
-
#ocr_coverage_threshold ⇒ Float?
Returns the value of attribute ocr_coverage_threshold.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ HierarchyConfig
constructor
A new instance of HierarchyConfig.
Constructor Details
#initialize ⇒ HierarchyConfig
Returns a new instance of HierarchyConfig.
406 |
# File 'sig/types.rbs', line 406
def initialize: (?enabled: bool, ?k_clusters: Integer, ?include_bbox: bool, ?ocr_coverage_threshold: Float) -> void
|
Instance Attribute Details
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
401 402 403 |
# File 'sig/types.rbs', line 401 def enabled @enabled end |
#include_bbox ⇒ Boolean?
Returns the value of attribute include_bbox.
403 404 405 |
# File 'sig/types.rbs', line 403 def include_bbox @include_bbox end |
#k_clusters ⇒ Integer?
Returns the value of attribute k_clusters.
402 403 404 |
# File 'sig/types.rbs', line 402 def k_clusters @k_clusters end |
#ocr_coverage_threshold ⇒ Float?
Returns the value of attribute ocr_coverage_threshold.
404 405 406 |
# File 'sig/types.rbs', line 404 def ocr_coverage_threshold @ocr_coverage_threshold end |
Class Method Details
.default ⇒ HierarchyConfig
407 |
# File 'sig/types.rbs', line 407
def self.default: () -> HierarchyConfig
|