MCPcopy Create free account
hub / github.com/DataArcTech/DataArc-SynData-Toolkit / parse_document

Method parse_document

sdgsystem/documents/parse.py:28–39  ·  view source on GitHub ↗

Parse a document and extract structured content. Args: document_path: Path to the document file inside config.document_dir **kwargs: Additional parser-specific arguments Returns: List of dicts containing parsed content (format varies by

(self, document_path: str, **kwargs)

Source from the content-addressed store, hash-verified

26
27 @abstractmethod
28 def parse_document(self, document_path: str, **kwargs) -> List[Dict[str, Any]]:
29 """
30 Parse a document and extract structured content.
31
32 Args:
33 document_path: Path to the document file inside config.document_dir
34 **kwargs: Additional parser-specific arguments
35
36 Returns:
37 List of dicts containing parsed content (format varies by parser)
38 """
39 return []
40
41
42# class of MinerU Parser

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected