Markit_v2 / src /parsers /__init__.py
AnseMin's picture
New feature: Mistral OCR
98482ce
raw
history blame contribute delete
673 Bytes
"""Parser implementations for document conversion."""
# Import all parsers to ensure they're registered
from src.parsers.gemini_flash_parser import GeminiFlashParser
from src.parsers.got_ocr_parser import GotOcrParser
from src.parsers.mistral_ocr_parser import MistralOcrParser
# Import MarkItDown parser if available - needs to be imported last so it's default
try:
from src.parsers.markitdown_parser import MarkItDownParser
print("MarkItDown parser imported successfully")
except ImportError as e:
print(f"Error importing MarkItDown parser: {str(e)}")
# You can add new parsers here in the future
# This file makes the parsers directory a Python package