Module: ContextDev::Models::WebWebScrapeHTMLParams::Pdf::Ocr
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/context_dev/models/web_web_scrape_html_params.rb,
sig/context_dev/models/web_web_scrape_html_params.rbs
Overview
When true, detect and OCR images embedded in the selected PDF pages, inserting recognized text at each image's position in page reading order while preserving the PDF text layer. This is separate from automatic scanned-PDF OCR fallback.
collapse
- TRUE =
:true- FALSE =
:false
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(Boolean, Symbol)
518 519 520 |
# File 'lib/context_dev/models/web_web_scrape_html_params.rb', line 518 define_sorbet_constant!(:Variants) do T.type_alias { T.any(T::Boolean, ContextDev::WebWebScrapeHTMLParams::Pdf::Ocr::TaggedSymbol) } end |
Instance Method Details
#self?.variants ⇒ ::Array[ContextDev::Models::WebWebScrapeHTMLParams::Pdf::ocr]
635 |
# File 'sig/context_dev/models/web_web_scrape_html_params.rbs', line 635
def self?.variants: -> ::Array[ContextDev::Models::WebWebScrapeHTMLParams::Pdf::ocr]
|