Current section

Files

Jump to
xberg lib xberg extraction_method.ex
Raw

lib/xberg/extraction_method.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:b2c29ab80fb9cdb8c5190a7808ad862ad890f416ad887092447b282a5b1b69e0
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.ExtractionMethod do
@moduledoc "How the extracted text was produced."
@typedoc "How the extracted text was produced."
@type t :: :native | :ocr | :mixed
@native :native
@ocr :ocr
@mixed :mixed
@doc "Text extracted directly from the document's native format (no OCR)."
@spec native() :: t()
def native, do: @native
@doc "All text was obtained via OCR (e.g. scanned image-only PDF)."
@spec ocr() :: t()
def ocr, do: @ocr
@doc "Text came from a combination of native extraction and OCR."
@spec mixed() :: t()
def mixed, do: @mixed
end