Module: ContextDev::Models::WebWebScrapeMdParams::Pdf::Ocr
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/context_dev/models/web_web_scrape_md_params.rb,
sig/context_dev/models/web_web_scrape_md_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)
593 594 595 |
# File 'lib/context_dev/models/web_web_scrape_md_params.rb', line 593 define_sorbet_constant!(:Variants) do T.type_alias { T.any(T::Boolean, ContextDev::WebWebScrapeMdParams::Pdf::Ocr::TaggedSymbol) } end |
Instance Method Details
#self?.variants ⇒ ::Array[ContextDev::Models::WebWebScrapeMdParams::Pdf::ocr]
684 |
# File 'sig/context_dev/models/web_web_scrape_md_params.rbs', line 684
def self?.variants: -> ::Array[ContextDev::Models::WebWebScrapeMdParams::Pdf::ocr]
|