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.
-
#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_total_non_whitespace ⇒ Integer?
Returns the value of attribute min_total_non_whitespace.
-
#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.
327 |
# File 'sig/types.rbs', line 327
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) -> void
|
Instance Attribute Details
#alnum_ws_ratio_threshold ⇒ Float?
Returns the value of attribute alnum_ws_ratio_threshold.
324 325 326 |
# File 'sig/types.rbs', line 324 def alnum_ws_ratio_threshold @alnum_ws_ratio_threshold end |
#critical_fragmented_word_ratio ⇒ Float?
Returns the value of attribute critical_fragmented_word_ratio.
317 318 319 |
# File 'sig/types.rbs', line 317 def critical_fragmented_word_ratio @critical_fragmented_word_ratio end |
#max_fragmented_word_ratio ⇒ Float?
Returns the value of attribute max_fragmented_word_ratio.
316 317 318 |
# File 'sig/types.rbs', line 316 def max_fragmented_word_ratio @max_fragmented_word_ratio end |
#min_alnum_ratio ⇒ Float?
Returns the value of attribute min_alnum_ratio.
314 315 316 |
# File 'sig/types.rbs', line 314 def min_alnum_ratio @min_alnum_ratio end |
#min_avg_word_length ⇒ Float?
Returns the value of attribute min_avg_word_length.
318 319 320 |
# File 'sig/types.rbs', line 318 def min_avg_word_length @min_avg_word_length end |
#min_consecutive_repeat_ratio ⇒ Float?
Returns the value of attribute min_consecutive_repeat_ratio.
320 321 322 |
# File 'sig/types.rbs', line 320 def min_consecutive_repeat_ratio @min_consecutive_repeat_ratio end |
#min_garbage_chars ⇒ Integer?
Returns the value of attribute min_garbage_chars.
315 316 317 |
# File 'sig/types.rbs', line 315 def min_garbage_chars @min_garbage_chars end |
#min_meaningful_word_len ⇒ Integer?
Returns the value of attribute min_meaningful_word_len.
312 313 314 |
# File 'sig/types.rbs', line 312 def min_meaningful_word_len @min_meaningful_word_len end |
#min_meaningful_words ⇒ Integer?
Returns the value of attribute min_meaningful_words.
313 314 315 |
# File 'sig/types.rbs', line 313 def min_meaningful_words @min_meaningful_words end |
#min_non_whitespace_per_page ⇒ Float?
Returns the value of attribute min_non_whitespace_per_page.
311 312 313 |
# File 'sig/types.rbs', line 311 def min_non_whitespace_per_page @min_non_whitespace_per_page end |
#min_total_non_whitespace ⇒ Integer?
Returns the value of attribute min_total_non_whitespace.
310 311 312 |
# File 'sig/types.rbs', line 310 def min_total_non_whitespace @min_total_non_whitespace end |
#min_words_for_avg_length_check ⇒ Integer?
Returns the value of attribute min_words_for_avg_length_check.
319 320 321 |
# File 'sig/types.rbs', line 319 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.
321 322 323 |
# File 'sig/types.rbs', line 321 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.
323 324 325 |
# File 'sig/types.rbs', line 323 def non_text_min_chars @non_text_min_chars end |
#pipeline_min_quality ⇒ Float?
Returns the value of attribute pipeline_min_quality.
325 326 327 |
# File 'sig/types.rbs', line 325 def pipeline_min_quality @pipeline_min_quality end |
#substantive_min_chars ⇒ Integer?
Returns the value of attribute substantive_min_chars.
322 323 324 |
# File 'sig/types.rbs', line 322 def substantive_min_chars @substantive_min_chars end |
Class Method Details
.default ⇒ OcrQualityThresholds
328 |
# File 'sig/types.rbs', line 328
def self.default: () -> OcrQualityThresholds
|