docling / base_analyzer.py
thlinhares's picture
Create base_analyzer.py
abdc816 verified
raw
history blame
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