Class: Xberg::OcrQualityThresholds
- Inherits:
-
Object
- Object
- Xberg::OcrQualityThresholds
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#alnum_ws_ratio_threshold ⇒ Float?
Returns the value of attribute alnum_ws_ratio_threshold.
-
#critical_fragmented_word_ratio ⇒ Float?
Returns the value of attribute critical_fragmented_word_ratio.
-
#enable_provenance_ocr_routing ⇒ Boolean?
Returns the value of attribute enable_provenance_ocr_routing.
-
#max_fragmented_word_ratio ⇒ Float?
Returns the value of attribute max_fragmented_word_ratio.
-
#min_alnum_ratio ⇒ Float?
Returns the value of attribute min_alnum_ratio.
-
#min_avg_word_length ⇒ Float?
Returns the value of attribute min_avg_word_length.
-
#min_consecutive_repeat_ratio ⇒ Float?
Returns the value of attribute min_consecutive_repeat_ratio.
-
#min_garbage_chars ⇒ Integer?
Returns the value of attribute min_garbage_chars.
-
#min_meaningful_word_len ⇒ Integer?
Returns the value of attribute min_meaningful_word_len.
-
#min_meaningful_words ⇒ Integer?
Returns the value of attribute min_meaningful_words.
-
#min_non_whitespace_per_page ⇒ Float?
Returns the value of attribute min_non_whitespace_per_page.
-
#min_provenance_fallback_ratio ⇒ Float?
Returns the value of attribute min_provenance_fallback_ratio.
-
#min_total_non_whitespace ⇒ Integer?
Returns the value of attribute min_total_non_whitespace.
-
#min_undecodable_ratio ⇒ Float?
Returns the value of attribute min_undecodable_ratio.
-
#min_words_for_avg_length_check ⇒ Integer?
Returns the value of attribute min_words_for_avg_length_check.
-
#min_words_for_repeat_check ⇒ Integer?
Returns the value of attribute min_words_for_repeat_check.
-
#non_text_min_chars ⇒ Integer?
Returns the value of attribute non_text_min_chars.
-
#pipeline_min_quality ⇒ Float?
Returns the value of attribute pipeline_min_quality.
-
#substantive_min_chars ⇒ Integer?
Returns the value of attribute substantive_min_chars.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ OcrQualityThresholds
constructor
A new instance of OcrQualityThresholds.
Constructor Details
#initialize ⇒ OcrQualityThresholds
Returns a new instance of OcrQualityThresholds.
372 |
# File 'sig/types.rbs', line 372
def initialize: (?min_total_non_whitespace: Integer, ?min_non_whitespace_per_page: Float, ?min_meaningful_word_len: Integer, ?min_meaningful_words: Integer, ?min_alnum_ratio: Float, ?min_garbage_chars: Integer, ?max_fragmented_word_ratio: Float, ?critical_fragmented_word_ratio: Float, ?min_avg_word_length: Float, ?min_words_for_avg_length_check: Integer, ?min_consecutive_repeat_ratio: Float, ?min_words_for_repeat_check: Integer, ?substantive_min_chars: Integer, ?non_text_min_chars: Integer, ?alnum_ws_ratio_threshold: Float, ?pipeline_min_quality: Float, ?min_undecodable_ratio: Float, ?enable_provenance_ocr_routing: bool, ?min_provenance_fallback_ratio: Float) -> void
|
Instance Attribute Details
#alnum_ws_ratio_threshold ⇒ Float?
Returns the value of attribute alnum_ws_ratio_threshold.
366 367 368 |
# File 'sig/types.rbs', line 366 def alnum_ws_ratio_threshold @alnum_ws_ratio_threshold end |
#critical_fragmented_word_ratio ⇒ Float?
Returns the value of attribute critical_fragmented_word_ratio.
359 360 361 |
# File 'sig/types.rbs', line 359 def critical_fragmented_word_ratio @critical_fragmented_word_ratio end |
#enable_provenance_ocr_routing ⇒ Boolean?
Returns the value of attribute enable_provenance_ocr_routing.
369 370 371 |
# File 'sig/types.rbs', line 369 def enable_provenance_ocr_routing @enable_provenance_ocr_routing end |
#max_fragmented_word_ratio ⇒ Float?
Returns the value of attribute max_fragmented_word_ratio.
358 359 360 |
# File 'sig/types.rbs', line 358 def max_fragmented_word_ratio @max_fragmented_word_ratio end |
#min_alnum_ratio ⇒ Float?
Returns the value of attribute min_alnum_ratio.
356 357 358 |
# File 'sig/types.rbs', line 356 def min_alnum_ratio @min_alnum_ratio end |
#min_avg_word_length ⇒ Float?
Returns the value of attribute min_avg_word_length.
360 361 362 |
# File 'sig/types.rbs', line 360 def min_avg_word_length @min_avg_word_length end |
#min_consecutive_repeat_ratio ⇒ Float?
Returns the value of attribute min_consecutive_repeat_ratio.
362 363 364 |
# File 'sig/types.rbs', line 362 def min_consecutive_repeat_ratio @min_consecutive_repeat_ratio end |
#min_garbage_chars ⇒ Integer?
Returns the value of attribute min_garbage_chars.
357 358 359 |
# File 'sig/types.rbs', line 357 def min_garbage_chars @min_garbage_chars end |
#min_meaningful_word_len ⇒ Integer?
Returns the value of attribute min_meaningful_word_len.
354 355 356 |
# File 'sig/types.rbs', line 354 def min_meaningful_word_len @min_meaningful_word_len end |
#min_meaningful_words ⇒ Integer?
Returns the value of attribute min_meaningful_words.
355 356 357 |
# File 'sig/types.rbs', line 355 def min_meaningful_words @min_meaningful_words end |
#min_non_whitespace_per_page ⇒ Float?
Returns the value of attribute min_non_whitespace_per_page.
353 354 355 |
# File 'sig/types.rbs', line 353 def min_non_whitespace_per_page @min_non_whitespace_per_page end |
#min_provenance_fallback_ratio ⇒ Float?
Returns the value of attribute min_provenance_fallback_ratio.
370 371 372 |
# File 'sig/types.rbs', line 370 def min_provenance_fallback_ratio @min_provenance_fallback_ratio end |
#min_total_non_whitespace ⇒ Integer?
Returns the value of attribute min_total_non_whitespace.
352 353 354 |
# File 'sig/types.rbs', line 352 def min_total_non_whitespace @min_total_non_whitespace end |
#min_undecodable_ratio ⇒ Float?
Returns the value of attribute min_undecodable_ratio.
368 369 370 |
# File 'sig/types.rbs', line 368 def min_undecodable_ratio @min_undecodable_ratio end |
#min_words_for_avg_length_check ⇒ Integer?
Returns the value of attribute min_words_for_avg_length_check.
361 362 363 |
# File 'sig/types.rbs', line 361 def min_words_for_avg_length_check @min_words_for_avg_length_check end |
#min_words_for_repeat_check ⇒ Integer?
Returns the value of attribute min_words_for_repeat_check.
363 364 365 |
# File 'sig/types.rbs', line 363 def min_words_for_repeat_check @min_words_for_repeat_check end |
#non_text_min_chars ⇒ Integer?
Returns the value of attribute non_text_min_chars.
365 366 367 |
# File 'sig/types.rbs', line 365 def non_text_min_chars @non_text_min_chars end |
#pipeline_min_quality ⇒ Float?
Returns the value of attribute pipeline_min_quality.
367 368 369 |
# File 'sig/types.rbs', line 367 def pipeline_min_quality @pipeline_min_quality end |
#substantive_min_chars ⇒ Integer?
Returns the value of attribute substantive_min_chars.
364 365 366 |
# File 'sig/types.rbs', line 364 def substantive_min_chars @substantive_min_chars end |
Class Method Details
.default ⇒ OcrQualityThresholds
373 |
# File 'sig/types.rbs', line 373
def self.default: () -> OcrQualityThresholds
|