17 lines
425 B
Python
17 lines
425 B
Python
# 新的统一文档处理器接口
|
|
from yuxi.plugins.parser.base import (
|
|
BaseDocumentProcessor,
|
|
DocumentParserException,
|
|
DocumentProcessorException,
|
|
OCRException,
|
|
)
|
|
from yuxi.plugins.parser.factory import DocumentProcessorFactory
|
|
|
|
__all__ = [
|
|
"BaseDocumentProcessor",
|
|
"DocumentProcessorException",
|
|
"DocumentParserException",
|
|
"OCRException",
|
|
"DocumentProcessorFactory", # 推荐使用
|
|
]
|