27 lines
835 B
Elixir
27 lines
835 B
Elixir
|
|
# 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.HierarchicalBlock do
|
||
|
|
@moduledoc """
|
||
|
|
A text block with hierarchy level assignment.
|
||
|
|
|
||
|
|
Represents a block of text with semantic heading information extracted from
|
||
|
|
font size clustering and hierarchical analysis.
|
||
|
|
"""
|
||
|
|
|
||
|
|
@typedoc "A text block with hierarchy level assignment."
|
||
|
|
@type t :: %__MODULE__{
|
||
|
|
text: String.t() | nil,
|
||
|
|
font_size: float(),
|
||
|
|
level: String.t() | nil,
|
||
|
|
bbox: [float()] | nil
|
||
|
|
}
|
||
|
|
|
||
|
|
defstruct text: nil,
|
||
|
|
font_size: 0.0,
|
||
|
|
level: nil,
|
||
|
|
bbox: nil
|
||
|
|
end
|