This commit is contained in:
26
packages/elixir/lib/kreuzberg/recognized_table.ex
generated
Normal file
26
packages/elixir/lib/kreuzberg/recognized_table.ex
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
# This file is auto-generated by alef — DO NOT EDIT.
|
||||
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||||
# To regenerate: alef generate
|
||||
# To verify freshness: alef verify --exit-code
|
||||
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
||||
defmodule Kreuzberg.RecognizedTable do
|
||||
@moduledoc """
|
||||
Pre-computed table markdown for a table detection region.
|
||||
|
||||
Produced by the TATR-based table structure recognizer and surfaced as part of
|
||||
layout-aware OCR results. The struct lives here (under `layout-types`, pure-Rust)
|
||||
so that consumers who do not enable `layout-detection` (ORT) can still reference
|
||||
the type in their own code.
|
||||
"""
|
||||
|
||||
@typedoc "Pre-computed table markdown for a table detection region."
|
||||
@type t :: %__MODULE__{
|
||||
detection_bbox: map(),
|
||||
cells: [[String.t()]],
|
||||
markdown: String.t() | nil
|
||||
}
|
||||
|
||||
defstruct detection_bbox: nil,
|
||||
cells: [],
|
||||
markdown: nil
|
||||
end
|
||||
Reference in New Issue
Block a user