Class: Xberg::FileExtractionConfig
- Inherits:
-
Object
- Object
- Xberg::FileExtractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#captioning ⇒ CaptioningConfig?
Returns the value of attribute captioning.
-
#chunk_classification ⇒ ChunkClassificationConfig?
Returns the value of attribute chunk_classification.
-
#chunking ⇒ ChunkingConfig?
Returns the value of attribute chunking.
-
#content_filter ⇒ ContentFilterConfig?
Returns the value of attribute content_filter.
-
#disable_ocr ⇒ Boolean?
Returns the value of attribute disable_ocr.
-
#enable_quality_processing ⇒ Boolean?
Returns the value of attribute enable_quality_processing.
-
#force_ocr ⇒ Boolean?
Returns the value of attribute force_ocr.
-
#force_ocr_pages ⇒ Array[Integer]?
Returns the value of attribute force_ocr_pages.
-
#html_output ⇒ HtmlOutputConfig?
Returns the value of attribute html_output.
-
#images ⇒ ImageExtractionConfig?
Returns the value of attribute images.
-
#include_document_structure ⇒ Boolean?
Returns the value of attribute include_document_structure.
-
#keywords ⇒ KeywordConfig?
Returns the value of attribute keywords.
-
#language_detection ⇒ LanguageDetectionConfig?
Returns the value of attribute language_detection.
-
#layout ⇒ LayoutDetectionConfig?
Returns the value of attribute layout.
-
#ner ⇒ NerConfig?
Returns the value of attribute ner.
-
#ocr ⇒ OcrConfig?
Returns the value of attribute ocr.
-
#ocr_strategy ⇒ OcrStrategy?
Returns the value of attribute ocr_strategy.
-
#output_format ⇒ OutputFormat?
Returns the value of attribute output_format.
-
#page_classification ⇒ PageClassificationConfig?
Returns the value of attribute page_classification.
-
#pages ⇒ PageConfig?
Returns the value of attribute pages.
-
#pdf_options ⇒ PdfConfig?
Returns the value of attribute pdf_options.
-
#postprocessor ⇒ PostProcessorConfig?
Returns the value of attribute postprocessor.
-
#qr_codes ⇒ Boolean?
Returns the value of attribute qr_codes.
-
#redaction ⇒ RedactionConfig?
Returns the value of attribute redaction.
-
#result_format ⇒ ResultFormat?
Returns the value of attribute result_format.
-
#structured_extraction ⇒ StructuredExtractionConfig?
Returns the value of attribute structured_extraction.
-
#summarization ⇒ SummarizationConfig?
Returns the value of attribute summarization.
-
#timeout_secs ⇒ Integer?
Returns the value of attribute timeout_secs.
-
#token_reduction ⇒ TokenReductionOptions?
Returns the value of attribute token_reduction.
-
#transcription ⇒ TranscriptionConfig?
Returns the value of attribute transcription.
-
#translation ⇒ TranslationConfig?
Returns the value of attribute translation.
-
#tree_sitter ⇒ TreeSitterConfig?
Returns the value of attribute tree_sitter.
-
#url ⇒ UrlExtractionConfig?
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ FileExtractionConfig
constructor
A new instance of FileExtractionConfig.
Constructor Details
#initialize ⇒ FileExtractionConfig
Returns a new instance of FileExtractionConfig.
169 |
# File 'sig/types.rbs', line 169
def initialize: (?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?ocr_strategy: OcrStrategy, ?force_ocr_pages: Array[Integer], ?disable_ocr: bool, ?chunking: ChunkingConfig, ?content_filter: ContentFilterConfig, ?images: ImageExtractionConfig, ?pdf_options: PdfConfig, ?token_reduction: TokenReductionOptions, ?language_detection: LanguageDetectionConfig, ?pages: PageConfig, ?keywords: KeywordConfig, ?postprocessor: PostProcessorConfig, ?html_output: HtmlOutputConfig, ?result_format: ResultFormat, ?output_format: OutputFormat, ?include_document_structure: bool, ?layout: LayoutDetectionConfig, ?transcription: TranscriptionConfig, ?timeout_secs: Integer, ?tree_sitter: TreeSitterConfig, ?structured_extraction: StructuredExtractionConfig, ?url: UrlExtractionConfig, ?ner: NerConfig, ?redaction: RedactionConfig, ?summarization: SummarizationConfig, ?translation: TranslationConfig, ?page_classification: PageClassificationConfig, ?chunk_classification: ChunkClassificationConfig, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void
|
Instance Attribute Details
#captioning ⇒ CaptioningConfig?
Returns the value of attribute captioning.
166 167 168 |
# File 'sig/types.rbs', line 166 def captioning @captioning end |
#chunk_classification ⇒ ChunkClassificationConfig?
Returns the value of attribute chunk_classification.
165 166 167 |
# File 'sig/types.rbs', line 165 def chunk_classification @chunk_classification end |
#chunking ⇒ ChunkingConfig?
Returns the value of attribute chunking.
141 142 143 |
# File 'sig/types.rbs', line 141 def chunking @chunking end |
#content_filter ⇒ ContentFilterConfig?
Returns the value of attribute content_filter.
142 143 144 |
# File 'sig/types.rbs', line 142 def content_filter @content_filter end |
#disable_ocr ⇒ Boolean?
Returns the value of attribute disable_ocr.
140 141 142 |
# File 'sig/types.rbs', line 140 def disable_ocr @disable_ocr end |
#enable_quality_processing ⇒ Boolean?
Returns the value of attribute enable_quality_processing.
135 136 137 |
# File 'sig/types.rbs', line 135 def enable_quality_processing @enable_quality_processing end |
#force_ocr ⇒ Boolean?
Returns the value of attribute force_ocr.
137 138 139 |
# File 'sig/types.rbs', line 137 def force_ocr @force_ocr end |
#force_ocr_pages ⇒ Array[Integer]?
Returns the value of attribute force_ocr_pages.
139 140 141 |
# File 'sig/types.rbs', line 139 def force_ocr_pages @force_ocr_pages end |
#html_output ⇒ HtmlOutputConfig?
Returns the value of attribute html_output.
150 151 152 |
# File 'sig/types.rbs', line 150 def html_output @html_output end |
#images ⇒ ImageExtractionConfig?
Returns the value of attribute images.
143 144 145 |
# File 'sig/types.rbs', line 143 def images @images end |
#include_document_structure ⇒ Boolean?
Returns the value of attribute include_document_structure.
153 154 155 |
# File 'sig/types.rbs', line 153 def include_document_structure @include_document_structure end |
#keywords ⇒ KeywordConfig?
Returns the value of attribute keywords.
148 149 150 |
# File 'sig/types.rbs', line 148 def keywords @keywords end |
#language_detection ⇒ LanguageDetectionConfig?
Returns the value of attribute language_detection.
146 147 148 |
# File 'sig/types.rbs', line 146 def language_detection @language_detection end |
#layout ⇒ LayoutDetectionConfig?
Returns the value of attribute layout.
154 155 156 |
# File 'sig/types.rbs', line 154 def layout @layout end |
#ner ⇒ NerConfig?
Returns the value of attribute ner.
160 161 162 |
# File 'sig/types.rbs', line 160 def ner @ner end |
#ocr ⇒ OcrConfig?
Returns the value of attribute ocr.
136 137 138 |
# File 'sig/types.rbs', line 136 def ocr @ocr end |
#ocr_strategy ⇒ OcrStrategy?
Returns the value of attribute ocr_strategy.
138 139 140 |
# File 'sig/types.rbs', line 138 def ocr_strategy @ocr_strategy end |
#output_format ⇒ OutputFormat?
Returns the value of attribute output_format.
152 153 154 |
# File 'sig/types.rbs', line 152 def output_format @output_format end |
#page_classification ⇒ PageClassificationConfig?
Returns the value of attribute page_classification.
164 165 166 |
# File 'sig/types.rbs', line 164 def page_classification @page_classification end |
#pages ⇒ PageConfig?
Returns the value of attribute pages.
147 148 149 |
# File 'sig/types.rbs', line 147 def pages @pages end |
#pdf_options ⇒ PdfConfig?
Returns the value of attribute pdf_options.
144 145 146 |
# File 'sig/types.rbs', line 144 def @pdf_options end |
#postprocessor ⇒ PostProcessorConfig?
Returns the value of attribute postprocessor.
149 150 151 |
# File 'sig/types.rbs', line 149 def postprocessor @postprocessor end |
#qr_codes ⇒ Boolean?
Returns the value of attribute qr_codes.
167 168 169 |
# File 'sig/types.rbs', line 167 def qr_codes @qr_codes end |
#redaction ⇒ RedactionConfig?
Returns the value of attribute redaction.
161 162 163 |
# File 'sig/types.rbs', line 161 def redaction @redaction end |
#result_format ⇒ ResultFormat?
Returns the value of attribute result_format.
151 152 153 |
# File 'sig/types.rbs', line 151 def result_format @result_format end |
#structured_extraction ⇒ StructuredExtractionConfig?
Returns the value of attribute structured_extraction.
158 159 160 |
# File 'sig/types.rbs', line 158 def structured_extraction @structured_extraction end |
#summarization ⇒ SummarizationConfig?
Returns the value of attribute summarization.
162 163 164 |
# File 'sig/types.rbs', line 162 def summarization @summarization end |
#timeout_secs ⇒ Integer?
Returns the value of attribute timeout_secs.
156 157 158 |
# File 'sig/types.rbs', line 156 def timeout_secs @timeout_secs end |
#token_reduction ⇒ TokenReductionOptions?
Returns the value of attribute token_reduction.
145 146 147 |
# File 'sig/types.rbs', line 145 def token_reduction @token_reduction end |
#transcription ⇒ TranscriptionConfig?
Returns the value of attribute transcription.
155 156 157 |
# File 'sig/types.rbs', line 155 def transcription @transcription end |
#translation ⇒ TranslationConfig?
Returns the value of attribute translation.
163 164 165 |
# File 'sig/types.rbs', line 163 def translation @translation end |
#tree_sitter ⇒ TreeSitterConfig?
Returns the value of attribute tree_sitter.
157 158 159 |
# File 'sig/types.rbs', line 157 def tree_sitter @tree_sitter end |
#url ⇒ UrlExtractionConfig?
Returns the value of attribute url.
159 160 161 |
# File 'sig/types.rbs', line 159 def url @url end |