Class: Xberg::HeuristicsConfig
- Inherits:
-
Object
- Object
- Xberg::HeuristicsConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#disk_processing_threshold_bytes ⇒ Integer?
Returns the value of attribute disk_processing_threshold_bytes.
-
#enable_pdf_text_heuristics ⇒ Boolean?
Returns the value of attribute enable_pdf_text_heuristics.
-
#file_size_threshold_bytes ⇒ Integer?
Returns the value of attribute file_size_threshold_bytes.
-
#max_pages_per_chunk ⇒ Integer?
Returns the value of attribute max_pages_per_chunk.
-
#max_pptx_embedded_count ⇒ Integer?
Returns the value of attribute max_pptx_embedded_count.
-
#max_xlsx_sheet_count ⇒ Integer?
Returns the value of attribute max_xlsx_sheet_count.
-
#max_xlsx_workbook_cells ⇒ Integer?
Returns the value of attribute max_xlsx_workbook_cells.
-
#min_chars_per_page ⇒ Integer?
Returns the value of attribute min_chars_per_page.
-
#page_count_threshold ⇒ Integer?
Returns the value of attribute page_count_threshold.
-
#target_pages_per_chunk ⇒ Integer?
Returns the value of attribute target_pages_per_chunk.
-
#text_layer_threshold ⇒ Float?
Returns the value of attribute text_layer_threshold.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ HeuristicsConfig
constructor
A new instance of HeuristicsConfig.
- #validate ⇒ void
Constructor Details
#initialize ⇒ HeuristicsConfig
Returns a new instance of HeuristicsConfig.
1871 |
# File 'sig/types.rbs', line 1871
def initialize: (?enable_pdf_text_heuristics: bool, ?text_layer_threshold: Float, ?file_size_threshold_bytes: Integer, ?page_count_threshold: Integer, ?target_pages_per_chunk: Integer, ?max_pages_per_chunk: Integer, ?disk_processing_threshold_bytes: Integer, ?min_chars_per_page: Integer, ?max_xlsx_sheet_count: Integer, ?max_xlsx_workbook_cells: Integer, ?max_pptx_embedded_count: Integer) -> void
|
Instance Attribute Details
#disk_processing_threshold_bytes ⇒ Integer?
Returns the value of attribute disk_processing_threshold_bytes.
1865 1866 1867 |
# File 'sig/types.rbs', line 1865 def disk_processing_threshold_bytes @disk_processing_threshold_bytes end |
#enable_pdf_text_heuristics ⇒ Boolean?
Returns the value of attribute enable_pdf_text_heuristics.
1859 1860 1861 |
# File 'sig/types.rbs', line 1859 def enable_pdf_text_heuristics @enable_pdf_text_heuristics end |
#file_size_threshold_bytes ⇒ Integer?
Returns the value of attribute file_size_threshold_bytes.
1861 1862 1863 |
# File 'sig/types.rbs', line 1861 def file_size_threshold_bytes @file_size_threshold_bytes end |
#max_pages_per_chunk ⇒ Integer?
Returns the value of attribute max_pages_per_chunk.
1864 1865 1866 |
# File 'sig/types.rbs', line 1864 def max_pages_per_chunk @max_pages_per_chunk end |
#max_pptx_embedded_count ⇒ Integer?
Returns the value of attribute max_pptx_embedded_count.
1869 1870 1871 |
# File 'sig/types.rbs', line 1869 def @max_pptx_embedded_count end |
#max_xlsx_sheet_count ⇒ Integer?
Returns the value of attribute max_xlsx_sheet_count.
1867 1868 1869 |
# File 'sig/types.rbs', line 1867 def max_xlsx_sheet_count @max_xlsx_sheet_count end |
#max_xlsx_workbook_cells ⇒ Integer?
Returns the value of attribute max_xlsx_workbook_cells.
1868 1869 1870 |
# File 'sig/types.rbs', line 1868 def max_xlsx_workbook_cells @max_xlsx_workbook_cells end |
#min_chars_per_page ⇒ Integer?
Returns the value of attribute min_chars_per_page.
1866 1867 1868 |
# File 'sig/types.rbs', line 1866 def min_chars_per_page @min_chars_per_page end |
#page_count_threshold ⇒ Integer?
Returns the value of attribute page_count_threshold.
1862 1863 1864 |
# File 'sig/types.rbs', line 1862 def page_count_threshold @page_count_threshold end |
#target_pages_per_chunk ⇒ Integer?
Returns the value of attribute target_pages_per_chunk.
1863 1864 1865 |
# File 'sig/types.rbs', line 1863 def target_pages_per_chunk @target_pages_per_chunk end |
#text_layer_threshold ⇒ Float?
Returns the value of attribute text_layer_threshold.
1860 1861 1862 |
# File 'sig/types.rbs', line 1860 def text_layer_threshold @text_layer_threshold end |
Class Method Details
.default ⇒ HeuristicsConfig
1873 |
# File 'sig/types.rbs', line 1873
def self.default: () -> HeuristicsConfig
|
Instance Method Details
#validate ⇒ void
This method returns an undefined value.
1872 |
# File 'sig/types.rbs', line 1872
def validate: () -> void
|