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)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected