Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# 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.OcrElementLevel do
@moduledoc """
Hierarchical level of an OCR element.
Maps to Tesseract's page segmentation hierarchy and provides
equivalent semantics for PaddleOCR.
"""
@typedoc "Hierarchical level of an OCR element."
@type t :: :word | :line | :block | :page
@word :word
@line :line
@block :block
@page :page
@doc "Individual word"
@spec word() :: t()
def word, do: @word
@doc "Line of text (default for PaddleOCR)"
@spec line() :: t()
def line, do: @line
@doc "Paragraph or text block"
@spec block() :: t()
def block, do: @block
@doc "Page-level element"
@spec page() :: t()
def page, do: @page
end