docling / analyzers /base_analyzer.py
thlinhares's picture
Rename base_analyzer.py to analyzers/base_analyzer.py
737ae87 verified
raw
history blame contribute delete
243 Bytes
from abc import ABC, abstractmethod
from typing import Dict, List, Tuple
class BaseAnalyzer(ABC):
@abstractmethod
def analyze(self, text: str):
pass
@abstractmethod
def format_output(self, result) -> str:
pass