ó
    À‘´j¬  ã                   ó”   • S r SSKJrJr  SSKJr  SSKJr  SSKJ	r	J
r
JrJrJr  \(       a  SSKJrJrJrJrJr  SrS\S\4S	 jr/ S
Qrg)u:  
Document-level parsers.

`Parser` is the engine-agnostic ABC for converting a source file into a
`ParseResult`, which carries the `DoclingDocument` â€” the canonical in-memory
document model (see core/README.md) â€” on `.document`.
`DoclingParser` is the abstract docling layer; the docling configuration is a
type, not a flag: `TunedFinancialParser` (canonical default) and
`LegacyDoclingParser` (docling's default backend and PdfPipelineOptions, with
OCR off where docling defaults it on). Use `parser_for_preset` to pick one.

Table-only engines live behind a separate `TableExtractor` Protocol in
`core.extractors`; the active one is `SetOfMarkExtractor`. The two paths do not
compose at this layer. `quber.core.fusion` matches the extracted tables to the
parse's tables and grafts them into a unified `DoclingDocument`.
é    )ÚTYPE_CHECKINGÚAny)ÚParser)Ú
MockParser)Ú	PageParseÚ	PageScoreÚ
ParsedCellÚParseResultÚTableProvenance)ÚPARSERS_BY_PRESETÚDoclingParserÚLegacyDoclingParserÚTunedFinancialParserÚparser_for_presetÚnameÚreturnc                 óf   • U [         ;   a  SSKJn  [        X5      $ [	        S[
        < SU < 35      e)Nr   )Údocling_parserzmodule z has no attribute )ÚENGINE_EXPORTSÚquber.core.parsersr   ÚgetattrÚAttributeErrorÚ__name__)r   r   s     Ú9/home/mande/repo/quber/src/quber/core/parsers/__init__.pyÚ__getattr__r   4   s1   € ØŒ~ÓÝ5ä�~Ó,Ð,Ü
˜7¤8¡,Ð.@ÀÁÐIÓ
JÐJó    )r   r   r   r   r   r   r
   r	   r   r   r   r   N)Ú__doc__Útypingr   r   Úquber.core.parsers.baser   Úquber.core.parsers.mockr   Úquber.core.parsers.resultr   r   r	   r
   r   Ú!quber.core.parsers.docling_parserr   r   r   r   r   r   Ústrr   Ú__all__© r   r   Ú<module>r&      sR   ðñ÷" &å *Ý .÷õ ö ÷õ ð€ðK�cð K˜cô Kò�r   