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.
-
#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.
-
#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.
144 |
# File 'sig/types.rbs', line 144
def initialize: (?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?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, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void
|
Instance Attribute Details
#captioning ⇒ CaptioningConfig?
Returns the value of attribute captioning.
141 142 143 |
# File 'sig/types.rbs', line 141 def captioning @captioning end |
#chunking ⇒ ChunkingConfig?
Returns the value of attribute chunking.
117 118 119 |
# File 'sig/types.rbs', line 117 def chunking @chunking end |
#content_filter ⇒ ContentFilterConfig?
Returns the value of attribute content_filter.
118 119 120 |
# File 'sig/types.rbs', line 118 def content_filter @content_filter end |
#disable_ocr ⇒ Boolean?
Returns the value of attribute disable_ocr.
116 117 118 |
# File 'sig/types.rbs', line 116 def disable_ocr @disable_ocr end |
#enable_quality_processing ⇒ Boolean?
Returns the value of attribute enable_quality_processing.
112 113 114 |
# File 'sig/types.rbs', line 112 def enable_quality_processing @enable_quality_processing end |
#force_ocr ⇒ Boolean?
Returns the value of attribute force_ocr.
114 115 116 |
# File 'sig/types.rbs', line 114 def force_ocr @force_ocr end |
#force_ocr_pages ⇒ Array[Integer]?
Returns the value of attribute force_ocr_pages.
115 116 117 |
# File 'sig/types.rbs', line 115 def force_ocr_pages @force_ocr_pages end |
#html_output ⇒ HtmlOutputConfig?
Returns the value of attribute html_output.
126 127 128 |
# File 'sig/types.rbs', line 126 def html_output @html_output end |
#images ⇒ ImageExtractionConfig?
Returns the value of attribute images.
119 120 121 |
# File 'sig/types.rbs', line 119 def images @images end |
#include_document_structure ⇒ Boolean?
Returns the value of attribute include_document_structure.
129 130 131 |
# File 'sig/types.rbs', line 129 def include_document_structure @include_document_structure end |
#keywords ⇒ KeywordConfig?
Returns the value of attribute keywords.
124 125 126 |
# File 'sig/types.rbs', line 124 def keywords @keywords end |
#language_detection ⇒ LanguageDetectionConfig?
Returns the value of attribute language_detection.
122 123 124 |
# File 'sig/types.rbs', line 122 def language_detection @language_detection end |
#layout ⇒ LayoutDetectionConfig?
Returns the value of attribute layout.
130 131 132 |
# File 'sig/types.rbs', line 130 def layout @layout end |
#ner ⇒ NerConfig?
Returns the value of attribute ner.
136 137 138 |
# File 'sig/types.rbs', line 136 def ner @ner end |
#ocr ⇒ OcrConfig?
Returns the value of attribute ocr.
113 114 115 |
# File 'sig/types.rbs', line 113 def ocr @ocr end |
#output_format ⇒ OutputFormat?
Returns the value of attribute output_format.
128 129 130 |
# File 'sig/types.rbs', line 128 def output_format @output_format end |
#page_classification ⇒ PageClassificationConfig?
Returns the value of attribute page_classification.
140 141 142 |
# File 'sig/types.rbs', line 140 def page_classification @page_classification end |
#pages ⇒ PageConfig?
Returns the value of attribute pages.
123 124 125 |
# File 'sig/types.rbs', line 123 def pages @pages end |
#pdf_options ⇒ PdfConfig?
Returns the value of attribute pdf_options.
120 121 122 |
# File 'sig/types.rbs', line 120 def @pdf_options end |
#postprocessor ⇒ PostProcessorConfig?
Returns the value of attribute postprocessor.
125 126 127 |
# File 'sig/types.rbs', line 125 def postprocessor @postprocessor end |
#qr_codes ⇒ Boolean?
Returns the value of attribute qr_codes.
142 143 144 |
# File 'sig/types.rbs', line 142 def qr_codes @qr_codes end |
#redaction ⇒ RedactionConfig?
Returns the value of attribute redaction.
137 138 139 |
# File 'sig/types.rbs', line 137 def redaction @redaction end |
#result_format ⇒ ResultFormat?
Returns the value of attribute result_format.
127 128 129 |
# File 'sig/types.rbs', line 127 def result_format @result_format end |
#structured_extraction ⇒ StructuredExtractionConfig?
Returns the value of attribute structured_extraction.
134 135 136 |
# File 'sig/types.rbs', line 134 def structured_extraction @structured_extraction end |
#summarization ⇒ SummarizationConfig?
Returns the value of attribute summarization.
138 139 140 |
# File 'sig/types.rbs', line 138 def summarization @summarization end |
#timeout_secs ⇒ Integer?
Returns the value of attribute timeout_secs.
132 133 134 |
# File 'sig/types.rbs', line 132 def timeout_secs @timeout_secs end |
#token_reduction ⇒ TokenReductionOptions?
Returns the value of attribute token_reduction.
121 122 123 |
# File 'sig/types.rbs', line 121 def token_reduction @token_reduction end |
#transcription ⇒ TranscriptionConfig?
Returns the value of attribute transcription.
131 132 133 |
# File 'sig/types.rbs', line 131 def transcription @transcription end |
#translation ⇒ TranslationConfig?
Returns the value of attribute translation.
139 140 141 |
# File 'sig/types.rbs', line 139 def translation @translation end |
#tree_sitter ⇒ TreeSitterConfig?
Returns the value of attribute tree_sitter.
133 134 135 |
# File 'sig/types.rbs', line 133 def tree_sitter @tree_sitter end |
#url ⇒ UrlExtractionConfig?
Returns the value of attribute url.
135 136 137 |
# File 'sig/types.rbs', line 135 def url @url end |