mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 15:02:21 +00:00
refactor: group XML backend parsers in a subfolder
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
This commit is contained in:
parent
8ee1ba455c
commit
89c84ff749
@ -43,7 +43,7 @@ class InputFormat(str, Enum):
|
||||
ASCIIDOC = "asciidoc", False
|
||||
MD = "md", False
|
||||
XLSX = "xlsx", False
|
||||
XML_USPTO = "uspto", True
|
||||
XML_USPTO = "xml_uspto", True
|
||||
|
||||
@override
|
||||
def __new__(cls, value: str, _) -> Self:
|
||||
|
@ -15,7 +15,7 @@ from docling.backend.md_backend import MarkdownDocumentBackend
|
||||
from docling.backend.msexcel_backend import MsExcelDocumentBackend
|
||||
from docling.backend.mspowerpoint_backend import MsPowerpointDocumentBackend
|
||||
from docling.backend.msword_backend import MsWordDocumentBackend
|
||||
from docling.backend.xml_uspto_backend import PatentUsptoDocumentBackend
|
||||
from docling.backend.xml.uspto_backend import PatentUsptoDocumentBackend
|
||||
from docling.datamodel.base_models import (
|
||||
ConversionStatus,
|
||||
DoclingComponentType,
|
||||
|
@ -12,7 +12,7 @@ import yaml
|
||||
from docling_core.types import DoclingDocument
|
||||
from docling_core.types.doc import DocItemLabel, TableData, TextItem
|
||||
|
||||
from docling.backend.xml_uspto_backend import PatentUsptoDocumentBackend, XmlTable
|
||||
from docling.backend.xml.uspto_backend import PatentUsptoDocumentBackend, XmlTable
|
||||
from docling.datamodel.base_models import InputFormat
|
||||
from docling.datamodel.document import (
|
||||
ConversionResult,
|
||||
|
Loading…
Reference in New Issue
Block a user