text
stringlengths
0
278
The percentage of a provider line that has
to be covered by a math line. Default is
0.3. (Applies to: LineBuilder)
--line_text_overlap_threshold FLOAT
The minimum overlap of an equation with a
text line to consider as a match Default is
0.5. (Applies to: LineBuilder)
--inline_math_line_vertical_merge_threshold INTEGER
The maximum pixel distance between y1s for
two lines to be merged Default is 8.
(Applies to: LineBuilder)
--use_llm Whether to use the LLM model for advanced
processing. Default is False. (Applies to:
LineBuilder, LineMergeProcessor,
LLMComplexRegionProcessor,
LLMEquationProcessor, LLMFormProcessor,
LLMHandwritingProcessor,
LLMImageDescriptionProcessor,
LLMInlineMathLinesProcessor,
LLMMathBlockProcessor,
LLMSimpleBlockMetaProcessor,
LLMTableProcessor, LLMTableMergeProcessor,
PdfConverter, TableConverter)
--texify_inline_spans Whether to run texify on inline math spans.
Default is False. (Applies to: LineBuilder,
EquationProcessor)
--recognition_batch_size OPTIONAL
The batch size to use for the recognition
model. Default is None, which will use the
default batch size for the model. (Applies
to: OcrBuilder, TableProcessor)
--google_api_key TEXT The Google API key to use for the Gemini
model. Default is . (Applies to:
LLMLayoutBuilder, LLMComplexRegionProcessor,
LLMEquationProcessor, LLMFormProcessor,
LLMHandwritingProcessor,
LLMImageDescriptionProcessor,
LLMInlineMathLinesProcessor,
LLMMathBlockProcessor,
LLMSimpleBlockMetaProcessor,
LLMTableProcessor, LLMTableMergeProcessor)
--confidence_threshold FLOAT The confidence threshold to use for
relabeling (anything below is relabeled).
Default is 0.7. (Applies to:
LLMLayoutBuilder)
--picture_height_threshold FLOAT
The height threshold for pictures that may
actually be complex regions. (anything above
this ratio against the page is relabeled)
Default is 0.8. (Applies to:
LLMLayoutBuilder)
--model_name TEXT The name of the Gemini model to use. Default
is gemini-2.0-flash. (Applies to:
LLMLayoutBuilder, LLMComplexRegionProcessor,
LLMEquationProcessor, LLMFormProcessor,
LLMHandwritingProcessor,
LLMImageDescriptionProcessor,
LLMInlineMathLinesProcessor,
LLMMathBlockProcessor,
LLMSimpleBlockMetaProcessor,
LLMTableProcessor, LLMTableMergeProcessor)
--max_concurrency INTEGER The maximum number of concurrent requests to
make to the Gemini model. Default is 3.
(Applies to: LLMLayoutBuilder,
LLMComplexRegionProcessor,
LLMEquationProcessor, LLMFormProcessor,
LLMHandwritingProcessor,
LLMImageDescriptionProcessor,
LLMInlineMathLinesProcessor,
LLMMathBlockProcessor,
LLMSimpleBlockMetaProcessor,
LLMTableProcessor, LLMTableMergeProcessor)
--topk_relabelling_prompt TEXT The prompt to use for relabelling blocks.
Default is a string containing the Gemini
relabelling prompt. (Applies to:
LLMLayoutBuilder)
--complex_relabeling_prompt TEXT
The prompt to use for complex relabelling
blocks. Default is a string containing the
complex relabelling prompt. (Applies to:
LLMLayoutBuilder)
--gap_threshold FLOAT The minimum gap between blocks to consider
them part of the same group. Default is
0.05. (Applies to: StructureBuilder)
--list_gap_threshold FLOAT The minimum gap between list items to
consider them part of the same group.
Default is 0.1. (Applies to:
StructureBuilder)
--min_x_indent FLOAT The minimum horizontal indentation required
to consider a block as part of a blockquote.
Expressed as a percentage of the block
width. Default is 0.1. (Applies to:
BlockquoteProcessor, ListProcessor)
--x_start_tolerance FLOAT The maximum allowable difference between the
starting x-coordinates of consecutive blocks
to consider them aligned. Expressed as a
percentage of the block width. Default is
0.01. (Applies to: BlockquoteProcessor)
--x_end_tolerance FLOAT The maximum allowable difference between the
ending x-coordinates of consecutive blocks